body {
  margin: 0;
  padding: 0;
  font-family: "Tenor Sans", sans-serif;
  text-transform: uppercase;
}

#menuToggle {
  display: block;
  position: fixed; /* Fixed position to ensure visibility */
  top: 20px; /* Adjusted to keep it within the viewport */
  right: 20px; /* Positioned on the right side */
  z-index: 1000; /* High z-index to stay above other elements */

  -webkit-user-select: none;
  user-select: none;
}

#menuToggle a {
  text-decoration: none;
  color: #615f5b;
  transition: color 0.3s ease;
}

#menuToggle input {
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  right: 0px;
  cursor: pointer;
  opacity: 0;
  z-index: 2;
  -webkit-touch-callout: none;
}

#menuToggle span {
  display: block;
  width: 24px;
  height: 1px;
  margin-bottom: 5px;
  position: relative;
  background: #615f5b;
  border-radius: 3px;
  z-index: 1;
  transform-origin: 4px 0px;
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
  background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
}

#menuToggle span:first-child {
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
  transform-origin: 0% 100%;
}

#menuToggle input:checked ~ span {
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #232323;
}

#menuToggle input:checked ~ span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked ~ span:nth-last-child(2) {
  transform: rotate(-45deg) translate(0, -1px);
}

#menu {
  position: fixed; /* Fixed position for consistent placement */
  width: 300px;
  top: 0; /* Menu aligns with the top of the viewport */
  right: 0; /* Align to the right side */
  height: 100vh; /* Full height menu */
  margin: 0;
  padding: 50px;
  padding-top: 125px;
  background: #ededed;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  transform: translateX(100%); /* Initially hidden */
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
}

#menu > li {
  padding: 10px 0;
  font-size: 22px;
  color: #615f5b;
  border-top: 1px solid #615f5b;
  padding-top: 50px;
  padding-bottom: 50px;
}

#menu li a:hover {
  color: #aa997f;
}

#menuToggle input:checked ~ ul {
  transform: translateX(0); /* Slide menu into view */
}

.tenor-sans-regular {
  font-family: "Tenor Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* Submenu styles */
.submenu {
  list-style-type: none;
  position: absolute;
  top: 0;
  left: -200px; /* Start off-screen to the left */
  background-color: #dcdbdb;
  width: 230px;
  height: 100vh;
  padding-top: 125px;
  padding-left: 30px;
  padding-right: 30px;
  opacity: 0; /* Hidden initially */
  transition: opacity 0.3s ease, transform 0.3s ease; /* Smooth transition */
  transform: translateX(100px); /* Offset for animation */
  pointer-events: none;
  z-index: 10;
}

.submenu li {
  padding-top: 30px;
  padding-bottom: 20px;
  width: 100%;
  border-top: 1px solid #615f5b;
}

.submenu li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  color: #615f5b;
  width: 100%;
  height: 100%;
  pointer-events: none;
  cursor: pointer;
  display: block;
}

.submenu.showing {
  left: -200px; /* Visible position */
  opacity: 1; /* Fully visible */
  transform: translateX(0); /* Reset sliding position */
}

.submenu.hiding {
  left: -200px; /* Move back off-screen */
  opacity: 0; /* Fade out */
  transform: translateX(100px); /* Slide out to the right */
}

#menu-container{
  display: none;
}


