.slideshow-mobile {
    background-color: rgba(32, 80, 106, 0.4);
    border-radius: 0.5rem;
    box-shadow: 0px 0px 10px gray;
    position: relative;
}

.slideshow-desktop {
    background-color: rgba(32, 80, 106, 0.4);
    border-radius: 0.5rem;
    box-shadow: 0px 0px 10px gray;
    position: relative;
}

.landscape {
    width: 80vw;
    height: 80vh;
    margin: 15vh auto;
}

.portrait {
    width: 80vw;
    height: 30vh;
    margin: 8vh auto;
}

.slide{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    opacity: 0;
    transition: opacity 500ms ease;
}

.slide-bild {
    position: absolute;
    top : 35px;
    width: 100%;
    height: 90%;
}

.slide-bild { z-index: 1; }

.slide-active {
    opacity: 1;
    z-index: 1;
}

.slide-textbereich {
    font: 16px/1.5 'IBM Plex Sans', sans-serif;
    position: absolute;
    bottom: 10px;
    left: 30%;
    right: 30%;
    color: white;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 10px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 200ms ease, transform 200ms ease;
    pointer-events: none; 
    z-index: 2;
}

 .slide:hover .slide-textbereich {
    opacity: 1;
    pointer-events: auto;
}

.slide:active .slide-textbereich,
.slide:focus .slide-textbereich,
.slide:focus-within .slide-textbereich {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.slide { -webkit-tap-highlight-color: rgba(0,0,0,0); touch-action: manipulation; }

@media (pointer: coarse) {
    .slide-textbereich { transition: opacity 260ms ease, transform 260ms ease; }
} 

.slide-title {
    font-size: 2rem;
    margin: 0 0 5px 0;
}

.slide-title-link {
    color: white;
    text-decoration: none;
}

.slide-beschreibung {
    font-size: 1.2rem;
    margin: 0;
        color: white;
    text-decoration: none;
}

.pfeil {
    position: absolute;
    top:0;
    bottom:0;
    font-size: 2.5rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 15%;
    user-select: none;
      z-index: 2;
}

.pfeil:hover {
    color: white;
}

.pfeil-links { left: 10px; }
.pfeil-rechts { right: 10px; }

.slide-indicators {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    list-style-type: none;
    font-size: 2.5rem;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.indicator {
    color: rgba(255, 255, 255);
    user-select: none;
    padding: 0 10px;
    cursor: pointer;
    opacity: 0.7;
}

.active {
    opacity: 1;
}