body {
    background-color: #ffffff;
    color: #000000;
    font-family: 'Quicksand', Verdana, Arial, Helvetica, sans-serif;
    font-size: 1em;
    line-height: 1.3;

}
a {
    text-decoration: none;
}
h1, h2, h3, h4, nav {
    font-family: 'Quicksand', Verdana, Arial, Helvetica, sans-serif;

}
header
{
	background-color: #ffffff;
	background-image: url(../afbeeldingen/bghome8e.jpg);
	background-size: cover;
	height: 200px;
	padding: 4em 0 0 0;
	border-bottom: 0px solid #cbcbcb;
}

header h1
{
	background-color: rgba(255, 255, 255, 0.4);
	font-family: 'Comic Sans MS', Quicksand, arial, sans-serif;
	color: #ffffff;
    font-size: 1.5em;
	height: 40px;
	padding: .05em .5em .9em .5em;
	letter-spacing: 1px;
}

header a
{
	text-decoration: none;
	color:  #ffffff;
}

nav
{
	background-color: #ffffff;
	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 p.menuknop a {
    color: #5F9EA0;
}

nav ul {
    background-color: #5F9EA0;
    display: none;
    list-style-type: none;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 220px;
    left: 0;
    right: 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: rgb(70, 70, 70);
}

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: rgb(70, 70, 70);
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 100%;
    z-index: 2;
}

nav li li:first-child {
    border-top: none;
}

nav li li a:hover {
    color: #a5a5a5;
}

article {
background-color: #ffffff;
    padding: 1em;

}

article h1 {
    font-size: 1.8em;
}

article h2 {
    font-size: 1.5em;
    margin-top: 1.5em;
}

aside {
    background-color: transparent;
    padding: 1em 1em 2em 1em;
    text-align: center;
}

footer {
    background-color:#00008b;
        background-image: url(../afbeeldingen/bghome8d.jpg);
        background-size: cover;
    color:  #5F9EA0;
    font-size: .9em;
    padding: 2em;
    text-align: center;
}

footer a {
    color:  #5F9EA0;
    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%;
}

figure.galerij {
    -webkit-columns: 100px;
    -moz-columns: 100px;
    columns: 100px;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
    -webkit-column-gap: 8px;
    -moz-column-gap: 8px;
    column-gap: 8px;
    padding: 8px 8px 2px 8px;
    background-color: #ffffff;
}

figure.galerij img {
    width: 100%;
    height: auto;
    
}

@media screen and (min-width: 500px) {
    header {
        padding: 6em 0 1em 0;
    }

    nav p.menuknop {
        display: none;
    }

    nav > ul {
        top: 0;
        background-color: #ffffff;
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
        -ms-flex-pack: distribute;
        justify-content: space-around;
     }

     nav ul li:hover, nav ul li.submenu:hover ul  {
          background-color: rgba(242, 242, 242, 0.9);
     }
    
    nav li li:hover {
        background-color: white;
    }

     nav a {
        color: #1f1f1f;
     }
     
     nav li li a:hover {
        color: #101010;
     }
    
    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;
    }
    
    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: 2.5em;
    }
    nav > ul
    {
    	background-color: #ffffff;
    	margin: 0 auto;
    	-webkit-box-pack: end;
    	-ms-flex-pack: end;
    	justify-content: flex-end;
    }
    nav > ul > li {
        margin: 0 .5em;
    }
    nav ul li {
        padding: 1.1em .4em;
    }
     .art-aside {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        max-width: 1024px;
        margin: 0 auto;
    }
    aside {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 18%;
        flex: 0 0 18%;
        font-size: .9em;
        background-color: transparent;
        margin-top: 1em;
    }
    footer {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    footer p {
        margin: 2em 1em;
    }
}

@media screen and (min-width: 1500px) {
    header {
        height: 220px;
    }
}
