* { box-sizing: border-box; }
/*
body {
  font-family: system-ui, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  background-color: #1a1a1a;
}
*/
.slideshow-container {
  max-height: 450px;
  /* width: 96%; */
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  background: #000000;

}

.slide {
  display: none;
  position: relative;
}

.slide img {
  /* width: 100%; */
  height: 400px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.caption {
  display: none;
  color: #fff;
  font-size: 16px;
  padding: 12px 16px;
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  text-align: center;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  background-color: rgba(0, 0, 0, 0.4);
  border: none;
  user-select: none;
  transition: background-color 0.3s;
}

.next { right: 0; border-radius: 4px 0 0 4px; }
.prev { left: 0; border-radius: 0 4px 4px 0; }
.prev:hover, .next:hover { background-color: rgba(0, 0, 0, 0.8); }

.dots {
  text-align: center;
  padding: 12px;
  background: #222;
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: #717171;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s;
}

.active, .dot:hover { background-color: #fff; }

.fade {
  animation: fadeEffect 0.8s;
}

@keyframes fadeEffect {
  from { opacity: 0.4; }
  to { opacity: 1; }
}