/*Grid stijlblad*/

body {
	background: #FFFFCD;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1em;
    padding: 0;
    margin-top: 10;
} 
.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 kolommen van gelijke breedte */
  grid-template-rows: auto;
  gap: 10px; /* Voegt ruimte tussen de items toe */
}
.grid-item {
  background-color: #003399;
  color: white;
  font-size: .9em;
  font-weight: 500;
  padding: 20px;
  text-align: center;
  justify-content: flex-end;
}
.grid-item img {
  width: 100%; /* De afbeelding vult de breedte van de kolom */
  height: 177px;
  width: auto; 
  max-width: 100%; 
}
.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;
	/*font-style: italic;*/
  	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;
	overflow-wrap: break-word;
}
article img {
    max-width: 90vw;	
}
	div.figure {
  	width: 570px;
	max-width: 80vw;
 }
div.figure p {
	text-align: center;
	font-style: italic;
	font-size: smaller;
	text-indent: 0;
}
	div.plaatje {
  	width: 200px;
	max-height: 90px; 
}
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;
}
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) {
    article {
        max-width: 90vw;
        margin: 0 auto;
    }
    nav {
        font-size: 1.5em;
    }
}
@media (max-width: 768px) {
  .grid-container { 
    grid-template-columns: 85vw; /* 1 kolom op kleinere schermen */
	text-align: center;
    grid-template-rows: auto; /* Rijen passen zich aan */
  }

.grid-item img {
  width: 95%; /* De afbeelding vult de breedte van de kolom */
  height: auto;
  width: 300; 
  max-width: 100%; 
}  
    
  }	