:root {
    --slideshow-duration: 5s;
}

#slideshowOverlay .slideshow {
    width: 80vw;
    height: 60vh;
    background: rgba(255, 255, 255, 0.1); /* Ter indicatie, kan later verwijderd worden */
    z-index:99999999;
}

.slideshow {
    position: relative;
    overflow: hidden;
}

.fullscreen {
    width: 100vw;
    height: 100vh;
}

.container {
    width: 100%;
    max-width: 800px;
    height: 400px;
    margin: auto;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s;
    pointer-events: none;
}

.slide.show {
    opacity: 1;
    pointer-events: all;
}