.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

/* slide show */
.slideshow-container {
    position: relative;
    width: 1000px; /* Setzen Sie die Breite des Containers */
    height: 550px; /* Setzen Sie die Höhe des Containers */
    text-align: center;
    margin: 0 auto; /* Zentrieren Sie den Container horizontal */
    overflow: hidden; /* Überlauf von Inhalten verhindern */
}

.mySlides {
    display: none;
}

.prev, .next {
    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;
    cursor: pointer;
}

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

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

.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.caption-container {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px;
    color: white;
}



.active, .dot:hover {
    background-color: #717171;
}

/* Responsives Layout für Geräte mit einer maximalen Breite von 600px */
@media only screen and (max-width: 600px) {
    .slideshow-container {
        width: 100%; 
        height: 290px; /* Höhe automatisch anpassen */
        overflow: hidden; /* Überlauf von Inhalten verhindern */

    }

    .mySlides_fade {
        display: block; /* Slides anzeigen */
        width: 100%; /* Breite auf 100% setzen */
        height: auto; /* Höhe automatisch anpassen */
    }

    .prev, .next {
        font-size: 14px; /* Schriftgröße für die Buttons anpassen */
        padding: 10px; /* Padding für die Buttons anpassen */
        margin-top: -16px; /* Margin für die Buttons anpassen */
    }
}