*, *:before, *:after {
    box-sizing: border-box;
}

:root {
    --primary: oklch(0.962 0.005 17.251);
    --secondary: oklch(0.756 0.14 176.954);
    --tertiary: oklch(0.462 0.244 271.539);
    --zwart: oklch(0 0 1);
    --wit: oklch(1 0 0);
    --lichtgrijs: oklch(0.375 0.014 217.763);
    --error: oklch(0.527 0.203 11.482);
    line-height: 1.6;
    font-family: Arial, Helvetica, sans-serif;
    scroll-behavior: smooth;
}

:focus-visible {

}

*:focus {
    font-weight: bold;
    border: 0.3em solid var(--tertiary);
}

.skiplink {
    background: var(--primary);
    border-radius: 10px;
    left: 25%;
    padding: 0.5em;
    position: absolute;
    transform: translateY(-250%);
    transition: transform 1s;


}

.skiplink:focus {
    transform: translateY(0%);
}

a.skiplink:focus {
    text-decoration: none;
}


header {
    background-color: var(--secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
}

.mininav {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.4em;
    background-color: inherit;
    border: 0.1em solid var(--zwart);
    cursor: pointer;

    &:hover {
        background-color: powderblue;
    }

}
.navbar.show {
    display: flex;
}


.navbar {
    display: none;
    padding: 1em;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: var(--primary);

    ul {
        list-style-type: none;
        text-align: center;
        display: flex;
        justify-content: flex-end;
        padding: 0;
        margin: 0;

    }
    a {
        text-decoration: none;
        color: var(--zwart);
        padding: 2em;
    }
    a:hover {
        text-decoration: underline;
        font-weight: bold;
        transition: 0.3s ease-in-out 0.1s;
    }
}

pre {
    white-space: pre-wrap;
    max-width: 100%;
}





body {
    background-color: var(--primary);
    display: flex;
    flex-direction: column;
    min-width: 320px;
    padding-inline: 1rem;
    justify-content: center;
    width: 90%;
    margin: auto;
}

form {

    div {
        display: flex;
        flex-direction: column;

        input {
            max-width: 20em;
            font-size: 1.1em;
            border-radius: 5px;
        }

        label {
            margin: 1em 0 0.3em 0;
        }

    }
}

#verstuurknop {
    padding: 1em;
    margin: 1em 0;
    background-color: oklch(0.551 0.245 278.264 / 0.51);
    border-radius: 3px;
    font-size: 1em;
}



input:focus:invalid {
    border: 1px dashed var(--zwart);
}


footer {
    background-color: var(--secondary);
    margin-top: 2em;
}










@media screen and (min-width: 20em) {

    header {
        flex-direction: column;
    }

    .navbar  {
        width: 100%;
        display: flex;
        justify-content: center;

        ul {
            width: 100%;
            flex-direction: column;
            text-align: center;

        }

        li {
            padding: 1em;
            border: 1px solid var(--zwart);
        }



    }




}
@media screen and (min-width: 50em) {

    .mininav {
        display: none;
        visibility: hidden;
    }



    header {
        flex-direction: row;
        justify-content: space-between;

    }

    .navbar  {
        width: 100%;
        display: flex;
        justify-content: center;
        background-color: var(--secondary);

        ul {
            width: 100%;
            flex-direction: row;
            text-align: center;
            background-color: var(--wit);

        }

        li {
            display: contents;

        }

        a {
            border: 1px solid var(--zwart);
            padding: 1em;
            width: 50%;

        }

    }

    img {
        padding-right: 10em;
    }


}

