main {
  padding-top: 80px;
}

html {
  scroll-behavior: smooth;
}

.hamburger {
  position: fixed;
  right: 4%;
  top: 38px;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5px;
  gap: 5px;
  cursor: pointer;
  z-index: 10000;
  transition: top 0.3s;
}

.line {
  display: inline-block;
  height: 2px;
  width: 25px;
  background-color: #eee;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.line.close-1 {
  transform: translateY(7px) rotate(45deg);
}

.line.close-2 {
  opacity: 0;
}

.line.close-3 {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-buttons-mobile {
  position: fixed;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateX(60vw);
  top: 0;
  gap: 25px;
  height: 100vh;
  width: 40vw;
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  background-color: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.125);
  z-index: 9999;
  padding: 10% 3%;
  transition: transform 0.3s ease;
  font-family: Poppins, sans-serif;
  font-weight: 300;
}

.nav-buttons-mobile .nav-btn {
  width: 100%;
  text-align: center;
}

.hidden-nav {
  transform: translateX(100vw);
}

.nav-btn {
  font-size: 1.2rem;
  color: #eee;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  position: relative;
  transition: color 0.3s, transform 0.3s;
}

.nav-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 0;
  height: 2px;
  background-color: #ff0;
  transition: width 0.3s, left 0.3s;
}

.nav-btn:hover {
  color: #fff;
}

.nav-btn:hover::after {
  width: 100%;
  left: 0;
}

.nav-btn.active {
  color: #ffbd39;
}

.nav-btn.active::after {
  width: 100%;
  left: 0;
  background-color: #ffbd39;
}

.nav-btn:focus-visible {
  color: #000;
  background-color: #ffbd39;
  transform: scale(1.03);
  outline: none;
}

@media screen and (max-width: 991px) {
  .nav-buttons-mobile {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 600px) {
  .nav-buttons-mobile {
    width: 55vw;
    transform: translateX(45vw);
  }

  .hidden-nav {
    transform: translateX(100vw);
  }
}

@media (max-width: 400px) {
  .nav-buttons-mobile {
    width: 65vw;
    transform: translateX(35vw);
  }

  .hidden-nav {
    transform: translateX(100vw);
  }
}
