/* gleicher Hintergrund wie s3_style.css */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: rgb(168,168,168);
  overflow: hidden; /* keine Scrollbalken */
}

.slideshow-container {
  position: relative;
  max-width: 100%;
  height: 100vh;
  margin: auto;
  overflow: hidden;
}

.slide {
  display: none;
  height: 100vh;
}

.slide img {
  width: 100%;
  height: 100vh;
  object-fit: contain; /* statt cover */
  background-color: rgb(168,168,168); /* füllt evtl. Leerräume */
}

/* Pfeile */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 10%;
  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);
  border-radius: 3px;
}

.next {
  right: 20px;
}

.prev {
  left: 20px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.2);
}

/* Animation */
.fade {
  animation-name: fade;
  animation-duration: 0.8s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}
