body {
    color: #222;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1em;
    line-height: 1.3;
    background: -webkit-linear-gradient(white 80%, rgb(34, 92, 146) 95%);
    background: linear-gradient(white 80%, rgb(34, 92, 146) 95%);

}

h1, h2, h3, h4 {
    font-family: 'Anton', sans-serif;
}

header {
    background-image: url(../afbeeldingen/interieur.jpg);
    background-size: 100% auto;
    background-repeat: no-repeat;
    padding: 3em 0;
    text-align: center;
}

header a {
    text-decoration: none;
    color: white;
    text-shadow: 1px 1px 1px grey;
    letter-spacing: .03em;
    font-size: .9em;
}

nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

nav p.menuknop  {
    font-family: courier, monospace;
    font-size: 28px;
    margin: 0 4px 0 0;
    text-align: right;
}

nav ul {
    background-color: rgba(34, 92, 146, 0.85);
    display: none;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    border-top: 1px solid darkgrey;
    padding: .7em .4em .6em .4em;
}

nav a {
    color: white;
    text-decoration: none;
}

nav ul li:hover {
    background-color: #5583ad;
}

nav ul li.submenu {
    position: relative;
}

nav ul li.submenu > a:after {
    content: " \025BE";
}

nav ul li.submenu:hover ul {
    box-sizing: border-box;
    background-color: #5583ad;
    display: block;
    width: 50%;
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 2;
}

nav li li:first-child {
    border-top: none;
}

nav li li a:hover {
    color:  rgb(18, 49, 78);
}

div.art-aside {
    width: 90%;
    margin: -40px auto 0 auto;
    background-color: white;
    box-shadow: 0 0 10px #444;
    border-radius: 4px;
}

article {
    padding: 1em;
}

article h1 {
    font-size: 1.6em;
    color: #41221a;
}

article h2 {
    color: rgb(29, 80, 128);
    font-size: 1.4em;
    margin-top: 1.3em;
}

aside {
    padding: 1em 1em 2em 1em;
    text-align: center;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

aside h3, aside h4 {
    color: rgb(29, 80, 128);
}

footer {
    color: white;
    font-size: .9em;
    padding: 2em;
    text-align: center;
    margin: 0;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

img.rechts, img.links {
    box-sizing: border-box;
    display: block;
    margin: 0.5em auto;
    max-width: 100%;
}

@media screen and (min-width: 500px) {
    header {
        padding: 6em 0.5em;
    }
    div.nav-aa {
        box-shadow: 0 0 10px #444;
        border-radius: 4px;
        width: 90%;
        margin: -60px auto 0 auto;
        background-color: white;
    }
    nav {
        position: relative;
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
    }

    nav p.menuknop {
        display: none;
    }

    nav > ul > li:first-child {
         border-top-left-radius: 4px;
    }

    nav > ul > li:last-child {
        border-top-right-radius: 4px;
    }
   
    nav > ul {
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
        -ms-flex-pack: distribute;
        justify-content: space-around;
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
    }

    nav ul li.submenu:hover ul {
        width: 8em;
        left: 0;
        top: 100%;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        border-top: 1px solid darkgrey;
    }

    nav > ul > li {
        border-top: none;
    }
 
    div.art-aside {
        width: 100%;
        border: none;
        box-shadow: none;
        margin: 0;
    }

    img.rechts {
        float: right;
        margin: 0.4em 0 0.4em .8em;
    }

    img.links {
        float: left;
        margin: 0.4em .8em 0.4em 0;
    }

}

@media screen and (min-width: 700px) {
    .art-aside {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
    aside {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 22%;
        flex: 0 0 22%;
        font-size: .9em;
        margin-top: 1em;
    }
}

@media screen and (min-width: 1000px) {
    header {
        padding: 8em 0.5em;
    }
    header h1 {
        font-size: 4em;
    }
    div.nav-aa {
        max-width: 1000px;
    }
    nav > ul {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    nav > ul > li {
        margin: 0 .7em;
    }
}
