@import url('https://fonts.googleapis.com/css?family=Montserrat');


nav {
    display: flex;
    background: url(../img/patroon.jpg) center center repeat;
    background-size: 56.25rem;
    height: 3.75rem;
    justify-content: center;
}

nav:first-of-type img {
    width: 10rem;
}

body {
    letter-spacing: 0.06rem;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    background: #ffffff;
}

h1 {
    font-family: Montserrat;
    font-size: 0.8125rem;
    font-weight: lighter;
    display: flex;
    justify-content: center;
    padding: 2rem 0 0 0;
}

h2 {
    padding: 3rem 0 3rem 0;
    margin: 0 0 0 1rem;
    font-family: Montserrat;
    font-weight: bold;
    font-size: 0.9375rem;
}

section {
    width: 52rem;
    margin: 0 auto;
}

article {
    transition: .9s ease-in-out;
    border-bottom: #EAEAEA 1px solid;
}

article:after {
    content: '';
    display: block;
    margin: auto;
    height: 0.0625rem;
    width: 0rem;
    background: transparent;
    transition: width .5s ease, background-color .5s ease;
    margin-top: 4rem;
}

article:hover:after {
    width: 100%;
    background: black;
}

div {
    margin: 0.5rem;
    display: flex;
    flex-direction: row;
}

#div1 {
    background-color: #EAEAEA;
    width: 9.375rem;
    height: 9.375rem;
}

#div2 {
    background-color: #EAEAEA;
    width: 9.375rem;
    height: 7.5rem;
}

#div3 {
    background-color: #EAEAEA;
    width: 9.375rem;
    height: 12.5rem;
}

#div4 {
    margin: 0.5rem 0.5rem 1rem 3rem;
    background-color: #F4F4F4;
    width: 8.125rem;
    height: 13.75rem;
}

#div5 {
    background-color: #F4F4F4;
    width: 8.125rem;
    height: 13.75rem;
}

#div6 {
    background-color: #EAEAEA;
    width: 9.375rem;
    height: 9.375rem;
}

#div7 {
    background-color: #EAEAEA;
    width: 9.375rem;
    height: 7.5rem;
}

#div8 {
    background-color: #EAEAEA;
    width: 9.375rem;
    height: 12.5rem;
}

#div9 {
    margin: 0.5rem 0.5rem 1rem 3rem;
    background-color: #F4F4F4;
    width: 9.375rem;
    height: 7.5rem;
}

#div10 {
    background-color: #EAEAEA;
    width: 9.375rem;
    height: 7.5rem;
}

.text {
    display: block;
    padding: 1rem 0 0 0;
    text-align: center;
    margin: 0 auto;
    font-size: 0.5rem;
    font-weight: lighter;
}

p {
    margin: 0 0 0 1rem;
    font-size: 0.625rem;
    font-family: Montserrat;
}

a {
    color: #000000;
    cursor: pointer;
    margin: auto;
    text-align: center;
}

footer a {
    font-size: 0.625rem;
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    font-family: Montserrat;
    text-decoration: none;
    color: #EAEAEA;
    transition: .4s ease-in-out;
}

footer a:hover {
    color: black;
    transition: .4s ease-in-out;
}

.margin1{
    margin: 0;
}

.margin2{
    margin: 0;
}

h3 {
    font-family: Montserrat;
    font-weight: bold;
    font-size: 0.625rem;
    display: inline-block;
}

.eerste {
    margin: 0 0 0 1rem;
}

#tweede {
    margin: 0 0 0 29.8rem;
}

#derde {
    margin: 0 0 0 28.3rem;
}


@media (min-width: 320px) and (max-width: 480px) {
    nav {
        display: flex;
        background: url(../img/patroon.jpg) center center repeat;
        background-size: 33.25rem;
        height: 2rem;
        justify-content: center;
    }

    nav:first-of-type img {
        width: 5rem;
    }


    h1 {
        font-family: Montserrat;
        font-size: 0.5rem;
        font-weight: lighter;
        display: flex;
        justify-content: center;
        padding: 0.5rem 0 0 0;
    }

    h2 {
        padding: 1rem 0 1rem 0;
        margin: 0 0 0 1rem;
        font-family: Montserrat;
        font-weight: bold;
        font-size: 0.7rem;
    }

    #div1 {
        background-color: #EAEAEA;
        width: 9rem;
        height: 9rem;
    }
    
    #div2 {
        background-color: #EAEAEA;
        width: 9rem;
        height: 5rem;
    }
    
    #div3 {
        background-color: #EAEAEA;
        width: 9rem;
        height: 10rem;
    }
    
    #div4 {
        margin: 0.5rem 0.5rem 0.5rem 0;
        background-color: #F4F4F4;
        width: 9rem;
        height: 12.5rem;
    }
    
    #div5 {
        background-color: #F4F4F4;
        width: 9rem;
        height: 12.5rem;
    }
    
    #div6 {
        background-color: #EAEAEA;
        width: 9rem;
        height: 9rem;
    }
    
    #div7 {
        background-color: #EAEAEA;
        width: 9rem;
        height: 6.5rem;
    }
    
    #div8 {
        background-color: #EAEAEA;
        width: 9rem;
        height: 11rem;
    }
    
    #div9 {
        background-color: #F4F4F4;
        width: 9rem;
        height: 11rem;
        margin: -30rem 0 0 10rem;
    }
    
    #div10 {
        background-color: #EAEAEA;
        width: 9em;
        height: 7rem;
    }


    .text {
        padding: 0.5rem 0 0 0;
        text-align: center;
        margin: 0 auto;
        font-size: 0.5rem;
        font-weight: lighter;
    }

    div {
        margin: 0.5rem 0.5rem 0.5rem 0 ;
        display: flex;
        flex-direction: column;

    }
    .margin2 {
        margin-top: -27rem;
        margin-left: 10rem;
    }

    .undertext {
        width: 14rem;
        padding-top: 1rem;
        margin: 0;
    }

    article {
        width: 19rem;
        margin: 0 auto;
    }


    h2 {
        margin-left: 0;
    }

    .eerste {
        margin: 0;
        font-size: 0.5rem;
    }
    
    #tweede {
        margin: 0 0 0 6.7rem;
        font-size: 0.5rem;
    }

    #derde {
        margin: 0 0 0 5.5rem;
        font-size: 0.5rem;
    }

    section {
        margin: 0 auto;
        width: 100%
    }
}

