.desktop-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  width: min(100vw, 120rem);
  margin: 0 auto;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.9);
}
.desktop-menu ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 5.4%;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100%;
  padding: 3rem 2rem 2rem;
}
.desktop-menu ul li {
  text-align: center;
  line-height: 1.2;
  font-size: 1.6rem;
  font-weight: 500;
}
.desktop-menu ul li a {
  position: relative;
  text-decoration: none;
  color: #3A3024;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.desktop-menu ul li a::before {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 0;
  right: 0;
  width: 0;
  margin: 0 auto;
  border-bottom: 1px solid #3A3024;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.desktop-menu ul li a:hover, .desktop-menu ul li a:active {
  opacity: 0.7;
}
.desktop-menu ul li a:hover::before, .desktop-menu ul li a:active::before {
  width: 100%;
}
.desktop-menu-inner {
  position: relative;
  border: 2px solid #3A3024;
  border-color: #3A3024 transparent;
  margin: -3rem 1rem 0;
  padding: calc(1rem - 2px) 0;
}
.desktop-menu-inner-inner {
  margin: 0 calc(-1rem - 2px);
  border: 2px solid #3A3024;
  border-color: transparent #3A3024;
}
.desktop-menu-inner::before, .desktop-menu-inner-inner::before, .desktop-menu-inner::after, .desktop-menu-inner-inner::after {
  content: "";
  position: absolute;
  width: 2rem;
  height: 2rem;
  border: 2px solid #3A3024;
  border-radius: 1rem;
}
.desktop-menu-inner::before {
  top: -1rem;
  left: -2rem;
  clip: rect(calc(1rem - 2px), auto, auto, calc(1rem - 2px));
}
.desktop-menu-inner-inner::before {
  top: -1rem;
  right: -2rem;
  clip: rect(calc(1rem - 2px), calc(1rem + 2px), auto, auto);
}
.desktop-menu-inner::after {
  bottom: -1rem;
  left: -2rem;
  clip: rect(auto, auto, calc(1rem + 2px), calc(1rem - 2px));
}
.desktop-menu-inner-inner::after {
  bottom: -1rem;
  right: -2rem;
  clip: rect(auto, calc(1rem + 2px), calc(1rem + 2px), auto);
}



@media screen and (min-width: 769px) {
  .hamburger-menu{
    display: none;
  }
  .mobile-menu{
    display: none;
  }
  .desktop-menu a{
    text-decoration: none;
  }
  .desktop-menu ul li a p{
    background-color: white;
    transition: 0.5s;
  }
  .desktop-menu ul li a p:hover{
    background-color: lavender;
    scale: 1.2;
  }
}

@media screen and (max-width: 768px) {
  .desktop-menu {
    display: none;
  }


  .hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 5rem;
    height: 4rem;
    cursor: pointer;
    position: relative;
    z-index: 999999;
  }

  .hamburger-menu span {
    display: block;
    height: 0.9rem;
    background-color: #FDB516;
    border-radius: 0.6rem;
    margin-bottom: 0.8rem;
  }

  /* Mobile Menu Styling */
  .mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 40rem;
    height: 100%;
    background-color: #FAF0E6;
    z-index: 999;
    transition: right 0.3s ease;
  }

  .mobile-menu ul {
    list-style: none;
    padding: 5rem 1rem;
    display: block;
    white-space: unset;
  }

  .mobile-menu ul li {
    margin-bottom: 3rem;
  }

  .mobile-menu ul li a {
    color: #3A3024;
    text-decoration: none;
    font-size: 2.5rem;
  }

  /* When mobile menu is active */
  .mobile-menu.active {
    right: 0;
  }

  .hamburger-menu {
    display: block;
    float: right;
    margin-right: 2rem;
    margin-top: 5.5rem;
    position: fixed;
    z-index: 9999999;
    right: 0;
  }

  .header .inner {
    margin: 0;
  }

  .header ul {
    padding: 4.75rem 5rem;
    display: block;
    align-items: center;
    justify-content: right;
    margin-right: 0;
    margin-top: 7rem;
  }

  .header ul li {
    color: white;
    text-decoration: none;
    font-size: 2rem;
    font-weight: bold;
    line-height: 3.75rem;
    letter-spacing: 0.25rem;
    padding: 0 1rem;
  }

  .header ul li p {
    font-weight: bold;
    padding: 0.5rem 1.5rem;
    border-radius: 0;
    box-shadow: none;
    font-size: 2.5rem;
  }

}