.is-hidden {
    display: none !important; /* utility class */
}

html::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: var(--slide-page-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    pointer-events: none;

    transition: background-image 0.4s ease;
}

html::after {
    content: "";
    position: fixed;
    inset: 0;
    background-color: var(--slide-page-overlay-color);
    z-index: -1;
    pointer-events: none;

    transition: background-color 0.4s ease;
}




.slideshow-container {
    width:100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-content: center;
    flex-wrap: wrap;
    justify-content: center;
    background-color: transparent;
    color: #ffffff;
    font-family: "Lufga Bold", Helvetica, Arial, sans-serif;
    line-height: 1;

    display: none; /* BEGINSTAND --- zie startscherm "start knop" */
}

.slideshow-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slides {
    z-index: 2;
    width: calc(100% - 6rem);
    background-color: unset;
    justify-self: center;
    align-self: center;
}

.slideshow-meta {
    width: 100%;
    position:absolute;
    z-index: 9999999;
    right:0;
    top: 3rem;
    display:flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: right;
    padding-right: 8rem;
    font-size: 1.4rem;
}

.slideshow-nav {
    width: 100%;
    position:absolute;
    z-index: 9999999;
    left:0;
    bottom: 3rem;
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: right;
    padding-right: 3rem;
    gap: 2rem;
}

/* --- BUTTONS ---  */

nav.slideshow-nav .button {
    transition: background-color 1s ease, opacity 1s ease;
    display: flex;
    align-self: center;
    width:fit-content;
    background-color: #00B4FA;
    color: #ffffff;
    height: 3rem;
    padding: 0.625rem 2.4rem;
    justify-content: center;
    align-items: center;
    border-radius: 1.5rem;
    font-family: 'Lufga Bold';
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.5rem; /* 150% */
    gap: 0.625rem;
    text-decoration: none;
    border:none;
}

nav.slideshow-nav a.button.next::after {
    content: '';
    vertical-align: middle;
    display: flex;
    width: 1.1rem;
    height: 1.1rem;
    margin-right: 0.2rem;
    background: url('/assets/images/icon-arrow-right.svg') center no-repeat;
    background-size: 1.1rem;
}

nav.slideshow-nav a.button.prev {
    width: 3rem;
    height: 3rem;
    padding: 0;
    border-radius: 1.5rem;
}

nav.slideshow-nav a.button.prev::after {
    content: '';
    width: 1.1rem;
    height: 1.1rem;
    background: url('/assets/images/icon-arrow-left.svg') center no-repeat;
    background-size: 1.1rem;
    display: flex;
    vertical-align: middle;
}



/* --- SLIDES ---  */

.slides p {
    font-family: "Lufga ExtraBold", Helvetica, Arial, sans-serif;
    font-size: 2rem;
    line-height: 1;
}    


.slides div.text.question-text p {
    text-align: center;
    font-size: 5rem;
    line-height: 1;
}

.slides div.text.sub-question-text p {
    text-align: center;
    margin-top: 3rem;
    font-size: 3rem;
    color:#00B4FA;
}

.slides div.list-slide ol,
.slides div.list-slide ul {
    justify-self: center;
    font-family: "Lufga ExtraBold", Helvetica, Arial, sans-serif;
    font-size: 3rem;
    text-align: left;
}

.slides div.list-slide ul.none,
.slides div.list-slide ol.none {
    list-style: none;
}

.slides div.list-slide ol.font-klein,
.slides div.list-slide ul.font-klein {
    font-size: 2.5rem; /* standaard keuze */
}
.slides div.list-slide ol.font-middel,
.slides div.list-slide ul.font-middel {
    font-size: 3.5rem;
}
.slides div.list-slide ol.font-groot,
.slides div.list-slide ul.font-groot {
    font-size: 4.5rem;
}

/* --- VIDEO SLIDE */

.slides div.video-slide div.vimeo-container,
.slides div.video-slide div.yt-container,
.slides div.video-slide div.mp4-container {
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: -100;
    top: 0;
    left: 0;
    display: flex;
    align-content: center;
    flex-wrap: wrap;
}

iframe {
    display: flex;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 70%;
}

/* --- QUESTION / LIST */

.question-text-wrapper,
.list-text-wrapper {
    width: 70%;
    justify-self: center;
}

/* --- TEXT-IMAGE */

.slides div.text-image-wrapper {
    height: calc(100vh - 22rem);
}

.slides div.text-image-slide div.text {
    z-index: 2;
    width:55%;
    text-align: left;
    padding-right: 3rem;
}

.slides div.text-image-slide div.text > h1,
.slides div.text-image-slide div.text > h2 {
    font-size: 3rem;
    line-height: 5rem;
}

.slides div.text-image-slide div.text.font-klein p {
    font-size: 2.5rem; /* standaard keuze */
}
.slides div.text-image-slide div.text.font-middel p {
    font-size: 3.5rem;
}
.slides div.text-image-slide div.text.font-groot p {
    font-size: 4.5rem;
}


.slides div.text-image-slide div.image {
    position: fixed;
    z-index: 1; /* achter */

    background-color: transparent; 
    overflow: hidden;

    aspect-ratio: 7 / 9;
    height: 100vh;

    right: 0;
    top: 0;
    
}

.slides div.text-image-slide div.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;        /* Scales image to fill container without distortion */
    object-position: center;  /* Centers the image inside */
    display: block;           /* Removes unwanted inline-block whitespace */
}



@media only screen
  and (pointer: coarse)
  and (min-width: 768px)
  and (max-width: 1366px)
  and (orientation: landscape) {

    /* slideshow */

    .slides div.text-image-slide div.text {
        width: 64%;
    }
    .slides div.text-image-slide div.image {
        right: -20rem;
    }
    .question-text-wrapper, .list-text-wrapper {
        width: 80%;
    }

}