@charset "utf-8";
/* slider.css */
.slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-top: 20px; /* Optional: Abstand zum vorherigen Inhalt */
  margin-bottom: 20px; /* Optional: Abstand zum nächsten Inhalt */
}

.slider {
  display: flex;
  flex-direction: row; 
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: auto;
}

.text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 24px;
  font-weight: bold;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
  text-align: center;
}

/* Optional: Stil für Navigationspfeile */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}
/* CSS Document */

