/* css styles */

/* fonts */

:root {
    --fs-400: 0.99rem;
}

.body{
    font-size: var(--fs-400);
    font-weight: 400;
    .page-columns{
    grid-template-columns: minmax(500px, calc( 1050px - 3em )) !important;
    background-color: #fbfbfb;
  }
}



/* headings */

h1 {
  font-size: calc(1.5rem + 0.30vw);
  padding-top: 0; 
}

h2 {
  padding-top: 0;  
  border-bottom: none; 
}

h3 {
  font-size: calc(0.75rem + 0.30vw);
  padding-top: 0;   
  text-transform: uppercase;
}



/* overwrite quarto title banner */

main {
  margin-top: 0 !important;
}

#quarto-content {
  padding-top: 0 !important;
}

#title-block-header {
  margin-top: -30px;
}



/* banner */

.hero-banner {
  width: calc(100vw);
  margin-left: calc(-50vw + 50%);
  height: 550px;
  color: #fefefe;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 1rem;
  position: relative;
  vertical-align: middle;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), url("_assets/banners/home-banner.jpg");
}



/* containers */

.content-center {
  text-align: center;
  padding: 0 4rem;
  margin-top: 4rem;
}

.content-left{
  text-align: left;
  padding: 0 4rem;
  margin-top: 4rem;
}

.content-right{
  text-align: right;
  padding: 0 4rem;
  margin-top: 4rem;
}

.container-image-text{
  display: flex;
  position: relative;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.container-icon-text{
  display: flex;
  position: relative;
  margin-top: 2rem;
}

.text-column {
  float: bottom; 
  margin: 0 2rem 0 0;
}

.container-poster {
  position: relative;
  padding: 1rem 2rem;
  background-color: #d4f5ef;
  min-width: 40vh;
  border-radius: 20px;
  margin: 4rem 0;
}

.photo-reference{
  margin-top: 4rem;
  text-align: right;
  font-size: 0.8rem;
  font-weight: 100;
  color: darkgrey;
}

.icon {
  margin: 1rem 2rem 1rem 0;
  float: left;
  height: 100px;
}

.form-container {
  width: 100%;
  margin: 0 2rem;
}



/* buttons */

.button-1 {
    border-radius: 5px;
    background-color: #42bba2;
    border: 0.5px solid #42bba2;
    padding: 0.25rem 1.5rem 0.25rem 1.5rem;
    overflow: hidden;
    margin: 0.5rem 0.5rem 0.5rem 0.5rem;
    
}

.button-1:hover{
  background-color: #d4f5ef;
  color: black;
  
}

.button-2 {
    border-radius: 5px;
    background-color: white;
    border: 0.5px solid #42bba2;
    padding: 0.25rem 1.5rem 0.25rem 1.5rem;
    overflow: hidden;
    margin: 0.5rem 0.5rem 0.5rem 0.5rem;
   
}

.button-2:hover{
  color: black;
  background-color: #d4f5ef;
  
}

.button-3 {
    border-radius: 5px;
    background-color: #42bba2;
    border: 0.5px solid #42bba2;
    padding: 0.25rem 1.5rem 0.25rem 1.5rem;
    overflow: hidden;
    margin: 0.5rem 0.5rem 0.5rem 0.5rem;
    
}

.button-3:hover{
  background-color: #fbfbfb;
  color: black;
  
}



/* images */

.image-right {
  float: center;
  height: 15rem;
  margin: 1rem 4rem;
}
.image-left {
  float: center;
  height: 15rem; 
  margin: 2rem 4rem 0 0;
}
.gallery {
  display: flex;
  align-items: center;
  padding-top: 24px;
}

.image-gallery {
  flex: 25%;
  padding-right: 24px;
}

.mobile-gallery {
  display: none;
}



/* footer */

.nav-footer {
  background-color: white;
}



/* tables */

.cell-fill {
  background-color: #e1e1e1 !important;
}

.cell-fill-light {
  background-color: #f2f2f2 !important;
}



/* schedule */

/* style the tab */
.tab {
  overflow: hidden;
  border: none;
  margin-bottom: -0.5rem;
}

/* style the buttons that are used to open the tab content */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
}

/* change background color of buttons on hover */
.tab button:hover {
  background-color: #d4f5ef;
}

/* create an active/current tablink class */
.tab button.active {
  background-color: #42bba2;
}

/* style the tab content */
.tabcontent {
  display: none;
  border: none;
  border-top: none;
}

.tabcontent.active { /* add this */
  display:block;
}



/* form */

label {
  padding-bottom: 0.25rem;
  }

input {
  border: 1px solid #ccc;
  border-radius: 3px;
  margin: 0 0 0.5rem 0;
  padding-left: 6px;
  padding-top: 3px;
  width: 100%;
}

input:focus {
  outline: 1px solid #000;
}

textarea {
  border: 1px solid #ccc;
  border-radius: 3px;
  margin: 0 0 0.5rem 0;
  padding-left: 6px;
  padding-top: 3px;
  width: 100%;
}

textarea:focus {
  outline: 1px solid #000;
}

form{
  display: block;
}



/* smaller screen optimization */

@media (max-width: 1000px) {
  h1 {
    margin-top: 1rem;
  }
  h2 {
    margin-top: 1rem;
  }
  .content-left {
    padding: 0;
  }
  .content-right {
    padding: 0;
  }
  .content-center {
    padding: 0;
  }
  .image-right {
    display: none;
  }
  .image-left {
    display: none;
  }
  .container-image-text{
    flex-direction: column;
    margin-top: 1rem;
  }
  .text-column {
    margin: 0;
  }
  .form-container {
    margin: 2rem 0;
  }
}

@media (max-width: 700px) {
  .desktop-gallery {
      display: none;
  }
  .mobile-gallery {
    display: block;

    .gallery {
      padding-top: 0;
    }
  }
}



/* modal window */

.code-tools-button {
  display: none;
}

.modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal__container {
  background-color: #fff;
  padding: 30px;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  border-radius: 4px;
  overflow-y: auto;
  box-sizing: border-box;
}

@keyframes mmfadeIn {
  from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes mmfadeOut {
  from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes mmslideIn {
  from { transform: translateY(15%); }
    to { transform: translateY(0); }
}

@keyframes mmslideOut {
  from { transform: translateY(0); }
    to { transform: translateY(-10%); }
}

.micromodal-slide {
  display: none;
}

.micromodal-slide.is-open {
  display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
  animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
  animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
  animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
  animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
  will-change: transform;
}

.modal__close {
  background:transparent;
  border: 0;
  float: right;
}

.modal__close::before {
  content: "\2715";
}