/* ======= RESET ======= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ======= BASIS ======= */
body {
  background-color: #ffffff;
  color: #222;
  font-family: "Open Sans", Georgia, Arial, sans-serif;
  font-size: 0.8rem;
  line-height: 2;
}

/* ======= CONTAINER ======= */
#websitevak {
  margin: 1.5em auto;
  max-width: 1100px;
  width: 95%;
  background: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1); /* Subtielere schaduw op kleinere schermen */
  border-radius: 8px;
  overflow: hidden;
}

/* ======= HEADER ======= */
#balkboven {
  background-color: #304b9b;
  color: white;
  padding: 1.5em;
  text-align: center;
}

#balkboven h1 {
  font-size: 1.8em;
  font-weight: bold;
  letter-spacing: 0.5px;
}

/* ======= LAYOUT (GRID) ======= */
#middenstuk {
  display: grid;
  grid-template-columns: 250px 1fr;
  background-color: lavender;
}

@media (max-width: 768px) {
  #middenstuk {
    grid-template-columns: 1fr;
  }
}

/* basis.css */

/* Verklein de ruimte tussen alle paragrafen */
p {
    margin-top: 1px;    /* bovenruimte */
    margin-bottom: 5px; /* onderruimte */
    line-height: 1.4;   /* optioneel: regelhoogte voor betere leesbaarheid */
}

/* ======= MENU ======= */
#menu {
  background-color: #f3f6ff;
  border-right: 2px solid #e0e0e0;
}

#menu ul {
  list-style: none;
}

#menu a {
  display: block;
  padding: 1em 1.2em;
  color: #003366;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid #e0e0e0;
  transition: all 0.2s ease-in-out;
}

#menu a:hover {
  background-color: #0073e6;
  color: white;
  padding-left: 1.5em;
}

/* ======= HOOFDVAK ======= */
#hoofdvak {
  background-color: #ffffff;
  padding: 1.5em 2em;
}

#tekstvak {
  max-width: 900px;
  margin: 0 auto;
  padding: 1em 0 3em;
}

#tekstvak h1 {
  color: #203A87;
  font-size: 1.8em;
  font-weight: 700;
  margin: 0em 0 0.5em;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 0.3em;
}

#tekstvak h2 {
  color: #003366;
  font-size: 1.1em;
  margin: 1.2em 0 0.5em;
}

#tekstvak p {
  margin-bottom: 1em;
  line-height: 1.7;
}

/*margin: 0 em 0 0.5em; 
betekend bovenkant: 1.2em
links/rechts: 0
onderkant: 0.5em

#tekstvak ul, 
#tekstvak ol {
  margin: 0.8em 0 1em 2em;
}

#tekstvak li {
  margin-bottom: 0.5em;
}

/* ======= AFBEELDINGEN ======= */
img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

.links {
  float: left;
  margin: 0.5em 1em 0.5em 0;
}

.rechts {
  float: right;
  margin: 0.5em 0 0.5em 1em;
}

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

.center {
  text-align: center;
}
.red {
  color: #d92626;        /* zachter rood */
  font-weight: 500;
  font-size: 1rem;       /* hetzelfde als body */
  line-height: 1.7;      /* hetzelfde als body */
}




/* ======= FOOTER ======= */
footer {
  background-color: #304b9b;
  color: #fff;
  text-align: center;
  padding: 15px 0;
  font-size: 0.9em;
  border-top: 1px solid #ccc;
}


footer a {
  color: #00c853;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
  #menu {
    border-right: none;
    border-bottom: 2px solid #e0e0e0;
  }

  #menu a {
    text-align: center;
    padding: 0.8em;
  }

  #tekstvak {
    padding: 1em;
  }

  #tekstvak p {
    font-size: 0.8rem;
  }
}

/* ======= PARAGRAFEN ALS H2 ======= */
#tekstvak p.p-as-h2 {
  font-size: 1.2em;        /* precies zoals h2 */
  font-weight: 500;       /* vetgedrukt zoals h2 */
  color: #003366;          /* kleur van h2 */
  letter-spacing: 0.3px;
  margin: 1.2em 0 0.5em;   /* zelfde marges als h2 */
  margin-top: 0.8em;
  line-height: 1.4;        /* compact zoals h2 */
}


