html{
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body{
  overflow-x: hidden;
  background-color: #0A0A0A;
}

*{
  font-family: "Montserrat", serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

h1{
  font-size: clamp(2rem, 4vw, 3.6rem);
  text-align: center;
  color: white;
}

h2{
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

h3{
  font-size: clamp(1.6rem, 2.4vw, 2rem);
}

h4{
  font-size: clamp(1.4rem, 1.8vw, 1.8rem);
  color: white;
}

p{
  font-size: clamp(1rem, 1.2vw, 1.4rem);
  text-align: center;
  max-width: 720px;
  color: #ACACAC;
}

a{
  text-decoration: none;
}

.logo{
  height: 40px;
}

.nav-bar{
  height: 80px;
  width: 100%;
  background-color: #0B0B0B;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 20px;
  z-index: 1000;
  border-bottom: 0.2px solid #acacac2b;
}

.hidden-a{
  display: none;
  z-index: 1001;
}

.hidden-a a{
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  color: #ffffff;
  display: block;
  transition: all 0.3s ease;
}

.hidden-a a:hover{
  color: #40FEFE;
  scale: 1.1;
}

/* =========================
   DROPDOWN CONTAINER
   ========================= */

.dropdown{
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background-color: #0B0B0B;
  border-bottom: 0.2px solid #acacac2b;
  padding: 0 20px;
  z-index: 999;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 600ms cubic-bezier(.22,.61,.36,1),
    opacity 300ms ease;
}

/* OPEN STATE */

.dropdown.show{
  max-height: 500px;
  opacity: 1;
}

/* =========================
   LINKS LAYOUT
   ========================= */

.dropdown-bar{
  display: grid;
  gap: 15px;
  padding: 20px 0;
}

/* =========================
   LINKS DEFAULT
   ========================= */

.dropdown a{
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  color: #ffffff;
  display: block;
  opacity: 0;
  transform: translateY(-12px);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

/* =========================
   LINKS OPEN
   ========================= */

.dropdown.show a{
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   OPEN STAGGER
   ========================= */

.dropdown.show a:nth-child(1){ transition-delay: 0.05s; }
.dropdown.show a:nth-child(2){ transition-delay: 0.10s; }
.dropdown.show a:nth-child(3){ transition-delay: 0.15s; }
.dropdown.show a:nth-child(4){ transition-delay: 0.20s; }
.dropdown.show a:nth-child(5){ transition-delay: 0.25s; }

/* =========================
   CLOSE STAGGER
   ========================= */

.dropdown a:nth-child(1){ transition-delay: 0.35s; }
.dropdown a:nth-child(2){ transition-delay: 0.30s; }
.dropdown a:nth-child(3){ transition-delay: 0.25s; }
.dropdown a:nth-child(4){ transition-delay: 0.20s; }
.dropdown a:nth-child(5){ transition-delay: 0.15s; }

svg{
  height: 25px;
  width: 25px;
  right: 0;
  fill: white;
}

.hero-container{
  position: relative;
  min-height: 750px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
  overflow: hidden;
  margin-top: 80px;
  opacity: 1;
}

.hero-container::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.accent{
  background: linear-gradient(90deg,#40FEFE,#8ffdfd);
  background-clip: text;
  color: transparent;
}

small{
  font-size: 10px;
  color: #636363;
}

#btn-bar{
  background: none;
  border: none;
}

#btn-bar svg{
  height: 30px;
  width: 30px;
}


.btn{
  width: 240px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #36d0d0;
  border: none;
  border-radius: 10px;
  color: white;
  font-weight: 600;
  font-size: 16px;
  gap: 10px;
  z-index: 2;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease,
    gap 0.3s ease;
}

.btn:hover{
  cursor: pointer;
  background-color: #042931;
  gap: 15px;
  transform: scale(1.05);
}

.hero-btn-wrap{
  display: inline-block;
  position: relative;
  z-index: 3;
}

.btn svg{
  fill: white;
}

.odd{
  background: none;
  border: 1px solid #ACACAC;
}

.odd:hover{
  cursor: pointer;
  background-color: #000000;
}

.odd svg{
  transform: rotate(315deg);
}

.diamond{
  position: absolute;
  width: 500px;
  height: 500px;
  pointer-events: none;
  background: radial-gradient(circle,
      rgba(64, 254, 254,0.25) 0%,
      rgba(64, 254, 254,0.20) 10%,
      rgba(64, 254, 254,0.15) 20%,
      rgba(64, 254, 254,0.10) 30%,
      rgba(64, 254, 254,0.075) 40%,
      rgba(64, 254, 254,0.05) 50%,
      rgba(64, 254, 254,0.025) 60%,
      rgba(64, 254, 254,0.0125) 65%,
      rgba(64, 254, 254,0) 70%
  );
  overflow: unset;
}

.one{
  transform: translate(15%, -25%);
}

.two{
  transform: translate(-15%, 25%);
}

/* HERO: hidden state */
.hero-container .hero-line{
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms ease,
    filter 700ms ease;
  will-change: opacity, transform, filter;
}

/* add button hover transition back onto the same element */
.hero-container button.hero-line{
  display: flex;
  transition:
    opacity 700ms ease,
    transform 700ms ease,
    filter 700ms ease,
    background-color 0.3s ease,
    scale 0.3s ease,
    gap 1s ease;
}

/* keep heading spans as blocks */
.hero-container h1 .hero-line{
  display: block;
}

/* HERO: revealed */
.hero-container .hero-line.is-in{
  opacity: 1;
  transform: translateY(0);
}

#contact-btn3{
  display: none;
  width: 130px;
  height: 50px;
  justify-content: center;
  align-items: center;
  background: #36d0d0;
  border: none;
  border-radius: 10px;
  color: white;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.btn-container{
  display: flex;
  gap: 20px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .hero-container .hero-line{
    transition: none;
    opacity: 1;
    transform: none;
    filter: none;
  }
}

.hero-container p{
  padding: 0 32px;
}

@media (min-width: 1024px){
  .nav-bar{
    justify-content: space-evenly;
    gap: 120px;
  }

  #btn-bar{
    display: none;
  }

  .hidden-a{
    display: flex;
    gap: 20px;
  }

  #contact-btn3{
    display: flex;
  }

  #contact-btn3:hover{
    cursor: pointer;
    background: #042931;
    scale: 1.05;
  }

  .btn-container{
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .hero-container{
  margin-top: 160px;
}
}

@media (min-width: 1440px){
  .hidden-a{
    gap: 32px;
  }

  .hidden-a a{
    font-size: 18px;
  }
}