@charset "UTF-8";


#carouselWrapper {display: flex;
  justify-content: center; margin:0px}

.carousel {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  max-width: 2200px;
  margin:0px
}

.carousel-item {
  width: 10%;
  overflow: hidden;
  cursor: pointer;
}

.carousel-item img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
 
}

.carousel-item img:hover {
  transform: scale(1.05);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
}

.close {
  position: absolute;
  top: 20px;
  right: 70px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

/* Navigation Arrows */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 40px;
  transition: 0.3s;
  user-select: none;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
  .carousel {
    flex-direction: column;
    width: 90%;
    padding: 10px; /* Add padding between carousel and edges */
  }

  .carousel-item {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px; /* Padding between items */
    border-radius: 0; /* Remove rounded corners */
  }

  .carousel-item img {
    border-radius: 0; /* Remove rounded corners */
  }

  .lightbox-img {
    max-width: 80%;
    max-height: 80%;
  }

  .prev, .next {
    font-size: 30px;
    padding: 10px;
  }

  .close {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .carousel-item {
    padding: 15px; /* Increased padding for smaller screens */
  }

  .lightbox-img {
    max-width: 100%;
    max-height: 100%;
  }

  .prev, .next {
    font-size: 24px;
    padding: 8px;
  }

  .close {
    font-size: 24px;
  }
}


