.slider-container {
  position: relative;
  width: 800px;
  height: 600px;
  margin: 20px auto; /* Added some top/bottom margin for better spacing */
  overflow: hidden;
  border-radius: 8px; /* Optional: Slightly rounded corners */
}

/* The sliding track */
.slider {
  display: flex;
  width: 800px;
  height: 600px;
  transition: transform 0.5s ease-in-out;
}

/* Style for each slide (image) */
.slider img {
  width: 800px;
  height: 600px;
  object-fit: contain;
  flex-shrink: 0; /* Prevents images from shrinking */
}

/* Style for navigation buttons */
.prev-button,
.next-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for better visibility */
  border: none;
  border-radius: 50%; /* Makes buttons circular */
  font-size: 24px;
  color: white;
  cursor: pointer; /* Changes cursor to indicate clickability */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7; /* Slightly transparent by default */
  transition: opacity 0.3s; /* Smooth transition for hover effect */
}

/* Show buttons on hover */
.slider-container:hover .prev-button,
.slider-container:hover .next-button {
  opacity: 1;
}

.prev-button {
  left: 10px;
}

.next-button {
  right: 10px;
}