body {
    color: #222;
	background-color: #F0FFFF; /*  */
    font-family: arial, helvetica, sans-serif;
    font-size: 1em;
    line-height: 1.3;
}

h1, h2, h3, h4 {
    font-family: 'Comfortaa', cursive;
}

header {
    background-image: url(web-images/achtergrond.jpg);
    background-size: 100% auto;
    background-repeat: repeat-y;
    padding: 2.5em .5em;
    text-align: center;
}

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

header img {
    border-radius: 10%;
    width: 160px;
    height: auto;
    border: 1px solid #222;
}

nav p.menuknop  {
    position: absolute;
    top: 4px;
    right: 12px;
    font-family: courier, monospace;
    font-size: 28px;
    line-height: 1;
    margin: 0;
}

nav ul {
    background-color: rgba(0,0,0, 0.65);
    position: absolute;
    top: 5em;
    left: 0;
    right: 0;
    display: none;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

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

nav ul li:last-child {
    border-bottom: 1px solid darkgrey;
}

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

nav ul li:hover {
    background-color: #633b36;
}

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: #633b36;
    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: #e8afa8;
}

article {
    padding: 1em;
}

article h1 {
    color: #701d13;
}

article h2 {
    color: #89240f;
}

aside {
    background-color: rgb(115, 115, 115);
    padding: 1em 1em 2em 1em;
    text-align: center;
}

footer {
    background-color: #6b3535;
    background-image: url(afbeeldingen-templates/rood-gestreept.jpg);
    background-size: 100% auto;
    background-repeat: repeat-y;
     color: white;
    font-size: .9em;
    padding: 2em;
    text-align: center;
}

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: 700px) {
    div.header-nav-aa-f {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
   header {
        -webkit-box-flex: 1;
        -ms-flex: 1 0 20%;
        flex: 1 0 20%;
    }
    header h1 {
        font-size: 2.6em;
    }
    
    nav p.menuknop {
        display: none;
    }

    nav a {
        color: #701d13;
    }

    nav ul li:hover, nav ul li.submenu:hover ul {
        background-color: #b39a97;
    }

    nav ul li {
        border-top: 1px solid lightgrey;
    }

    nav ul li:last-child {
        border-bottom: none;
    } 
         
    nav > ul {
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
        -ms-flex-pack: distribute;
        justify-content: space-around;
        background-color: transparent;
        position: relative;
        top: 0;
    }

    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 lightgrey;
    }

    nav > ul > li {
        border-top: none;
    }
    
    nav li li a:hover {
        color: white;
    }

    aside {
        background-color: transparent;
    }

    footer {
        background-color: white;
        background-image: none;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        font-size: .9em;
    }

    footer p, footer a {
        color: #222;
    }

    footer p {
        margin: 0 1em;
    }
    
    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: 1000px) {
    header h1 {
        font-size: 3.5em;
    }
    nav > ul {
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }
    nav > ul > li {
        margin: 0 .5em;
    }
    article {
    -webkit-columns: 300px 1; /* Chrome, Safari, Opera */
    -moz-columns: 300px 1; /* Firefox */
    columns: 300px 1;
    /*
	-webkit-column-gap: 30px;
    -moz-column-gap: 30px;
    column-gap: 30px;
    */
	margin-top: 40px;
    }
    article h1 {
        margin-top: 0;
        padding-top: 0;
    }
}
    