/* CSS reset, dit niet aanpassen! */

html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    background-color: rgb(225, 243, 196);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
}

/* Hieronder mag je eigen CSS code */

body,
html {
    height: 100%;
    margin: 0;
}



/* .bg is voor heater image */
#header {
    /* The image used */
    background-color: rgb(207, 233, 181);
    /* Center and scale the image nicely */
}

#background_achter {
    /* Full height */
    height: 100%;
    width: 100%;
    position: absolute;

    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    opacity: 1;
    animation: achter 100s infinite;
}

@keyframes achter {
    0% {
        background-image: url("img/heater1.jpg");
    }

    5% {
        background-image: url("img/heater1.jpg");
    }

    20% {
        background-image: url("img/heater2.jpg");
    }

    30% {
        background-image: url("img/heater2.jpg");
    }

    45% {
        background-image: url("img/heater3.jpg");
    }

    55% {
        background-image: url("img/heater3.jpg");
    }

    70% {
        background-image: url("img/heater4.jpg");
    }

    80% {
        background-image: url("img/heater4.jpg");
    }

    95% {
        background-image: url("img/heater1.jpg");
    }

    100% {
        background-image: url("img/heater1.jpg");
    }
}

#background_voor {
    /* Full height */
    height: 100%;
    width: 100%;
    position: absolute;

    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    opacity: 0;
    animation: voor 100s infinite;
}

@keyframes voor {
    0% {
        opacity: 0;
        background-image: url("img/heater1.jpg");
    }

    5% {
        opacity: 1;

    }

    20% {
        background-image: url("img/heater1.jpg");
    }

    25% {
        opacity: 0;
        background-image: url("img/heater2.jpg")
    }

    30% {
        opacity: 1;
    }

    45% {
        background-image: url("img/heater2.jpg");
    }

    50% {
        opacity: 0;
        background-image: url("img/heater3.jpg");
    }

    55% {
        opacity: 1;
    }

    70% {
        background-image: url("img/heater3.jpg");
    }

    75% {
        opacity: 0;
        background-image: url("img/heater4.jpg");
    }

    80% {
        opacity: 1;
    }

    95% {
        background-image: url("img/heater4.jpg");
    }

    100% {
        opacity: 0;
        background-image: url("img/heater1.jpg");
    }
}

#background_top {
    /* Full height */
    height: 100%;
    width: 100%;
    position: absolute;

    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    background-image: url("img/heater1.jpg");
    opacity: 0;
    animation-name: top;
    animation-duration: 10s;
}

@keyframes top {
    0% {
        opacity: 1;
    }

    40% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

#background_headtekst {
    height: 100%;
    width: 100%;
    position: absolute;
    display: grid;
    grid-template-columns: auto 100% auto;
    grid-template-rows: 40% 60%;
}

#logodiv {
    grid-column: 2 / 4;
    grid-row: 1 / 2;
}

#oogdiv {
    grid-column: 2 / 4;
    grid-row: 2 / 3;
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
}

#logo {
    width: 30vw;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#oog {
    text-align: center;
}

#sup {
    font-size: 70%;
}

#pagina {
    background-image: url("img/heater1.jpg");
    max-width: 100%;
    position: absolute;
    display: grid;
    grid-template-columns: 20vw 60vw 20vw;
    grid-template-rows: auto;
}

#inhoud {
    background-color: white;
    opacity: 0.75;
    text-align: center;
    padding: 100px;
    grid-column: 2 / 3;
    grid-row: auto;
    min-height: 1000px;

}



#mobilenevigation {
    display: none;
}

#Desktopnevigation {
    display: none;
}


/* Style the navigation menu */
.topnav {
    overflow: hidden;
    background-color: green;
    position: relative;
    border: 1px solid white;
}

/* Hide the links inside the navigation menu (except for logo/home) */
.topnav #myLinks {
    display: none;
}

/* Style navigation menu links */
.topnav a {
    color: white;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    display: block;
}

/* Style the hamburger menu */
.topnav a.icon {
    background: green;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
}

/* Add a grey background color on mouse-over */
.topnav a:hover {
    background-color: green;
    color: black;
}

/* Style the active link (or home/logo) */
.active {
    background-color: green;
    color: white;
    margin: 0;
    display: inline;
    float: left;
}








@media (max-width: 1200px) {

    #pagina {
        background-image: url("img/heater1.jpg");
        display: grid;
        grid-template-columns: 10vw 80vw 10vw;
        grid-template-rows: auto;
    }


    #inhoud {
        background-color: white;
        opacity: 0.75;
        text-align: center;
        padding: 20px;
        grid-column: 2 / 3;
        grid-row: auto;
        min-height: 1000px;

    }

    @media (max-width: 800px) {

        #mobilenevigation {
            display: block;
        }

        .active {
            margin: 0;
            display: inline;
            float: right;
        }

        #logo {
            width: 75%;
            margin-top: 5vw;
        }

        #pagina {
            background-image: url("img/heater1.jpg");
            display: grid;
            grid-template-columns: 0vw 100vw 0vw;
            grid-template-rows: auto;
        }


        #inhoud {
            background-color: white;
            opacity: 0.75;
            text-align: center;
            padding: 20px;
            grid-column: 2 / 3;
            grid-row: auto;
            min-height: 1000px;

        }

    }

}

@media (min-width: 800px) {

    #Desktopnevigation {
        display: block;
    }


}