
:root {
  --light-blue: #97D2F4;
  --blue: #284AAA;
  --purple: #292449;
  --dusty-purple: #3E3A5B;
  --dusty-blue: #4D72DA;
}

/*Heavy*/
@font-face {
    font-family: "Avenir-Heavy";
    src: url("assets/type/Avenir.ttf/Avenir-Heavy.ttf") format("truetype");
}

/*Roman*/
@font-face { 
    font-family: "Avenir-Roman";
    src: url("assets/type/Avenir.ttf/Avenir-Roman.ttf") format("truetype");
}

/*Book*/
@font-face {
    font-family: "Avenir-Roman";
    src: url("assets/type/Avenir.ttf/Avenir-Book.ttf") format("truetype");
}



::-webkit-scrollbar {
    display: none;
}

/* ::-webkit-scrollbar-track {
    background-color: var(--purple) ;
}

::-webkit-scrollbar-thumb {
    background-color: var(--light-blue);
    border-radius: 12px;
   
} */


body {
    margin: 0;
    font-family: sans-serif;
    color: white;
    background: var(--blue);
    text-align: center;
    font-family: "Avenir-Book", sans-serif;
    font-size: 18px;
    /* border: solid red 2px; */

}



#home{
    box-sizing: border-box;
    position: fixed;
    width: 100vw;
    height: 100vh;
    padding: 45vh;
}

.header {
    position: fixed;
    box-sizing: border-box;
    display:flex;
    /* border: solid red 1px; */
    align-items: center;
    justify-content: space-between;
    width: 100vw;
    height: 80px;
    background-color: var(--purple);
    padding: 20px;
    top: 0;
    z-index: 1000;

    font-family: "Avenir-Book", sans-serif;
    font-size: 18px;
    

}

/* .header-left {
    margin-left: 20px;
    font-family: "Avenir-Book", sans-serif;
    font-size: 18px;
} */

.header-center {
    position: absolute;
    left: 50%;
    display:flex;
    align-items: center;
}

/* .header-right {
    font-family: "Avenir-Book", sans-serif;
    font-size: 18px;
} */

a.link {
        /* font-family: "Avenir-Book", sans-serif;
        font-size: 18px; */
    color: white;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

a.link:hover {
    color: var(--light-blue);

}

.dropdown-btn {
    background: none;
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
    -webkit-appearance: none; 
    appearance: none;
}

.dropdown-btn img{
    height: 40px;
    width: auto;
}

.dropdown-btn .viv-hover {
    display: none;
}

.dropdown-btn:hover .viv-default, .dropdown-btn:focus-visible .viv-default {
    display: none;
}

.dropdown-btn:hover .viv-hover, .dropdown-btn:focus-visible .viv-hover{
    display: inline;
}

.overlay {
  position: fixed;
  inset: 0;                         /* top/right/bottom/left: 0 */
  background: rgba(0, 0, 0, 0.5);   /* the dimming layer */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;                    /* above your header's 1000 */

  /* hidden state */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
    box-sizing: border-box;
    position: relative;
    background: var(--blue);
    width: 50%;
    aspect-ratio: 11 / 8.5;
    /* padding-right: 15%;
    padding-left: 15%; */
  
    display: flex;
    align-items: center;
    justify-content: center;
    

    /* padding-right: 15%;
    padding-left: 15%;  */
    /* pop-in effect */
    transform: scale(0.9);
    transition: transform 0.25s;
    /* border: solid red 2px; */

}

.about-me {
    text-align: left;
    /* border: solid red 2px; */
    width: 40%;
}

.overlay.open .modal {
  transform: scale(1);
}

/*close button on overlay*/
.modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  color: white;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
    color: var(--light-blue);
}


.footer {
    position: fixed;
    bottom: 15px;
    left: 1vw;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25% 2%;
    z-index: 1000;
    border: solid white 1px;
    border-radius: 9999px;
   
}

#page-indicator{
    margin: 0;
    font-size: .9rem;
}


.pages {
    padding-top: 80px;
    padding-bottom: 40px;

}

.pages img{
    display: block;
    max-width: 70vw; /* Image will shrink but never exceed its container's width */
    height: auto;    /* Maintains the original aspect ratio */
    margin: 20px auto;  /* Centers the image if it's a block element */
}

.page{
    position: relative;
    display: inline-block;
    /* border: 10px solid red; */
   
}

.page img{
    position: relative;
    margin: 0;
    z-index: 1;
}

.tea-video {
    position: absolute;
    top: 52.5%;
    left: 50%;
    width: 90%;
    transform: translate(-50%, -44%);
    aspect-ratio: 16 / 9;
    z-index: 2;
    border: none;
}

.elevator-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    transform: translate(-78%, -40%);
    aspect-ratio: 16 / 9;
    z-index: 2;
    border: none;

}

@media (max-width: 768px) {

    
    .header-left{
        display: none;
    }
    .header-right{
        display: none;
    }

    .footer {
        display: none;
    }

    .modal {
    width: 80%;
}
    .about-me {
    text-align: left;
    /* border: solid red 2px; */
    width: 80%;
    
   

}
}