:root {
  --g: #22392C;
  --c: #F4EBDF;
  --t: #937E74;
  --w: #FFFFFF;
  --go: #C9A84C;
  --gl: #e2c97e;
}

section {
  overflow-x: hidden;
}
.menu-mobile-container {
  position: fixed;
  height: 100vh;
  width: 100vw;
  top: 0;
  left: 0vw;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
  transform: scaleX(0);
  color: white;
  opacity: 0;
  z-index: 999;
  background: rgba(34, 57, 44, 0.52);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.menu-mobile {
  /* background-color: var(--g); */
  background: rgba(34, 57, 44, 0.72);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  width: 90%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px 0px;
  overflow-x: hidden;
}

.menu-mobile-nav {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* .menu-mobile img {
  margin-bottom: 50px;
} */

.menu-mobile a {
  font-size: 1.2rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--go);
  font-weight: 400;
  transition: all .3s;
}

.menu-mobile a.active {
  font-size: 1.8rem;
  text-shadow: 0 0 10px #C9A84C;
  margin-top: 0px!important;
}

.menu-mobile .mq {
  background-color: transparent;
}

.menu-mobile .mq span {
  color: var(--go);
}

.page-content-wrapper {
  z-index: 2;
  transition: transform 0.5s ease-in-out;
  width: 100%;

  position: relative;
}



.page-content-wrapper .page-content {
  position: relative;
  z-index: 1;
  transition: opacity 0.25s ease-in-out;
  width: 100%;
  height: 100%;
  overflow: auto;

}

.menu-toggle,
.menu-toggle+label {
  position: fixed;
  top: 5vh;
  right: 3vw;
  z-index: 99999;
  display: block;
  height: 40px;
  width: 35px;
  font-size: 25px;
  transform-origin: center;
  isolation: isolate;      /* New stacking context */
  contain: layout;         /* Contain transform */
}

.menu-toggle {
  opacity: 0;
}

.menu-toggle+label {
  transition: transform 0.5s ease-in-out;
  z-index: 9999999;
}

.menu-toggle + label .fa-solid, .menu-mobile-container .menu-toggle .fa-solid {
  position: relative !important;
  font-size: 40px !important;  /* Smaller icon */
  width: auto !important;      /* Kill FA's fixed width */
  height: auto !important;     /* Kill FA's fixed height */
  line-height: 1 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--go) ;
  margin: 0 !important;
}
 .s#openMobileMenu {
  color: var(--g)!important;
 }
.menu-toggle+label .fa-solid.fa-xmark {
  opacity: 0;
}

#menu-toggle:checked+label {
  transform: rotate(180deg);
}

#menu-toggle:checked+label .fa-solid.fa-xmark {
  opacity: 1;
}
#menu-toggle:checked ~ .menu-mobile-container .menu-toggle {
  opacity: 1;
}
#menu-toggle:checked+label .fa-solid.fa-bars {
  opacity: 0;
  display: none;
}

#menu-toggle:checked~.page-content-wrapper {
  pointer-events: none;
  transform: scaleX(1.5);
  transform-origin: top;
}




#menu-toggle:checked~.page-content-wrapper .page-content {
  opacity: 1;
}

#menu-toggle:checked~.menu-mobile-container {
  transform: scaleX(1);
  opacity: 1;
}
@media screen and (min-width:951px) {
.menu-toggle+label, .menu-mobile-container {
  display: none;
}
}
@media screen and (max-width:950px) {
  #deskMenu {
    display: none;
  }

  .mobileMenu {
    display: block;
  }
  #nav img {
    width: 100px;
  }
}
@media screen and (max-width:550px) {
.menu-mobile {

  width: 98%;
}}