body {
    background-color: antiquewhite;
    height: 100vh;
    margin-top: 150px;
    margin-right: 20px;
    margin-left: 20px;
    font-family: 'Open Sans', sans-serif;
}


.header_eingebunden {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
}

.s1 {
    text-decoration: underline
}

.herausforderung_images_container1 {
    display: flex;
    flex-wrap: wrap; /* Erlauben Sie das Umwickeln der Elemente auf eine neue Zeile */
    justify-content: center; /* Zentrieren Sie die Elemente horizontal */
}

.herausforderung_images_singel {
    max-width: calc(50% - 20px); /* Setzen Sie die maximale Breite für die Bilder auf 50% minus den Rand */
    max-height: 700px; /* Maximale Bildhöhe auf 300px begrenzen */
    width: 700px;
    margin: 15px;
}

/* Media Query für kleinere Bildschirme */
@media (max-width: 600px) {
    .herausforderung_images_singel {
        max-width: calc(100% - 20px); /* Bei kleineren Bildschirmen die maximale Breite auf 100% setzen */
    }
}

.herausforderung_images_doppel {
    max-width: calc(50% - 20px); /* Setzen Sie die maximale Breite für die Bilder auf 50% minus den Rand */
    max-height: 300px; /* Maximale Bildhöhe auf 300px begrenzen */

    margin: 15px;
}

/* Media Query für kleinere Bildschirme */
@media (max-width: 600px) {
    .herausforderung_images_doppel {
        max-width: calc(100% - 20px); /* Bei kleineren Bildschirmen die maximale Breite auf 100% setzen */
    }
}


/* Stile für den Slider */
.slider-container {
    position: relative;
    max-width: 600px;
    margin: auto;
}

.slider {
    position: relative;
}

.slide {
    display: none;
    width: 100%; /* Stellen Sie sicher, dass die Breite 100% des Containers beträgt */
    height: 550px;
    object-fit: cover;
    transition:  1s ease-out; /* Übergangsanimation */
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    z-index: 21;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}