@import url("https://fonts.googleapis.com/css2?family=Doto:wght@100..900&family=Fredoka&family=Hubot+Sans:ital,wght@0,200..900;1,200..900&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Oswald:wght@200..700&family=Quicksand:wght@500&family=Rubik:ital,wght@0,300..900;1,300..900&family=Sarala:wght@400;700&family=Tilt+Neon&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::selection {
    background-color: darkblue;
    color: white;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: "Nunito Sans", sans-serif;
    background-color: #dce8f2;
}

header {
    background-image: url(../Images/banner.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    width: auto;
    height: 100%;
    background-position: center;
    color: floralwhite;
    padding: 1.5rem;
}

header h1 {
    text-align: left;
    font-size: 1.1rem;
    max-width: 65%;
}

footer {
    padding: 2rem;
    background-color: #9dbfc0;
    padding-bottom: 3rem;
    position: relative;
}

footer p {
    font-size: small;
}

.contactdoos a {color: white}

.contactdoos a:hover {color: #9dbfc0;}

#terug {text-decoration: none;
position: absolute;
bottom: 20px;}

#terug:hover {text-decoration: underline}

footer p a {
    font-size: 16px;
    position: absolute;
    margin-bottom: 1rem;
    border: 1px solid #7292a6;
    border-radius: 5%;
    text-decoration: none;
    padding: 5px;
    background-color: #7292a6;
    color: white;
    right: 25px;
}

footer p a:hover {
    color: #7292a6;
    background-color: #fff;
}


h2 {
    font-size: 1.2rem;
}

h3 {
    font-size: 1rem;
}

.container {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem;
    line-height: 1.5;
}

#eerstenav ul li {
    background-color: #7292a6;
    display: flex;
}

#eerstenav ul li a {
    flex-wrap: wrap;
    flex-basis: 100%;
    text-decoration: none;
    font-weight: bold;
    color: white;
    font-size: 15px;
    padding: 0.5rem;
}

#eerstenav ul li a:hover {
    color: #7292a6;
    background-color: white;
}

ul {
    list-style-type: none;
}

img {
    max-width: 100%;
    height: auto;
}


.uitleg {
    text-align: center;
    margin: 0.5rem;
}

.webshop {
    border: 3px solid #338a8f;
    background-color: #338a8f;
    color: white;
    border-radius: 1%;
    padding: 1rem;
    margin: 1rem;
    text-align: center;
}

.webshop nav {
    text-align: center;
    margin: 1rem;
    
}

.webshop nav a {
    padding: 5px;
    border: 2px solid #dce8f2;
    background-color: #dce8f2;
    color: #338a8f;
    text-decoration: none;
}

.webshop nav a:hover {
    background-color: #976773;
    border: 2px solid #976773;
    color: white;
}

.diensten {
    border: 3px solid #338a8f;
    background-color: #338a8f;
    padding: 1rem;
    margin: 1rem;
    border-radius: 2%;
    text-align: justify;
    color: white;
}

.diensten h3 {
    text-align: center;
}

.contactdoos {
    
    border: 3px solid #338a8f;
    background-color: #338a8f;
    padding: 1rem;
    margin: 1rem;
    border-radius: 2%;
    text-align: justify;
    color: white;
}

.container {font-size: 0.9rem;}


#contactfoto {
    display: none;
}

@media screen and (min-width: 600px) {
    
    nav ul {display: flex;
    flex-wrap: wrap;}
    
    nav ul li {
        flex-grow: 1;
        flex-basis: 50%;
    }
    
    header {padding: 2.5rem}
    
    header h1 {
        font-size: 1.5rem;
    }
    
    #eerstenav ul li a {
        font-size: 18px;
    }
    
    .container {font-size: 1rem;}
   
}

@media screen and (min-width: 1000px) {
    
    nav ul li {
        flex-basis: 25%;
        text-align: center;
        flex-wrap: nowrap;
    }

    .container {
        max-width: 1400px;
    }

    .webshopgroot {
        display: flex;
    }

    .webshop {
        max-width: auto;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .dienstengroot {
        display: flex;
    }

    .diensten {
        align-content: center;
        flex-direction: row;
        flex-wrap: wrap;
        flex-basis: 100%;
        text-align: center;
    }

    header {
        background-size: cover;
        padding: 10rem;
    }

    header {
        display: flex;
    }

    header h1 {
        align-content: center;
    }

    #contactfoto {
        display: block;
        max-width: 400px;
    }

    .contactdoos {
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        align-content: center;
        align-items: center;
    }
}