
body {
  background-color: #1a1a1a;
  font-family: 'VT323', monospace;
}

.carousel-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.carousel-inner {
  height: 350px;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.carousel-overlay h2 {
  color: white;
  font-size: 28px;
  margin-bottom: 20px;
}

.carousel-overlay .btn {
  padding: 10px 24px;
  font-size: 20px;
}

.carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.carousel-item.active {
  opacity: 1;
}

.triviaInfo {
  display: flex;
  margin-inline: 40px;
  margin-top: 100px;
  margin-bottom: 100px;
  justify-content: space-between;
}

.triviaInfo h5 {
  margin: auto;
  text-align: center;
  width: 70%;
}

.triviaInfo div{
  width: 33.3%;
  text-align: center;
}

.ninjas {
  margin-inline: 80px;
  margin-top: 20px;
}

#about {
  margin-inline: 80px; 
  margin-top: 100px;
  margin-bottom: 40px;
}

.slider {
  width: 400px;
  height: 225px;
  overflow: hidden;
  position: relative;
}

.slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-btn {
  opacity: 50%;;
  display: inline-block;
  width: 50px;
  height: 30px;
  background-color: #bbb;
  border-radius: 5px;
  margin: 0 5px;
  cursor: pointer;
  text-align: center;
  line-height: 30px;
  margin-top: 100px;
  margin-inline: 15px;
}

#imgTwo {
  display: none; /* Hide imgTwo by default */
  transition: opacity 0.3s ease; /* Add a transition effect for opacity */
}

/* Show imgTwo on hover */
a:hover #imgTwo {
  display: inline-block;
}

/* Hide imgOne on hover */
a:hover #imgOne {
  display: none;
  transition: opacity 0.3s ease; /* Add a transition effect for opacity */
}

#rankList {
  margin: 0;
  padding: 0;
  margin-top: 5px;
  list-style-type: none;
}

.ninjas img {
  height: 40px;
  width: 75px;
  margin: 2px;
}

#rankList li {
  margin-left: 20px;
  margin-top: 5px;
  margin-bottom: 5px;
  display: flex;
  justify-content: space-between;
  border-radius: 3px;
  background-color: #333;
  cursor: pointer;
  opacity: 30%;
}

#rankList > li.active {
  opacity: 100%;
}

#rankList li h4 {
  margin-top: 5px;
  
}

#rankList li:hover {
  opacity: 100%;
}

#rankList li span{
  margin-top: 5px;
}

#ninja-desc {
  margin: auto;
}

.about-text {
  text-align: justify;
  width: 60%;
}

.slider {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

#\#ninjas > div:nth-child(1) > h3 {
  margin-top: 24px;
  margin-left: 24px;
  margin-bottom: 0;
}

#ninja-img {
  margin-top: 25px;
}

#ninja-desc h4{
  margin-bottom: 0;
} 

footer {
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex;
  justify-content: center;
}

footer div {
  margin-inline: 15px;
}

body > footer > div.text-center {
  width: 120px;
}

@media only screen and (max-width: 768px) {
  .carousel-inner {
    height: 300px;
  }

  .carousel-item img {
    height: 300px;
    object-fit: cover;
  }

  .ninjas {
    margin-inline: 2px;
  }

  #ninja-img > canvas {
    width: 165px;
  }
  
  #\#ninjas > div:nth-child(2) > div {
    flex-wrap: wrap;
  }

  #\#ninjas > div:nth-child(1) > h3 {
    margin-left: 10px;
  }

  #rankList li {
    margin-left: 10px;
  }

  #ninja-img {
    margin-top: 18px;
    margin-bottom: -8px;
    margin-inline: auto;
  }

  #ninja-desc h4{
    font-size: 14px;
  }

  #ninja-desc {
    margin: 10px;
    margin-top: -10px;
    text-align: center;
  }

  #about {
    margin-inline: 0;
    margin-top: 85px;
  }

  .about-text {
    width: auto;
  }

  .slider {
    margin-top: 10px;
    margin-inline: auto;
    width: 93%;
    height: 180px;
  }

  .triviaInfo{
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 85px;
    margin-bottom: 40px;
  }

 .triviaInfo > div {
  width: auto;
  margin-bottom: 45px;
 }

 .triviaInfo > div > h5 {
  width: 100%;
 }


}

@media only screen and (max-width: 426px) {
 #rankList > li > h4{
  display: none;
 }
}