
@font-face {
    font-family: light;
    src: url(TerminaTest-Light.otf);
}


@font-face {
    font-family: extralight;
    src: url(TerminaTest-ExtraLight.otf);
}



@font-face {
    font-family: reg;
    src: url(TerminaTest-Regular.otf);
}

@font-face {
    font-family: mid;
    src: url(TerminaTest-Medium.otf);
}
body {
    width: 100vw;
    height: 100vh;
    margin: 0;
    font-family: light;
    background-color: rgb(6, 6, 6);

}

.menu {
    position: fixed;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    top: 0;
    width: 100vw;
    height: 6rem;
    align-items: center;
    margin: 0;
    
    padding: 0;
    left: 0;
}
.nav-container {
    position: absolute;
    width: 100vw;
    display: flex;
    justify-content: center;
}

.nav-links {
    list-style: none;
    display: flex;
    padding: 0rem;
    margin: 0;
    flex-wrap: wrap; /* Add this line */
}

.nav-item-container {
    position: relative;
    display: inline-flex; /* Add this line */
    margin: 0 1.5rem;

  }
  


.logo img {
    width: 4rem;
    padding: 0rem 2rem;
}

.nav-item a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    padding-bottom: 5px;
    white-space: nowrap;
    opacity: 0.6; /* Add this line */
    transition: 0.3s;
  }
  
  .nav-item.active a {
    opacity: 1; /* Add this line */
  }
  
  .nav-item a:hover {
      opacity: 1;
  }


.underline {
    position: absolute;
    height: 1px;
    background-color: rgb(208, 198, 55);
    transition: all 0.3s ease;
}

.button-wrapper {
    padding: 0rem 2rem;
    z-index: 9;
    display: flex;
    gap: 0.7rem;
}

  .nav-button {
    border-radius: 20rem;
    border: none;

  }
  
  .nav-button .button-text {
    max-width: 0;
    overflow: hidden;
    margin-right: 0;
    transition: max-width 0.4s, padding 0.4s;
  }
  
  .nav-button i, .nav-button .button-text {
    display: inline-block;
    vertical-align: middle;
    white-space: nowrap;
  }

  .nav-button i {
      font-size: 1rem;
  }

  .button-text {
    display: inline-block;
    font-size: 1rem;
    vertical-align: middle;
    font-family: reg;
    white-space: nowrap;
  }
  
  .nav-button:hover .button-text {
    margin-right: 0;
    max-width: 200px;
    padding: 0rem 0.5rem;
  }
  

  
  .switch {
    position: relative;
    display: inline-block;
    margin: 0 5px;

  }
  
  .switch > span {
    position: absolute;
    top: 0.3rem;
    pointer-events: none;
    font-family: 'mid', Arial, sans-serif;
    font-weight: bold;
    font-size: 0.6rem;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .06);
    width: 50%;
    text-align: center;
  }
  
  input.check-toggle-round-flat:checked ~ .off {
    color: #ffffff;
  }
  
  input.check-toggle-round-flat:checked ~ .on {
    color: rgb(0, 0, 0);
  }
  
  .switch > span.on {
    left: 0;
    padding-left: 2px;
    color: #ffffff;
  }
  
  .switch > span.off {
    right: 0;
    padding-right: 4px;
    color: rgb(0, 0, 0);
  }
  
  .check-toggle {
    position: absolute;
    margin-left: -9999px;
    visibility: hidden;
  }
  .check-toggle + label {
    display: block;
    position: relative;
    cursor: pointer;
    outline: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  
  input.check-toggle-round-flat + label {
    padding: 2px;
    width: 4rem;
    height: 1.1rem;
    background-color: #ffffff;
    -webkit-border-radius: 60px;
    -moz-border-radius: 60px;
    -ms-border-radius: 60px;
    -o-border-radius: 60px;
    border-radius: 60px;
  }
  input.check-toggle-round-flat + label:before, input.check-toggle-round-flat + label:after {
    display: block;
    position: absolute;
    content: "";
  }
  
  input.check-toggle-round-flat + label:before {
    top: 2px;
    left: 3px;
    bottom: 2px;
    right: 2px;
    background-color: #ffffff;
    -webkit--moz-border-radius: 60px;
    -ms-border-radius: 60px;
    -o-border-radius: 60px;
    border-radius: 60px;
  }
  input.check-toggle-round-flat + label:after {
    top: 2px;
    left: 3px;
    bottom: 2px;
    width: 2rem;
    background-color: rgb(0, 0, 0);
    -webkit-border-radius: 52px;
    -moz-border-radius: 52px;
    -ms-border-radius: 52px;
    -o-border-radius: 52px;
    border-radius: 52px;
    -webkit-transition: margin 0.2s;
    -moz-transition: margin 0.2s;
    -o-transition: margin 0.2s;
    transition: margin 0.2s;
  }
  
  input.check-toggle-round-flat:checked + label:after {
    margin-left: 1.8rem;
  }



  .mask-div {
      width: 100vw;
      height: 95vh;
      display: flex;
      justify-content: center;
      align-items: center;
      position: fixed;
      z-index: 5;
      transform: scale(1) translateX(0.3rem);
      animation: scalein 1.5s ease forwards;


  }



  .mask-div img {
    width: 110rem;


}



 .content {
    text-align: center;
    position: relative;
    color: white;
    position: fixed;
    font-family: extralight;
    margin-top: 29rem;
    font-size: 1.5rem;
    animation: inop 1s  forwards;

  }
.content span {
    width: 4.15rem;
    display: inline-block;
    font-family: light;
  }



  .button {
    position: fixed;
    opacity: 0.7;
    border-width: 1px;
    border-color: rgb(255, 255, 255);
    background: linear-gradient(to bottom, rgba(250, 128, 114, 0) 50%, gold 50%) top;
    background-size: 100% 200%;
    transition: .2s ease-out;
    border-radius: 5rem;
    padding: 0.3rem 1.2rem;
    color: white;
    z-index: 9999999;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: reg;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .button:hover {
    color: black;
    border-color: gold;
    background-position: bottom;
  }
  
  .button:hover img {
    filter: brightness(0);
  }
  
  .button img {
    width: 1rem;
    transition: 0.3s;
  }
  

.scale {
    animation: scale 0.7s ease-in-out forwards;
    
}


.out {
    animation: out 0.5s ease-in-out forwards;
}



.in {
    animation: out 0.5s ease-in-out forwards;
}

@keyframes inop {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


@keyframes scale {
    0% {
        transform: scale(1) translateX(0.3rem);
    }
    100% {
        transform: scale(35) translateX(-0.88rem);
    }
}

@keyframes scalein {
    0% {
        transform: scale(1.1) ;
    }
    100% {
        transform: scale(1)
    }
}

@keyframes out {
    0% {
        transform: translateY(0rem);
        opacity: 1;
    }
    100% {
        transform: translateY(-4rem);
        opacity: 0;
    }
}

@keyframes in {
    0% {
        transform: translateY(-4rem);
        opacity: 0;
    }
    100% {
        transform: translateY(1rem);
        opacity: 1;
    }
}

.div-vid {
  position: fixed;
  z-index: 1;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -2vh;

}

.vid {
  width: 50rem;
  filter: brightness(0.8) contrast(1.1);
}


@media only screen and (max-width: 600px) {
  .mask-div img {
    width: 230vw;
}

.content {
  font-size: 4vw;
  margin-top: 62vw;
}

.content span {
  width: 8.7vw;
}

.vid {
  width: 100vw ;
}

.button {
  width: 70vw ;
  font-size: 3.5vw;
}


}