body {
    background-color: moccasin;
    color: #222;
    font-family: verdana, arial,sans-serif;
    font-size: 1em;
    line-height: 1.3;
}

header {
    background-color: dimgray;
    background-image: url(../boek/boekenpl.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    box-sizing: border-box;
    padding: .5em;
    text-align: center;
    color: moccasin;
    text-shadow: 2px 2px black;
}

header h1 {
    font-size: 2.5em;
    margin: 0 auto;
    max-width: 1200px;
    padding: 1em 0;
    text-align: center;
}

header a {
    color: moccasin;
    font-size: 0.7em;
    text-decoration: none;
    text-shadow: 2px 2px black;
}

.middenstuk {
    box-sizing: border-box;
}

nav {
    background-color: #660000;
    border-bottom: 1px solid black;
    border-top: 1px solid black;
    box-sizing: border-box;
}

#menuknop {
    border-bottom: 1px solid black;
    border-top: 1px solid black;
    height: 20px;
    color: floralwhite;
    display: block;
    font-weight: bold;
    letter-spacing: 0.1em;
    padding: 9px 1.5em 9px 0.5em;
    text-decoration: none;
}

#menu-icoon {
    display: inline-block;
    width: 22px;
    padding: 0 0.5em 0 0;
    position: relative;
}
 
#menu-icoon span {
    background-color: black;
    border: .5px solid black;
    display: block;
    height: 2px;
    margin-top: 3px;
    width: 100%;
}

nav ul {
    display: none;
    margin: 0;
    padding: 0;
}

nav li {
    box-sizing: border-box;
    display: block;
    border-top: 1px solid black;
    padding: .75em;
    position: relative;
}

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

nav li:hover {
    background-color: darkred;
}

nav li:hover ul {
    background-color: darkred;
    display: block;
    position: absolute;
    left: 40%;
    top: 0;
    width: 60%;
    z-index: 2;
}

nav a {
    color: antiquewhite;
    display: block;
    text-decoration: none;
    text-shadow: 1px 1px black;
}

.submenu > a:after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border: inset 5px;
    border-style: solid;
    border-width: 8px 4px 0 4px;
    border-color: #000000 transparent transparent transparent;
    position: absolute;
    top: 50%;
    right: 1.5em;
}

nav li li {
    border-top: none;
    border-bottom: 1px solid white;
}

nav li li:last-child {
    border-bottom: none;
}

nav li li a:hover {
    color: white;
}

.hoofdvak {
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 1200px;
    padding: 1em;
}

article {
    box-sizing: border-box;
}

article h1 {
}

article h2 {
    color: #660000;
}

article h3 {
    color: brown;
}

article h4 {
    color: #660000;
}

article img {
    box-sizing: border-box;
    max-width: 100%;
}

.table {
font-family: verdana, arial, sans-serif; 
font-size: .9em;  
}


aside {
    box-sizing: border-box;
}

aside h3 {
}

footer {
    box-sizing: border-box;
    font-size: .9em;
    padding: 1em;
    text-align: center;
}

footer p {
    border-top: 1px solid black;
    padding-top: 1em;
}

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

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

.links {
    float: left;
    margin: 0.2em 1.2em 0.6em 0;
}

.rechts {
    float: right;
    margin: 0.2em 0 0.6em 1.2em;
}

.gecentreerd {
    display: block;
    margin: 0 auto 1em;
}

.lijstuitlijning {
    list-style-position: outside;
    margin-left: 1em;
}

.lijstuitlijning li {
    position: relative;
    left: 1em;
    padding-right: 1em;    
}

.socialmedia {
    text-align: center;
}

.socialmedia img {
    border: 0 none;
    padding: 0.2em;
}

@media screen and (max-width: 400px) {
    .links {
        display: block;
        float: none;
        margin: 0.2em auto;
    }

    .rechts {
        display: block;
        float: none;
        margin: 0.2em auto;
    }
}

@media screen and (min-width: 600px) {
   header h1 {
        padding-left: .5em;
    }
    .middenstuk:after {
        clear: both;
        content: '';
        display: table;
    }
    #menuknop {
        display: none;
    }
    ul#hoofdmenu {
        display: block !important;
    }
    nav ul {
        display: block;
    }
    nav ul ul {
        display: none;
    }
    nav li {
        border-top: none;
        display: inline-block;
        padding: .75em 1.5em .75em .75em;
    }
    nav li:hover ul {
        border-bottom: none;
        display: block;
        position: absolute;
        left: 0;
        top: 100%;
        width: 8em;
        z-index: 2;
    }
    nav li li {
        width: 100%;
    }
    .submenu > a:after {
        top: 43%;
        right: .5em;
}
    footer {
        background-color: #330000;
        padding: 1em;
    }
    footer p {
        border-top: none;
        color: antiquewhite;
        display: inline;
    }
    footer p:after {
        content: "|";
        padding: 0 1em;
    }
    footer p:last-child:after {
        content: "";
    }
    footer a {
        color: white;
    }
    
    .links {
        float: left;
        margin: 0.2em 1.8em 0.6em 0;
    }
    .rechts {
        float: right;
        margin: 0.2em 0 0.6em 1.8em;
    }
}
@media screen and (min-width: 1000px) {
    header h1 {
        font-size: 3em;
        padding-top: 1.25em;
        padding-bottom: 1.25em;
    }
    .middenstuk {
        margin: 0 auto;
        max-width: 1200px;
        padding: 0 .5em;
    }
    nav > ul {
        margin: 0 auto;
        max-width: 1200px;
    }
    .hoofdvak {
        padding: 1em 0;
    }
    .hoofdvak:after {
        clear: both;
        content: "";
        display: table;
    }
    article {
        float: left;
        min-height: 60vh;
        padding: 0 1em .7em 1em;
        width: 78%;
    }
    aside {
        float: left;
        padding: .7em 1em;
        width: 22%;
    }
}
