/*BASIS*/

body {
	background: #FFFFCD;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1em;
    padding: 0;
    margin-top: 10;
} 
.desktop-content {
  display: block;
}

.mobile-content {
  display: none;
}

@media (max-width: 768px) {
  .desktop-content {
    display: none;
  }

  .mobile-content {
    display: block;
  }
}


header { 
	background:  #FFEEEE;         
	color: #003399;
	box-sizing: border-box;
	max-width: 90vw;
	height: auto;
	min-height: 97px;
	text-align: center;
	vertical-align: middle;
	margin: 0 auto;
	border-top: solid 10px;
	border-image-source:url(REMEvlagLaag.gif);
	border-image-slice: 44;
	Border-image-repeat: stretch;
	outline: 1px solid black;
	outline-offset: -1.4px;
	padding: 10px;

} 

header h1 {
    color: #003399;
    font-size: 1.5em;
	font-weight: 600;
	font-style: italic;
   	text-align: center;
}

header h2 {
    color: #003399;
    font-size: 1.2em;
	font-weight: 400;
  	text-align: center;
}

header h4	{
	color: #003399;
    font-size: .8em;
	font-weight: 500;
	font-style: italic;
  	text-align: center;
}
header h5	{
	color: #003399;
    font-size: .6em;
	font-weight: 500;
	/*font-style: italic;*/
  	text-align: center;
}

nav {
	height: auto;
	margin-left: auto;
	margin-right: auto;
	background: #F0FFFF;
	color: #003399;
	font-size: 1.1em;
	font-weight: 700;
	text-align: center;
	border : black solid 1px;
	border-top: none;
	box-sizing: border-box;
	max-width: 90vw;
	padding-bottom: 3px;
	padding-top: 3px;
}

article { 
    box-sizing: border-box;
    padding: 1em;
    min-height: 70vh;
	/*text-align: justify;*/
	overflow-wrap: break-word;
}

article img {
    max-width: 90vw;
	
}
	div.figure {
  	width: 570px;
	max-width: 80vw;
 /* border: thin silver solid;
	margin-left: 0.5em;
	margin: 0
	text-align: bottom;
	padding: 0.5em;*/
}
div.figure p {
	text-align: center;
	font-style: italic;
	font-size: smaller;
	text-indent: 0;
}

	div.plaatje {
  	width: 300px;
	max-width: 80vw;
 /* border: thin silver solid;
	margin-left: 0.5em;
	margin: 0
	text-align: bottom;
	padding: 0.5em;*/
}
div.plaatje p {
	text-align: center;
	font-style: italic;
	font-size: smaller;
	text-indent: 0;
}

img.scaled {
	width: 100%;
}
article ul, #hoofdvak ol {
    list-style-position: outside;
    margin-left: 2em;
}

article h1 {
    color: #003399;
	font-size: 1.2em;
}

article h2 {
    color: maroon;
	font-size: 1.2em;
}

.iframe-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio (voorbeeld) */
  height: 0;
  overflow: hidden;
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


footer { 
    max-width: 90vw;
	margin-left: auto;
	margin-right: auto;
	background-color: #003399;
    box-sizing: border-box;
    clear: both;
    color: white;
    font-size: .7em;
    padding: 1em;
    text-align: center;
}

@media screen and (min-width: 600px) {
    nav ul, article {
        max-width: 1000px;
        margin: 0 auto;
    }
    nav {
        font-size: 1.5em;
    }
    nav ul {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
     }
    nav ul li {
        border-top: none;
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
    }
    nav li {
        text-align: center;
    }
}