*{
    box-sizing: border-box;
}

body{
    margin: 0;
    text-align: left;
}

.header img{
    margin: 1% 0 0 1%;
    float: left;
}

body{
    margin: 0;
}

h2{
    text-align: center;
}

h5{
    text-align: center;
}

.tabel1{
    margin-left: 15%;
    width: 60%;
}

.tabel1 > tr > td > p{
    padding: 5% 0 5% 0;
}

.tabel1 > tr > td > input{
    border: 3px black solid;
    height: 20px;
    width: 200px;
    margin: 6% 4% 25% 4%;
}

.tabel1 tr td{
    padding: 3% 0 3% 15%;
}

#tabel2{
    margin: 5% 7% 5% 7%;
    width: 80%;
}

#tabel2 th{
    font-size: 20px;
}

th, td {
    padding: 15px;
    text-align:center;
}

#tabel2>tr>th img{
    padding: 100px 0;
}





/* De switch-button*/

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* 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;
}

.slider.round:before {
    border-radius: 50%;
}









/*--------------------------------------------------------------------------------*/
.contact{
    list-style-type: none;
    margin: 0;
    padding: 1%;
    float: right;
}
/* 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
{
    font-size: 20px;
    text-align: center;
    font-weight: bolder;
    padding: 1%;
    background-color: darkgreen;
    color: white;
}
footer p{
    margin-right: 0;
}

.header > h1, p{
    margin-right: 6%;
}


/* Responsive design */

/* Aan staande versie niks moeten aanpassen.*/

/* Liggend */
@media screen and (max-width: 1024px){
    .header img{
        width: 150px;
        height: auto;
        margin: 0;
    }

    h1{
        font-size: 35px;
    }

    .header > p{
        font-size: 20px;
    }

    .topnav li a{
        font-size: 25px;
    }

    .topnav li:nth-child(1) {
        margin: 0 5% 0 42%;
    }

    table.tabel1{
        font-size: 20px;
        margin-left: 12%;
        width: 80%;
    }

    table.tabel1 td{
        padding: 2% 0 2% 0;
    }

    table.tabel1 input{
        font-size: 20px;
    }

    #tabel2{
        width: 90%;
        margin: 3% 0 3% 3%;
    }

    #tabel2 td > input[type=checkbox]{
        width: 15px;
        height: 15px;
    }

    .header > h1,p{
        margin-right: 18%;
    }
}
