body {
    margin: 0;
    padding: 0;
    background-color: #2e2e2e;
    font-family: 'Roboto', sans-serif;
}

/* resonsive nav https://www.w3schools.com/howto/howto_js_topnav_responsive.asp */
ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #2e2e2e;
    text-align: center;
}

li:not(:first-child) {
    display: inline;
    padding-left: 1em;
    padding-right: 1em;

}

li a {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 10px;
    text-decoration: none;
}

li a:hover {
    background-color: #ddd;
    color: #2e2e2e;
}

.logo {
    color: white;
    background-color: #AE3B3B;
    font-size: 40px;
    font-family: 'Jockey One', sans-serif;
    padding: 20px;
    display: block;

}

main {
    text-align: center;
}

h1 {
    position: absolute;
    color: white;
    font-family: 'Jockey One', sans-serif;
    font-size: 9vw;
    bottom: 20px;
    left: 0.4em;
    font-weight: 100;
}

h2 {
    font-family: 'Jockey One', sans-serif;
    font-size: 10vw;
    color: white;
    font-weight: normal;
    margin-top: .5em;
    margin-bottom: 10px;
}

h3 {
    font-size: 1em;
    text-align: left;
    margin-bottom: 3em;
    color: white;
    font-family: 'Roboto', sans-serif;
    margin-left: 7vw;
    margin-right: 7vw;
    font-weight: 100;
}

.banner {
    height: 180px;
    width: 100%;
    object-fit: cover;
}



footer {
    height: 100px;
    bottom: 0;
    width: 100%;
    background-color: #AE3B3B;
    color: white;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    padding-top: 40px;
}



button {
    background-color: #267aff;
    border: none;
    color: white;
    padding: 15px 32px;
    text-decoration: none;
    font-size: 25px;
    cursor: pointer;
    font-family: 'Jockey One', sans-serif;
    transition: 0.2s;
    box-shadow: 2px 2px white;
    margin-top: 20px;
    margin-bottom: 50px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: normal;
}

button:hover {
    background-color: white;
    color: #267aff;
}

/* https://www.w3schools.com/css/css_grid.asp */
/* Grid word gebruikt voor foto's */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20em, 1fr));
    margin-left: 7vw;
    margin-right: 7vw;
    grid-gap: 1em;
}

.grid-item {
    max-width: 800px;
    min-width: 120px;
}

.foto {
    max-width: 450px;
    width: 100%;
}

section {
    position: relative;
}

/* Responsive form https://https://www.w3schools.com/css/css_form.asp */

form {
    text-align: left;
    margin-left: 6vw;
    margin-right: 6vw;
    display: inline-block;
    max-width: 500px;
    margin-top: 30px;
}

fieldset {
    border: none;
    margin-bottom: 30px;
}

legend {
    color: #267aff;
    font-size: 20px;
    margin-bottom: 10px;
    padding: 0;
}

input,
select {
    width: 100%;
    padding: 12px;
    border: 1px;
    border-radius: 4px;
    margin-bottom: 15px;
    box-sizing: border-box;
}



label {
    padding: 12px 0px 12px 0;
    color: white;
    margin-bottom: 10px;
}


/*https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_custom_checkbox */
.container {
    display: block;
    position: relative;
    padding-left: 35px;
    padding-bottom: 0px;
    margin-bottom: 0px;
    cursor: pointer;
    font-size: 15px;
}

.container input {
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;

}

.checkmark {
    position: absolute;
    top: 10px;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
}

.container:hover input ~ .checkmark {
    background-color: #ccc;
}

.container input:checked + .checkmark {
    background-color: #267aff;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.container input:checked ~ .checkmark:after {
    display: block;
}

.container .checkmark:after {
    left: 7px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}


.test {
    opacity: 0;
    transition: 0.1s;
}

.test.yay {
    opacity: 1;
    color: white;
    font-size: 20px;
    background-color: #AE3B3B;
    padding: 10px;
    border-radius: 5px;
    margin: 2em;
}


/* Wanneer het scherm groter is dan 606px gaat de nav naast elkaar staan. De banner verandert. */
@media screen and (min-width: 606px) {

    h1 {
        font-size: 7.5vw;
    }

    h2 {
        font-size: 3em;
    }

    h3 {
        margin-left: 18vw;
        margin-right: 18vw;
    }


    ul {
        display: flex;
        justify-content: flex-start;
    }

    li:not(:first-child) {
        padding-left: 0em;
        padding-right: 0em;
    }


    li a {
        padding: 40px 30px 37px 30px;
    }



    .banner {
        height: 30vw;
    }



    .test.yay {
        margin-left: 30vw;
        margin-right: 30vw;
    }

    button {
        margin-left: 5em;
        margin-right: 5em;
    }

}

/* Banner verandert nog een keer. Grootte van de text verandert.  */
@media screen and (min-width: 1000px) {

    .banner {
        height: 20vw;
    }

    h1 {
        bottom: -25px;
        left: 1em;
    }

    li:not(:first-child) {
        padding-left: 0em;
        padding-right: 0em;
    }

    h3 {
        margin-left: 28vw;
        margin-right: 28vw;
        font-size: 1.2em;
    }

    button {
        margin-left: 15em;
        margin-right: 15em;
    }
}
