#carousel-container {
  width: 100vw;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  min-width: 300px;
  flex-direction: column;
}

.carousel {
  position: relative;
  width: 500px;
  height: 100%;
  overflow: hidden;
}

.carousel img {
  width: 100%;
  height: 100%;
  display: none;
  object-fit: contain; 
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
 
}

.carousel img.active {
  opacity: 1;
  transform: translateX(0);
  display: block;
}



.carousel .prev, .carousel .next, .carousel .fullscreen {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.carousel .prev {
  left: 10px;
}

.carousel .next {
  right: 10px;
}

.carousel .fullscreen {
  right: 50px;

  
}


.fullscreen-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.fullscreen-overlay img {
  max-width: 90%;
  max-height: 90%;
}

.fullscreen-overlay .close-btn {
  position: absolute;
  top: 0px;
  right: 0px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 20px;
}

@media screen and (max-width: 600px) {
  .carousel {
    margin: 0;
    width: 100%;
    height: auto;
    min-width: 100%;
  }

  .carousel img {
    width: 100%;
    height: auto;
  }
}

.carousel .fullscreen {
  position: absolute;
  top: 10px; /* Adjust as needed */
  right: 10px; /* Adjust as needed */
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1; /* Ensure it appears above the image */
}


