:root {
    --dark-orange: rgb(194, 112, 16);
}

header {
    background-color: lightgreen;
}

header img {
    width: 10rem;
    height: auto;
    float: left;
    margin-right: 3rem;
}

header nav {
    max-width: 80%;
    display: flex;
    justify-content: start;
    align-items: center;
    margin-bottom: 3rem;
}


header nav a,
header nav p {
    overflow: unset;

    color: white;
    display: flex;
    flex-wrap: nowrap;
    max-height: 5em;
    width: 4em;

    text-decoration: none;
    border: solid white;
    background-color: green;
    border-width: 2px;
    align-items: center;
    justify-content: center;
    padding: 1.5em;

    margin-right: 3px;

    font-weight: 600;

}

header nav a:hover {
    color: green;
    background-color: white;
    border: solid rgb(0, 128, 0);
}


header nav p {
    color: white;
    background-color: var(--dark-orange);
    border: solid white;
}


main {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;

}

.introductie {
    background-color: lightgoldenrodyellow;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 0.5rem;
    padding-top: 0.25rem;
    border-radius: 2rem;
}

.tekstenafbeelding {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.tekstenafbeelding img {
    max-width: 50%;
    height: auto;
    object-fit: cover;
    border-radius: 1rem;
}

.tekstenafbeelding p:last-of-type {
    font-size: calc(0.6rem + 0.4vw);
    font-weight: 600;
    margin-top: 2em;
    margin-bottom: 2em;
}

footer {
    background-color: lightgoldenrodyellow;
    margin-top: 3em;
}

footer div {
    display: flex;
    justify-content: space-around;
    padding-top: 2em;
    padding-bottom: 2em;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;

}

footer div a,
footer div p {
    font-size: 0.8em;
    color: black;
    padding: 0.25rem;
}

footer div p a {
    font-size: 1em;
}

footer a:hover {
    color: white;
    background-color: sandybrown;
    text-decoration: underline;
}

h1,
h2,
h3,
h4,
p,
a {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

h1 {
    font-size: calc(1.7rem + 0.4vw);
    margin-top: 1em;
    margin-bottom: 1.5em;
}

h2 {
    font-size: 1.5em;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

h3 {
    font-size: 1.35em;
    margin-top: 1em;
    margin-bottom: 1em;
    text-decoration: underline;
}

main p {
    max-width: 80%;
    font-size: calc(0.8rem + 0.4vw);
    margin-top: 0.5em;
    margin-bottom: 1em;
    line-height: 1.2em;
}

main img {
    max-width: 50%;
    height: auto;
    object-fit: cover;
}

.button {
    overflow: unset;

    color: white;
    display: flex;
    flex-wrap: nowrap;
    max-width: 8rem;

    text-decoration: none;
    border: solid white;
    background-color: green;
    border-width: 2px;
    align-items: center;
    justify-content: center;
    padding: 1rem;

    margin-bottom: 1rem;

    font-weight: 600;
}

.button:hover {
    color: green;
    background-color: white;
    border: solid green;
}

.formules p {
    color: rgb(30, 50, 30);
}

.profielfoto {
    max-height: 20rem;
}

.container {
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    background-color: var(--dark-orange);
    padding: 20px;
    margin-top: 2em;
}

.container h2 {
    color: white;
}

form {
    color: white;
    display: flex;
    flex-direction: column;
    max-width: 40em;
    margin-top: 1em;
    min-width: 25em;
}

form label {
    margin-top: 1em;
    margin-bottom: 0.5em;
}

form button {
    margin-top: 2em;
    font-size: 1em;
    font-weight: bold;
    padding-top: 1em;
    padding-bottom: 1em;
    color: black;
    background-color: sandybrown;
    border-width: 2px;
    border-color: white;
}

form button:hover {
    background-color: white;
    cursor: pointer;
    border-width: 2px;
    border-color: sandybrown;
}

.formulierpositie {
    display: flex;
    justify-content: center;
}

@media screen and (max-width: 750px) {

    header nav {
        display: flex;
        flex-direction: column;
        align-items: start;
        background-color: var(--dark-orange);
        max-width: 10rem;
    }

    header nav a,
    header nav p {
        background-color: transparent;
        border: none;
        width: 7rem;
    }

    header nav a:hover {
        border: none;
    }

    header nav p {
        color: var(--dark-orange);
        background-color: white
    }

}

@media screen and (max-width: 900px) {
    .tekstenafbeelding {
        flex-direction: column;
        align-items: center;
    }

    .tekstenafbeelding article p {
        min-width: 100%;
    }

    .tekstenafbeelding img {
        min-width: 100%;
    }
}

@media screen and (max-width: 1125px) {
    footer div {
        display: flex;
        flex-direction: column;
        padding-bottom: 1.5em;
        margin-left: 2em;
        margin-right: 2em;
    }

    footer div a,
    footer div p,
    footer div p a {
        margin-bottom: 1em;
        line-height: 1.5em;
    }
}