
.slideshow {
  position: relative;
  max-width: 1000px; 
  margin: auto; 
  overflow: hidden; 
  border: 1px solid #ccc; 
  background-color: white; 
  transition: left  0.3s;
  margin-bottom: 5px;
}

.list-img {
  display: inline-block; 
  position: relative; 
}

.list-img img {
  width: 100%; 
  height: 350px; 
  object-fit: cover; 
}

.text {
  position: absolute;
  bottom: 8px; 
  left: 50%; 
  color: white; 
  font-size: 20px; /* Font size */
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for readability */
  padding: 10px; /* Padding around the text */
  border-radius: 5px; 
  transform: translateX(-50%);
}

.prev, .next {
  cursor: pointer;
  position: absolute; 
  top: 50%; /* Center vertically */
  width: auto; /* Auto width */
  padding: 16px; /* Padding for buttons */
  color: white; /* Button text color */
  font-weight: bold; 
  font-size: 18px; /* Font size */
  transition: 0.6s ease; 
  border-radius: 0 3px 3px 0; 
  user-select: none; /* Prevent text selection */
  transform: translateY(-50%); 
}

.prev {
  left: 10px; 
}

.next {
  right: 10px; 
}

.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.8); 
}

/* .dot {
  height: 15px; 
  width: 15px; 
  margin: 0 2px; 
  background-color: #bbb; 
  border-radius: 50%; 
  display: inline-block; 
  transition: background-color 0.3s ease; 
  cursor: pointer; 
}

.active, .dot:hover {
  background-color: #717171;
} */