*{
    box-sizing: border-box;
}

body{
    margin: 0;
    text-align: left;
}
.header img{
    float: left;
}
.header > h1, p{
    margin-right: 6%;
}
/* Style the header */
.header {
    background-color: white;
    color: darkgreen;
    padding: 25px;
    text-align: center;
    font-weight: bolder;
}
.topnav ul {
    list-style-type: none;
    margin: 3% 0 3% 0;
    padding: 1%;
    overflow: hidden;
    background-color: darkgreen;
}
.topnav li {
    float: left;
    text-align: center;
    font-size: 20px;
}
.topnav li:nth-child(1) {
    margin: 0 5% 0 42%;
}
.topnav li a {
    display: block;
    color: white;
    text-align: center;
    padding: 2% 2% ;
    text-decoration: none;
}
.topnav li a:hover {
    background-color: darkgreen;
}

/* Change color on hover */
.topnav a:hover {
    background-color: green;
    color: black;
}

footer
{
    clear: both;
    font-size: 20px;
    text-align: center;
    font-weight: bolder;
    padding:1%;
    background-color: darkgreen;
    color: white;
    margin-top: 5%;
}
footer p{
    margin-right: 0;
    font-size: 20px;
}

/* De switch-button*/
/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin-right: 5%;
}
/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: darkgray;
    -webkit-transition: .4s;
    transition: .4s;
}
.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}
input:checked + .slider {
    background-color: green;
}
input:focus + .slider {
    box-shadow: 0 0 10px darkgreen;
}
input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}
/* Rounded sliders */
.slider.round {
    border-radius: 34px;
    width: 60px;
}
.slider.round:before {
    border-radius: 50%;
}
/*body p:nth-child(2), p:nth-child(5), p:nth-child(10), p:nth-child(18), p:nth-child(24){
    font-size: 25px;
    font-weight: bolder;
}
/*body > div > p{
    padding-left: 20px;
 }
 */

body > div{
    float: right;
    margin-right: 10%;
    width: 33%;
    margin-top: 4%;
    font-size: 17px;

}
.vraag {
    font-size: 20px;
    font-weight: bolder;
    margin-bottom: 2%;
}
body > img{
    margin-left: 15%;
    width: 25%;
    height: 25%;
}




.left{
    clear: both;
    float: left;
    /*padding-top: 1%;*/
    padding-bottom: 5%;
    margin-left: 20%;
    /*border: 5px mediumpurple solid;*/
    width: 65%;

}

.right{
    float: right;
    width: 50%;
    /*border: 5px mediumpurple solid;*/
}





/* Responsive design */

/* Aan staande versie niks moeten aanpassen.*/

/* Liggend */
@media screen and (max-width: 1024px){
    body{
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    body > div{
        margin: 2% 0 10% 15%;
        width: 100%;
    }

    body > .left > img{
        margin-left: 15%;
        width: 70%;
    }

    .vraag{
        text-align: center;
    }

    .right{
        width: 80%;
    }

    .right > p{
        margin-top: 10%;
    }
}
