.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 0;
}

.mobile-nav .logo {
  height: 30px;
}

.mobile-top {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  background-color: var(--background-white);
  padding: 30px 15px;
  z-index: 10;
}

.mobile-top > a {
  margin-right: auto;
}

.mobile-nav .menu-items-container {
  width: 100%;
  padding: 30px;
  position: fixed;
  top: 107px;
  background-color: var(--background-white);
  transform: translateY(-100%);
  z-index: 5;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

.mobile-nav .menu-items-container.show {
  transform: translateY(0%);
  opacity: 1;
}

.mobile-nav .menu-items {
  width: 100%;
  align-items: flex-start;
  flex-direction: column;
  font-size: 24px;
}

.mobile-nav .menu-item {
  font-size: 24px;
}

.mobile-nav .contact-container {
  margin-top: 60px;
  display: flex;
  gap: 20px;
  flex-direction: column;
}

.contact-item {
  color: var(--color-gray);
  text-decoration: none;
  display: flex;
  gap: 20px;
  font-size: 24px;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.hamburger .line {
  width: 40px;
  height: 5px;
  background-color: black;
  display: block;
  margin: 8px auto;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.hamburger:hover {
  cursor: pointer;
}

/* ELEVEN */

#hamburger-11 {
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

#hamburger-11.is-active {
  animation: smallbig 0.6s forwards;
}

@keyframes smallbig {
  0%,
  100% {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }

  50% {
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
  }
}

#hamburger-11.is-active .line:nth-child(1),
#hamburger-11.is-active .line:nth-child(2),
#hamburger-11.is-active .line:nth-child(3) {
  -webkit-transition-delay: 0.2s;
  -o-transition-delay: 0.2s;
  transition-delay: 0.2s;
}

#hamburger-11.is-active .line:nth-child(2) {
  opacity: 0;
}

#hamburger-11.is-active .line:nth-child(1) {
  -webkit-transform: translateY(13px) rotate(45deg);
  -ms-transform: translateY(13px) rotate(45deg);
  -o-transform: translateY(13px) rotate(45deg);
  transform: translateY(13px) rotate(45deg);
}

#hamburger-11.is-active .line:nth-child(3) {
  -webkit-transform: translateY(-13px) rotate(-45deg);
  -ms-transform: translateY(-13px) rotate(-45deg);
  -o-transform: translateY(-13px) rotate(-45deg);
  transform: translateY(-13px) rotate(-45deg);
}

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

/* Backdrop styles */
.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: none; /* Initially hidden */
}

/* When menu is open, show the backdrop */
.menu-items-container.show ~ #backdrop {
  display: block;
}

/* Prevent body scrolling */
.no-scroll {
  overflow: hidden;
}
