:root {
    line-height: 1.6;
    scroll-behavior: smooth;
    --bgc: oklch(0.99 0.01 002);
    --txt: oklch(0.292 0.025 175.217);
    font-family:  Leelawadee,sans-serif;
    --fnt-exp: fantasy, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

.container {
    max-width: 90rem;
    margin-inline: auto;
    padding: 1rem;
}

body{
    min-width: 320px;
    width: 95vw;
    padding-inline: 1rem;
    justify-content: center;
    background: var(--bgc);
}

main, footer{
    margin-inline: 1rem;
    padding-inline: 1rem;
}

header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: oklch(0.956 0.12 204);
}

nav, .mininav {

     ul {
        gap: 10px;
        list-style: none;
        display: flex;
        flex-wrap: wrap;
         padding-inline-start:  1em;
    }

    li {
        padding: 1em;
        display: inline-block;

    }

    a {
        text-decoration: none;
        padding: 1em;
        border: 1px solid blue;
        background-color: oklch(0.940 0.10 220);
    }

    a:hover {
        background-color: var(--bgc);
        color: oklch(0.582 0.082 195.13);
        transition: 0.3s ease-in-out 0.1s;
    }

    a:visited {
        color: var(--txt);
    }
}



.intro {
    img[src="profielfoto.png"] {
        justify-self: center;
        border: 2px dashed oklch(0.592 0.194 141.921);
    }
}

.inhoudbox {

    ul {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        flex-wrap: wrap;
        overflow: auto;
        gap: 3rem;
        align-items: flex-end;
    }

    li {
        list-style-type: none;
    }


    img {
        max-width: inherit;
        width: 15em;
        display: block;
        min-width: 7em;
        margin: auto;
    }

    a {
        text-decoration: none;
        color: var(--txt);
        max-width: inherit;
        font-family: var(--fnt-exp);
    }

    h2 {
        display: flex;
        justify-content: center;

    }
}

.tekstbox {
        border: 1px solid var(--txt);
        display: flex;
        justify-content: center;
        max-width: 150px;

    &:hover {
        transition: 0.3s ease-in-out 0.1s;
        background-color: oklch(0.752 0.55 125);

    }
}

img {
    max-width: 10%;
    width: 8em;
    display: block;
    min-width: 7em;
}

img[alt="profielfoto"] {
    border: black solid 1px;
}

.minlist ul {
        padding: 0 1.5rem;
}

.introgegevens {
    display: inline-block;
    justify-content: flex-end;
}

.forumulier {
    border-radius: 1em;
    line-height: 1.8em;
    label {
        display: flex;
    }
    p:last-child {
        border: var(--txt) solid 1px;
        justify-self: center;
        padding: 0.5rem;
    }
}

.optie {
    display: flex;
}

input[type="text"],input[type="email"],input[type="textarea"]  {
    font-size: larger;

}

.button {
    border: 2px solid oklch(0.906 0.124 148);
}

.mininav {
    display: none;
}

@media screen and (width <= 52em) {
    nav {
        display: none;
    }

    .mininav {
        display: grid;

    }
    header {
        display: flex;
        flex-direction: column;
    }
}

@media screen and (width <= 42em) {
    nav {
        display: none;
    }

    .mininav ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    header {
        display: flex;
        flex-direction: column;
    }
    .mininav li {
        display: contents;
    }
}