body, html {
    padding: 0;
    margin: 0;
    height: 100%;
}

#banner {
    background-color: #1e88e5;
    color: white;
    font-size: xx-large;
    font-variant: small-caps;
    text-decoration: underline;
}

#copyright {
    text-align: right;
    line-height: 30px;
    padding: 10px;
    background-color: #1e88e5;
    color: white;
}

#blogs {
    background-color: #6ab7ff;
    text-align: center;
}

h3 {
    text-decoration: underline;
}

#navigatie {
    background-color: #6ab7ff;
}

#navigatie ul {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
}

#navigatie li {
    display: inline-block;
    font-family: sans-serif;
    font-size: 1.2em;
    line-height: 50px;
    height: 50px;
    width: 250px;
    vertical-align: center;
}

#navigatie li a {
    text-decoration: none;
    color: white;
}

#recepten {
    padding: 20px;
}

.figuur {
    text-align: center;
}

/* Toegevoegde regels voor versie 1 */
body {
    min-height: 100vh;
    height: auto;
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    grid-template-rows: 140px auto auto;
    grid-template-areas:
        "banner banner"
        "navigatie recepten"
        "copyright copyright";
}

#banner {
    grid-area: banner;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#navigatie {
    grid-area: navigatie;
}

#navigatie li {
    display: block;
}

#recepten {
    grid-area: recepten;
}

#blogs {
    grid-area: navigatie;
    align-self: start;
    margin-top: 250px;
}

#copyright {
    grid-area: copyright;
}

figure.figuur {
    margin: 0;
}

.figuur img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 600px) {
    body {
        grid-template-columns: 1fr;
        grid-template-areas:
            "banner"
            "navigatie"
            "recepten"
            "blogs"
            "copyright";
    }

    #navigatie li {
        display: inline-block;
        width: 25%;
        box-sizing: border-box;
    }

    #blogs {
        grid-area: blogs;
        margin-top: 0;
    }
}
