:root {
    --storyboard-height: calc(100vh - 6rem);
}

@media (max-width: 1679px) {
    html {
        font-size: 12px;
    }
}

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


/* --- CONTAINERS */

body {
    /* aspect-ratio: unset; */
}

main {
    height: calc(100% - 6rem);
}

svg {
    display: block;
    max-width: 100%;
    max-height: var(--storyboard-height);
    margin: auto;
}

/* --- NAVIGATIE */

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

nav.nav-top {
    text-align: left;
    min-height: 1.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    width: auto;
    z-index: 3;
    top: 0.25rem;
    left: 3rem;
    position: absolute;
}


div.storyboard {
    width: 100%;
    height: 100%;
    height: var(--storyboard-height);
    display: none;
    background-color: #003440;
}

.storyboard-wrapper {
    width: 100%;
    display: flex;
}

.screens {
    z-index: 2;
    width: 50%;
    background-color: unset;
    color: #ffffff;
    border-radius: 1.25rem;
    height: var(--storyboard-height);
    align-content: center;
    padding-top: 4rem;
    padding-bottom: 4rem;
    padding-right: 4rem;
    padding-left: 3rem;
}

.screens.initialw {
    width: 30%;
}

.screens .text {
    font-size: 1.25rem;
    line-height: 1.85;
    font-weight: normal;
}

.screens .text p {
    font-size: unset;
    line-height: unset;
    color: unset;
    font-family: unset;
    font-weight: inherit;
    margin-bottom: unset;
}

.screens legend .text {
    font-size: 1.5rem;
}

.screens h2 {
    font-size: 4.375rem;
    line-height: 1.06;
    margin-bottom: 2rem;
}

.screens h3 {
    font-size: 3.4375rem;
    color: #00B4FA;
}

.storyboard .text-image-wrapper {
    margin-top: 3rem;
}

a.button {
    color: #ffffff;
    text-decoration: none;
}

.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 2rem;
    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: 3rem;
    gap: 0.625rem;
    text-decoration: none;
    border: none;
}

a.button.next {
    background-image: url('/assets/images/icon-arrow-right.svg');
    background-size: 1.1rem;
    background-repeat: no-repeat;
    background-position: right 2.5rem center;
    padding: 0 4rem 0 2rem;
    height: 3rem;
    line-height: 1.5rem;
    justify-content: center;
    text-align: center;
}

a.button.prev {
    background-image: url('/assets/images/icon-arrow-left.svg');
    background-size: 1.1rem;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 1.5rem;
    width: 3rem;
    height: 3rem;
    vertical-align: bottom;
}

.answer {
    width: fit-content;
    background-color: var(--color-licht-grijs);
    border-radius: 1rem;
    color: var(--color-donker-groen);
    font-family: "Lufga Bold", Helvetica, Arial, sans-serif;
    cursor: pointer;
    margin-top: 0.5rem;
    padding: 0.625rem;
    line-height: 1.5rem;
    align-items: center;
}

.answer:hover {
    transform: scale(1.03);
}

.poll-screen .answer:hover {
    transform: unset;
}

.question-screen .answer .text {
    display: inline-block;
    margin-left: 0.5rem;
    line-height: 1;
    vertical-align: unset;
}

.answer_index {
    display: inline-block;
    background-color: var(--color-groen);
    height: 2.75rem;
    width: 2.75rem;
    border-radius: 0.5rem;
    text-align: center;
    align-content: center;
    font-size: 1.5rem;
}

.poll-screen .answer_index {
    background-color: transparent;
    margin-top: 0px;
    vertical-align: baseline;
    text-align: left;
}

.answer.given.wrong {
    background-color: var(--color-licht-rood);
    background-image: url('/assets/images/icon-cross.png');
    background-size: 1.5rem;
    background-repeat: no-repeat;
    background-position: left 0.5rem center;
    padding: 1rem 1.25rem 1rem 2.25rem;
}

.answer.given.correct {
    background-color: #E0EBFB;
    background-image: url('/assets/images/icon-correct.png');
    background-size: 1.5rem;
    background-repeat: no-repeat;
    background-position: left 0.5rem center;
    padding: 1rem 1.25rem 1rem 2.25rem;
}

.storyboard .statement,
.storyboard .text.poll,
.storyboard .text.question {
    color: var(--color-blauw);
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.storyboard .answer:last-of-type {
    margin-bottom: 1rem;
}

.progress {
    position: absolute;
    z-index: 1;
    width: 100%;
}

.progressbar {
    font-family: "Lufga SemiBoldwidth", Helvetica, Arial, sans-serif;
    width: 100%;
    text-align: right;
    position: absolute;
    top: 0px;
    right: 3rem;
    font-size: 1.125rem;
    font-weight: 600;
}



.poll-screen .answer,
.poll-screen .result {
    width: 100%;
    text-align: left;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-bottom: 0.125rem;
    display: inline-block;
}

.poll-screen .answer {
    background-color: transparent;
    color: #ffffff;
    padding-left: 0px;
}

.poll-screen fieldset {
    padding: 0px;
    border: unset;
    margin: 0px;
    width: calc(100% - 6rem);
    display: inline-block;
}

.poll-screen legend {
    display: inline-block;
    float: left;
    width: 70%;
    padding-top: 0px;
    font-size: 0.9rem;
    animation: appear 2s forwards;
    position: relative;
    min-height: 4rem;
    align-content: center;
}

.poll-screen dt.text {
    display: inline-block;
    float: left;
    width: 70%;
    padding-top: 0px;
    font-size: 0.9rem;
    animation: appear 2s forwards;
    position: relative;
}

.poll-screen .resultcolumn {
    display: inline-block;
    position: relative;
    width: 30%;
    float: right;
}

.poll-screen .result .answer {
    background-color: transparent;
    color: #ffffff;
}

.poll-screen .resultbar {
    height: 100%;
    position: relative;
}

.poll-screen .result .text {
    display: inline-block;
}

.poll-screen .result .resulttext {
    display: inline-block;
    width: 4rem;
    height: 2rem;
    vertical-align: middle;
    align-content: center;
    border-right: 1px solid;
    text-align: right;
    padding-right: 0.5rem;
}

.poll-screen .result .resultbar-wrapper {
    width: calc(100% - 5rem);
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.poll-screen .resultbar {
    height: 1.5rem;
    margin-bottom: 0px;
    background-color: var(--color-blauw);
}

.poll-screen .insert-answers {
    background-color: var(--color-licht-grijs);
    border-radius: 0.75rem;
    color: var(--color-donker-groen);
    width: auto;
    display: inline-block;
    text-align: center;
    padding: 0.625rem;
    align-items: center;
}

.poll-screen .insert-answers button {
    height: 2.75rem;
    color: #ffffff;
    padding: 0px;
    width: 2.75rem;
    background-color: var(--color-groen);
    padding-block: 0px;
    padding-inline: 0px;
    border-width: 0px;
    border-style: unset;
    border-color: unset;
    font-size: 1.5rem;
    border-image: unset;
    line-height: 1;
    border-radius: 0.25rem;
}

.poll-screen .answer-input {
    display: inline-block;
    width: 4rem;
    text-align: center;
    font-size: 1.5rem;
    padding: 0px;
    border-width: 0px;
    border-style: unset;
    border-color: unset;
    border-image: unset;
    background-color: transparent;
    line-height: 2;
    color: #002E19
}

footer,
main .heading h1 {
    display: none;
}


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


    .screens {
        padding-right:3rem;
    }

    nav.nav-bottom {
        position: fixed;
    }
}