.img_logo {
  width: 240px;
  height: 30px;
}

/* NAVIGATION */
.curtain-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  box-sizing: border-box;
}

.center-logo {
  font-weight: bold;
  text-align: center;
  flex-grow: 1;
}

.center-logo a {
  color: #fff;
  font-family: "Oswald", sans-serif;
  text-decoration: none;
  font-size: 1.5rem;
  display: inline-block;
  transform: scale(1, 1.5);
}

.menu-icon {
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
  right: 20px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.close-icon {
  right: 21px;
  position: absolute;
  top: 24px;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
}

.close-icon i {
  cursor: pointer;
}

.close-icon i:hover {
  color: #ccc;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: -1;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.menu-list li {
  margin-bottom: 20px;
  transition: all 0.3s ease;
  margin-left: 0; /* Resetting margin */
}

.menu-list li:nth-child(1) {
  margin-left: 100px; /* No margin for the first item */
}

.menu-list li:nth-child(2) {
  margin-left: -30px; /* Adjust margin as needed */
}

.menu-list li:nth-child(3) {
  margin-left: 120px; /* Adjust margin as needed */
}

.menu-list li:nth-child(4) {
  margin-left: 470px; /* Adjust margin as needed */
}

.menu-list li:nth-child(5) {
  margin-left: 350px; /* Adjust margin as needed */
}

.menu-list li a {
  top: 50%;
  text-decoration: none;
  color: #fff;
  font-size: 6rem;
  font-weight: bold;
  transition: color 0.3s ease;
  line-height: 0.5;
}

/* TABLET */
@media (min-width: 768px) and (max-width: 1366px) {
  .menu-list li a {
      top: 50%;
      text-decoration: none;
      color: #fff;
      font-size: 5rem;
      font-weight: bold;
      transition: color 0.3s ease;
      line-height: 0.5;
  }

  .menu-list li:nth-child(1) {
      margin-left: 10px; /* No margin for the first item */
  }

  .menu-list li:nth-child(2) {
      margin-left: -10px; /* Adjust margin as needed */
  }

  .menu-list li:nth-child(3) {
      margin-left: 50px; /* Adjust margin as needed */
  }

  .menu-list li:nth-child(4) {
      margin-left: 380px; /* Adjust margin as needed */
  }

  .menu-list li:nth-child(5) {
      margin-left: 300px;
  }
}

.menu-list li:hover {
  transform: translateX(5px);
}

.menu-list li a:hover {
  color: #003cff;
}

.menu-overlay.active {
  opacity: 1;
  z-index: 1000;
  pointer-events: auto;
  background-color: black;
}

/* Entrance Animation */
.menu-overlay.active .menu-list li:nth-child(1) {
  animation: floatLeftEntrance 0.7s ease forwards;
  animation-delay: 0s;
  opacity: 0;
  transform: translateX(-100%);
}
.menu-overlay.active .menu-list li:nth-child(2) {
  animation: floatLeftEntrance 0.7s ease forwards;
  animation-delay: 0.1s;
  opacity: 0;
  transform: translateX(-100%);
}
.menu-overlay.active .menu-list li:nth-child(3) {
  animation: floatRightEntrance 0.7s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
  transform: translateX(100%);
}
.menu-overlay.active .menu-list li:nth-child(4) {
  animation: floatLeftEntrance 0.7s ease forwards;
  animation-delay: 0.3s;
  opacity: 0;
  transform: translateX(-100%);
}
.menu-overlay.active .menu-list li:nth-child(5) {
  animation: floatRightEntrance 0.7s ease forwards;
  animation-delay: 0.4s;
  opacity: 0;
  transform: translateX(100%);
}

@keyframes floatLeftEntrance {
  from {
      opacity: 0;
      transform: translateX(-100%);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

@keyframes floatRightEntrance {
  from {
      opacity: 0;
      transform: translateX(100%);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

.menu-icon.active {
  display: none;
}

/* MOBILE */
@media (max-width: 767px) {
  .menu-list li a {
      top: 50%;
      text-decoration: none;
      color: #fff;
      font-size: 1.8rem;
      font-weight: bold;
      transition: color 0.3s ease;
      line-height: 0.5;
  }

  .menu-list li:nth-child(1) {
      margin-left: 10px; /* No margin for the first item */
  }

  .menu-list li:nth-child(2) {
      margin-left: -10px; /* Adjust margin as needed */
  }

  .menu-list li:nth-child(3) {
      margin-left: 30px; /* Adjust margin as needed */
  }

  .menu-list li:nth-child(4) {
      margin-left: 120px; /* Adjust margin as needed */
  }

  .menu-list li:nth-child(5) {
      margin-left: 90px;
  }
}

.menu-list li:hover {
  transform: translateX(5px);
}

.menu-list li a:hover {
  color: #003cff;
}

.menu-overlay.active {
  opacity: 1;
  z-index: 1000;
  pointer-events: auto;
  background-color: black;
}

/* Entrance Animation */
.menu-overlay.active .menu-list li:nth-child(1) {
  animation: floatLeftEntrance 0.7s ease forwards;
  animation-delay: 0s;
  opacity: 0;
  transform: translateX(-100%);
}
.menu-overlay.active .menu-list li:nth-child(2) {
  animation: floatLeftEntrance 0.7s ease forwards;
  animation-delay: 0.1s;
  opacity: 0;
  transform: translateX(-100%);
}
.menu-overlay.active .menu-list li:nth-child(3) {
  animation: floatRightEntrance 0.7s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
  transform: translateX(100%);
}
.menu-overlay.active .menu-list li:nth-child(4) {
  animation: floatLeftEntrance 0.7s ease forwards;
  animation-delay: 0.3s;
  opacity: 0;
  transform: translateX(-100%);
}
.menu-overlay.active .menu-list li:nth-child(5) {
  animation: floatRightEntrance 0.7s ease forwards;
  animation-delay: 0.4s;
  opacity: 0;
  transform: translateX(100%);
}

@keyframes floatLeftEntrance {
  from {
      opacity: 0;
      transform: translateX(-100%);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

@keyframes floatRightEntrance {
  from {
      opacity: 0;
      transform: translateX(100%);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

.menu-icon.active {
  display: none;
}
