html {
    width: 100%;
    height: 100%;
    background-image: url(../images/nso_slide_bg_generic.webp);
    background-repeat: no-repeat;
    background-size: cover;
    text-align:center;
}

body {
    margin: 0;
}

/* SVG SLIDES & ANIMATION */

.story_wrapper {
    aspect-ratio: 3840 / 2113;
    /* slide form-factor / aangeleverd bestand is NIET 16 / 9 */
    width: auto;
    height: 100%;
    overflow: hidden;

    padding: 0;
    margin: 0;

    background-color: transparent;
    color: #ffffff;

    position: absolute;
    bottom: 0;

    left: 50%;
    transform: translateX(-50%);
}

.story_container {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-flow: column-reverse;
}

.story_slide,
.story_slide_active,
.svg_slide,
.svg_frame {
    aspect-ratio: 3840 / 2113;
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0;
}

g.svg_frame {
    opacity: 0;
    visibility: hidden;
    /* hides from interaction but still transitionable */
    transition: opacity 0.5s ease;
}

g.svg_frame.show {
    opacity: 1;
    visibility: visible;
}

.svg_button {
    cursor: pointer;
}

/* ANIMATION */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
}

.animate-attention {
    animation: fadeIn 0.5s infinite alternate;
}

svg foreignObject {
    padding: 0;
    margin: 0;

    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
}