/* yantramanav-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Yantramanav';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/yantramanav-v13-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* yantramanav-500 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Yantramanav';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/yantramanav-v13-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


html, body {
    font-family: 'Yantramanav', sans-serif;
    margin: 0px;
    padding: 0px;
    color: #333;
}

h2 {
    font-size: 35px;
}

h3 {
    font-size: 25px;
}

span.kvkbtw {
    display: inline-block;
    width: 50px;
}

header {
    position: fixed;
    width: 100%;
    padding: 20px 50px 20px 50px;
    min-height: 65px;
    height: auto;
    background-color: white;
    box-sizing: border-box;
    z-index: 2;
}

header h1 {
    display: inline;
    line-height: 0px;
    margin: 0px;
    padding: 0px;
    font-size: 0;
    color: transparent;
}

header a.logo img {
    text-decoration: none;
    width: 100px;
    height: 29px;
}

header nav {
    float: right;
    margin-top: 4px;
}

header nav ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

header nav ul li {
    display: inline;
    font-size: 20px;
    margin-left: 50px;
    font-weight: 500;
}

header nav ul li:first-child {
    margin-left: 0px;
}

header nav ul li a {
    text-decoration: none;
    color: #333;
}

footer {
    position: absolute;
    bottom: 25px;
    right: 0px;
    padding: 20px 50px 20px 50px;
    height: 65px;
    box-sizing: border-box;
    z-index: 2;
    font-weight: 500;
    font-size: 15px;
    text-align: right;
}

section.intro {
    padding: 150px 5vw 70px 13vw;
    font-size: 3.5vw;
    line-height: 3.8vw;
    font-weight: 500;
    color: #333;
    min-height: 100vh;
    height: auto;
    box-sizing: border-box;
}

section.intro p, section.intro h2 {
    margin: 0px;
    display: inline;
    font-weight: 500;
    font-size: inherit;
}

span.highlight {
    color: #009900;
}

section.contact {
   position: relative;
   padding: 10vh 5vw 5vh 13vw;
   height: auto;
   font-size: 20px;
   clear: both;
   min-height: 100vh;
   box-sizing: border-box;
}

section.contact a {
    text-decoration: none;
    color: #333;
}

section.vakgebieden {
    padding: 10vh 5vw 5vh 13vw;
    box-sizing: border-box;
    height: auto;
    min-height: 100vh;
}

section.vakgebieden p {
    font-size: 18px;
}

div.parent {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: left;
    margin-bottom: 50px;
}

div.child {
    width: 45%;
    flex: 2 0 300px;
    box-sizing: border-box;
    padding-right: 50px;
    max-width: 305px;
}

@media (max-width: 900px){
    section.intro {
        font-size: 4.9vw;
        line-height: 6vw;
    }
}

@media (max-aspect-ratio: 1/1){
    section.intro {
        position: relative;
        min-height: auto;
    }
}

@media (max-width: 600px){
    header nav {
        width: 100%;
        margin-top: 10px;
    }

    header nav ul li {
        margin-right: 0px;
        margin-left: 6vw;
    }
}

@media (max-width: 400px){
    h2 {
        font-size: 30px;
    }

    section.intro {
        font-size: 20px;
        line-height: 28px;
        height: auto;
    }

    header, footer {
        padding: 20px 20px 20px 20px;
        position: relative;
        height: auto;
    }

    footer {
        text-align: right;
        margin-top: 25px;
    }

    section.intro, section.vakgebieden, section.contact {
        clear: both;
        padding: 20px 20px 20px 20px;
    }

    section.intro br {
        display: none;
    }

    section.intro p {
        display: block;
        margin-bottom: 10px;
    }

    header nav {
        display: none;
    }

    header nav ul {
        display: block;
        width: 100%;
    }

    header nav ul li {
        display: block;
        clear: both;
        margin-left: 0px;
        margin-right: 0px;
        width: 100%;
    }

    header nav ul li:first-child {
        margin-right: 20px;
    }

}
