header {
  display: flex;
  justify-content: center;
  width: 100%;
  border-bottom: 1px solid #eaeaea;
  background-color: #ffffff;
  position: relative;
  top: 0;
  z-index: 100;
  overflow: hidden;
}

.navbar-container {
  width: 100%;
  margin: 1rem;
  padding: 1.2rem 10rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  flex-direction: row-reverse;
}

header .logo {
    display: block;
    position: relative;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #333;
    overflow: hidden;
    min-width: 20rem;
    height: 10rem;
}

header .logo img {
    object-fit: contain;
    display: block;
    width: 100%;
    height: 100%;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  gap: 5rem;
}

.nav-links a {
  text-decoration: none;
  position: relative;
  font-size: 1.8rem;
  color: #555555a6;
  height: 5rem;
  width: auto;
  transition: color 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  border: none;
  transition: color 0.2s ease-in-out;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0.8rem;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #B1976B;
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  transition: all 0.5s ease-in-out;
}

.nav-links a:hover {
  color: #000;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  opacity: 1;
  transition: all 0.5s ease-in-out;
  width: 100%;
}

@media (min-width: 1025px) {
  
  #mobile-navbar, #mobile {
  display: none;
}


}

@media (max-width: 1024px) { 
  .navbar-container {
    padding: 1rem 0;
    margin-top: 0;
    height: 15.5rem;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
  }

  .burger.active span {
  background-color: white;
}

  .burger-nav {
    height: 100%;
    width: 3rem;
    margin-right: 0.5rem;
  }

  #desktop {
    display: none;
  }

  .burger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 3rem;
    height: 3rem;
    border: none;
    background-color: transparent;
    cursor: pointer;
    padding: 0;
    z-index: 10;
    position: fixed;
  }

  .burger span {
    width: 100%;
    height: 0.3rem;
    background-color: #333;
    border-radius: 0.2rem;
    transition: all 0.5s ease-in-out;
    z-index: 100;
  }

  .burger span:nth-child(2) {
    width: 100%;
    align-self: flex-end;
  }


  .burger.active {
    z-index: 100;
  }

  .burger.active > span:nth-child(1) {
    transform: rotate(-45deg) translateY(13.5px) translateX(-0.21rem);
    position: relative;
  }

  .burger.active > span:nth-child(2) {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
  }

  .burger.active > span:nth-child(3) {
    transform: rotate(45deg) translateY(-13.5px) translateX(0.19rem);
    position: relative;
  }


  .nav-links.active {
    flex-direction: column;
    height: 100vh;
    width: 50vw;
    background: rgba(6, 30, 27, 0.85);
    backdrop-filter: blur(10px) saturate(140%);
    border-left: 1px solid rgba(255,255,255,0.12);
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100;
    display: flex;
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    transition: transform 0.5s ease, opacity 0.3s ease;
    justify-content: center;
    padding-top: 5rem;
  }

  header {
    overflow: visible;
  }

  .nav-links {
    flex-direction: column;
    position: fixed;
    height: 100vh;
    width: 50vh;
    top: 0;
    right: 0;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all 0.5s ease-in-out;
    justify-content: center;
    padding-top: 5rem;
  }

  .nav-links a {
    width: 100%;
    font-size: 3rem;
    color: #eaeaea;
  }
  
}