*, *::before, *::after {
    box-sizing: border-box;
}

@font-face {
    font-family: 'Open Sans';
    src: url('fonts/OpenSans-VariableFont_wdth,wght.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    scroll-behavior: smooth;
    --primary: oklch(0.4504 0.0949 74.26);
    --secondary: oklch(0.908 0.1282 188.42);
    --tertiar: oklch(0.5896 0.0927 178.9);
    --accent: oklch(0.2175 0.038 151.82);
    --background: oklch(0 0 0 / 40%);
    --border: 2%;
}

.container {
    max-width: 80rem;
    margin-inline: auto;
    padding: 0 1rem;
}

.overlay-link {
    position: absolute;
    inset: 0;

    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}

body {
    margin: 0;
}

button {
    border-radius: var(--border);
    font-size: 2rem;
    padding: 0.5rem 1rem;
    color: var(--primary);
}
.button{
    position: relative;
    padding: 1rem 2rem;
    background: white;
    width: fit-content;
    border:solid .1rem black;
    border-radius: var(--border);
    p{
        color: var(--primary);
        margin:0;
        font-weight: bold;
    }
    :hover{
        transform: translateY(-4px);
        box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    }
}
.contrast{
    background-color: var(--background);
    border-radius: var(--border);
}
.visually-hidden{
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: black;
    color: white;
    padding: 8px;
    z-index: 100;
}

.skip-link:focus {
    top: 10px;
}
.horizontaal{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}
header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-inline: 2rem;
    font-size: 2rem;

    div {
        position: relative;
        font-weight: bold;
        color: var(--primary);
    }

    nav:nth-child(2) {
        display: none;
    }

}

.hero {
    padding: 2rem;
    background: url("/afbeeldingen/algemeen/banner.jpg") no-repeat center;
    background-size: cover;

    h1 {
        margin-bottom: 3rem;
        max-width: 33rem;
        font-size: 4rem;
    }

    label {
        font-size: 2rem;
    }

    div:not(:first-child) {
        display: flex;
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 1.5rem;

        input {
            height: 3rem;
            border-radius: var(--border);
            font-size: 2rem;
            flex-grow: 1;
            max-width: 20rem;
        }
    }
}



footer {

    background-color: var(--accent);
    color: white;
    margin-top: -1rem;

    .container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: stretch;
        padding: 2rem;
        gap: 2rem;

        div {
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: stretch;
            gap: .5rem;
            width: fit-content;
            padding: 1rem;
            flex-grow: 1;

            h2 {
                margin: 0 0 1rem;
                width: fit-content;
            }

            label {
                width: fit-content;
            }

            hgroup p {
                margin: 0 0 1rem;
            }

            textarea {
                flex-grow: 1;
                margin-bottom: 1rem;
            }

            input {
                height: 1.5rem;
                padding: 1rem;
            }

            button {
                font-size: 1.5rem;
                margin: auto 0 0 auto;
                width: fit-content;
            }

            iframe {
                border-radius: var(--border);
                flex-grow: 1;
                height: 20rem;
            }

            input, textarea {
                background-color: var(--tertiar);
                border-radius: 2%;
                font-size: 1rem;
            }
        }
        div:not(:nth-child(2)) {
        flex-grow: 10;
    }

    }
}

@media (min-width: 1100px) {

    .extra {
        display: revert;
    }

}