* {
    padding: 0;
    margin: 0;
    
}


#flexbox {
    width: 100%;
    height: 100%;
    
    position: fixed;
    overflow: hidden;
    top: -0px;
    left: -0px;

    display: flex;
    justify-content: center;
    align-items: center;

    background-color: rgba(0, 0, 255, 0.6);
    z-index: 1;
}

.slideshow {
    position: relative;
    top: -0;
    width: 600px;max-width: 99%;
    height: 600px;
    background-color: aquamarine;
    
    box-shadow: -80px -40px 30px rgb(24, 21, 21);

    
z-index: 2;

}

.slide {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    opacity: 0;
    transition: opacity 2s;
}

.slide-bild {
    width: 100%;
    height: 100%;
    position: relative;

}

.slide-textbereich {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    bottom: 0px;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.658);
    color: white;
    text-align: center;
    font-family: sans-serif;
    padding: 0 15% 0 15%;

}

.slide-ueberschrift {
    font-size: 100%;
    margin: 10px;
    padding-top: 0%;
}

.slide-beschreibung {
    font-size: 70%;
    margin: 0;
    padding-top: -2%;
}

.pfeil {
    position: absolute;
    top: 0;
    bottom: 0;
    font-size: 100px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 10%;
    color: rgb(139, 135, 135);
    user-select: none;
    cursor: pointer;
}

.pfeil:hover {
    color: rgb(36, 33, 33);
}

.pfeil-links {
    left: 0;
}

.pfeil-rechts {
    right: 0;
}

.indikatorenliste {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    list-style-type: none;
    font-size: 40px;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.indikator {
    padding: 0 10px;
    user-select: none;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 2s;
}

.aktiv {
    opacity: 1;
}







@media (max-width: 912px) {   
    .slideshow {

        width: 500px;
        height: 500px;    
    }

    body {
        height: 110vh;
    }
    
}

@media (max-width: 500px) {   
    .slideshow {

        width: 450px;
        height: 450px;
       
    
    }
    
}

@media (max-width: 450px) {   
    .slideshow {

        width: 400px;
        height: 400px;
       
    
    }
    
}

@media (max-width: 400px) {   
    .slideshow {

        width: 350px;
        height: 350px;
       
    
    }
    
}

@media (max-width: 350px) {   
    .slideshow {

        width: 300px;
        height: 300px;
       
    
    }
    
}




@media (max-height: 600px) {   
    .slideshow {

        width: 400px;
        height: 400px;
       
    
    }

    body {
        height: 110vh;
    }
    
}




@media (max-height: 414px) {   
    .slideshow {

        width: 350px;
        height: 350px;
       
    
    }
    
}

@media (max-height: 393px) {   
    .slideshow {

        width: 280px;
        height: 280px;
       
    
    }
    
}
/*

@media (max-width: 1100px) {
    .slideshow {

        width: 70vw;
        height: 80vh;
        
        position: relative;
    }

    .slide-beschreibung {
        font-size: 1.4em;
        margin: 0;
        padding-top: 20%;
    }
}




@media (max-width: 940px) {

    html,
    body {}


    .slide-bild {
        width: 100%;
        position: relative;
        bottom: 0px;
    }

    .slideshow {
        width: 100vw;
        height: 70vh;
        box-shadow: 0px 0px 10px gray;
        position: relative;
    }

    .slide-textbereich {
        position: absolute;
        left: 0;
        bottom: 0;
        right: 0;
        top: 70%;
        background-color: rgba(0, 0, 0, 0.5);
        color: white;
        text-align: center;
        font-family: sans-serif;
        padding: 0 15% 0 15%;
    }

    .slide-bild {
        height: 100%;
        position: relative;

    }

    .slide-ueberschrift {
        font-size: 2em;
        margin: 1.3vh;
    }

    .slide-beschreibung {
        font-size: 1.4em;
        margin: 0;
        padding-top: 2vh;
    }
}
