body {
  overflow-y: hidden; /* Prevent horizontal overflow */
}

.carousel-container {
  position: relative;
  max-width: 90vw; /* Adjust as needed */
  margin: 0 auto;
  text-align: center;
  height: 100vh; /* Set container height to 100% viewport height */
  display: flex;
  align-items: center; /* Center vertically */
  justify-content: center; /* Center horizontally */
  overflow: hidden; /* Prevent horizontal overflow */
}

.carousel-slide {
  display: none;
  text-align: center;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  max-height: 80vh; /* Adjust this value as needed */
  object-fit: contain;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  cursor: pointer;
  padding: 10px;
  font-size: 18px;
  transition: background-color 0.3s ease;
}

.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.exit-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  color: rgba(0, 0, 0, 0.5);
  border: none;
  cursor: pointer;
  padding: 10px;
  font-size: 24px;
  font-weight: bold;
  transition: all 0.3s ease;
  z-index: 10;
}

.exit-btn:hover {
  background-color: rgba(255, 0, 0, 0.9);
  color: white;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.status {
  white-space: pre-wrap; 
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
}
