.TOP {
  min-width: 100vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

#navbar {
  top: 0;
  align-items: center;
  width: auto;
  height: 100px;
  position: fixed;
  z-index: 10;
  transition: top 0.3s ease;
  gap: 1em;
}

.hidden {
  top: -100px;
}

.lists {
  width: 60vw;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  background-color: #11302b;
  padding: 5px;
  border-radius: 15px;
  box-shadow: 5px 10px 20px #19433c;
  list-style-type: none;
  gap: 1em;
}

.list {
  border: 1px solid white;
  width: 100%;
  text-align: center;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 10px;
  padding: 8px;
}

.list:hover {
  background-color: #e1d7b7;
  transition: background-color ease-out 0.5s;
  color: black;
}

.active {
  background-color: #fdfdfd;
  color: black;
}

.shurikens {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 15px;
}

.shuriken {
  height: 100px;
}

#leftShuriken {
  animation: rotateLeft 3s linear infinite;
}

#rightShuriken {
  animation: rotateRight 3s linear infinite;
}

@keyframes rotateLeft {
  from {
    transform: rotate(0deg) rotateY(0deg);
  }
  to {
    transform: rotate(360deg) rotateY(360deg);
  }
}

@keyframes rotateRight {
  from {
    transform: rotate(360deg) rotateY(360deg);
  }
  to {
    transform: rotate(0deg) rotateY(0deg);
  }
}
@media (max-width: 1347px) {
  .list,
  span {
    display: block;
  }
}

@media (max-width: 890px) {
  .lists {
    flex-direction: row; /* Keep items in a row */
    width: 100%; /* Full width for mobile */
    padding: 10px 0; /* Add padding for spacing */
  }

  .list {
    flex: 1; /* Equal space for each item */
    text-align: center; /* Center text */
    margin: 5px; /* Margin for spacing */
  }

  /* Hide text and show only icons */
  .list span {
    display: none; /* Hide text */
  }

  .list i {
    display: inline; /* Show icons */
    font-size: 20px; /* Adjust icon size if needed */
  }

  /* Push content down */
  body {
    padding-top: 20px; /* Adjust based on navbar height */
  }
}

@media (max-width: 630px) {
  .shuriken {
    width: 90px;
    height: 90px;
  }
}
@media (max-width: 600px) {
  .shuriken {
    width: 80px;
    height: 80px;
  }
}
@media (max-width: 540px) {
  .shuriken {
    width: 70px;
    height: 70px;
  }
  .TOP {
    gap: 2px;
    justify-content: center;
  }
}

/* Additional media queries for very small screens */
@media (max-width: 500px) {
  .list {
    padding: 5px; /* Adjust padding for touch targets */
  }
}

@media (max-width: 455px) {
  #navbar {
    gap: 1px;
  }
}
@media (max-width: 425px) {
  .shuriken {
    height: 50px;
    width: 50px;
  }
}

@media (max-width: 300px) {
  .list span {
    display: none; /* Ensure text is hidden */
  }

  .list i {
    display: inline; /* Ensure icons are shown */
  }
}
