/* Allgemeine Einstellungen */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: rgb(168,168,168);
  overflow: hidden; /* kein Scrollen nötig */
}

/* Container für Slideshow */
.slideshow-container {
  position: relative;
  width: 100%;
  height: calc(100vh - 100px); /* Platz für Thumbnail-Leiste (siehe unten) */
  overflow: hidden;
  background-color: rgb(168,168,168);
}

/* Hauptbilder */
.slide {
  display: none;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Bild vollständig anzeigen */
  background-color: rgb(168,168,168);
}

/* Navigationspfeile */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -30px;
  color: white;
  font-weight: bold;
  font-size: 30px;
  transition: 0.3s;
  user-select: none;
  background-color: rgba(0,0,0,0.3);
  border-radius: 3px;
}

.next { right: 20px; }
.prev { left: 20px; }

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.6);
}

/* Fade-Animation */
.fade {
  animation-name: fade;
  animation-duration: 0.8s;
}

@keyframes fade {
  from { opacity: .4; }
  to { opacity: 1; }
}

/* Miniaturleiste unten */
.thumbnail-bar {
  position: fixed;      /* bleibt immer sichtbar */
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background-color: rgb(168,168,168);
  padding: 10px 0;
  z-index: 10;
}

/* Thumbnails */
.thumbnail-bar .thumb {
  width: 120px;           /* steuert Breite */
  height: 70px;           /* steuert Höhe → bestimmt Gesamthöhe der Leiste */
  object-fit: cover;
  cursor: pointer;
  opacity: 0.6;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.thumbnail-bar .thumb:hover {
  opacity: 1;
  border: 2px solid white;
}

/* Aktives Vorschaubild */
.thumbnail-bar .active-thumb {
  opacity: 1;
  border: 2px solid gray;
}
