body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: transparent;
  background-image: url('../achtergrond.jpg');
  background-repeat: repeat;           /* afbeelding herhalen zoals tegels */
  background-size: auto;               /* gebruik oorspronkelijke grootte */
  background-position: top left;       /* optioneel: begin linksboven */
  background-attachment: fixed;        /* optioneel: blijft bij scrollen */
}



/* Algemene linkstijl */
a {
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  color: inherit;
}

/* Hover alleen op menu-items en niet op het logo */
aside a:hover,
.site-footer a:hover {
  background-color: #FFCE00;
  color: black;
}

/* Uitsluiten van logo */
a.logo:hover {
  background-color: transparent;
}

/* Specifieke menu-items */
.menu-item {
  display: block;
  padding: 10px;
  background-color: #0e57c5;
  color: white;
  border: 2px solid black;
}

.menu-item + .menu-item {
  margin-top: 4px;
}

.highlight-yellow {
  background-color: #FFCE00;
  color: #000080;
}
.mondriaan-menu {
  display: flex;
  flex-direction: column;
  width: 160px;
  background-color: black;
  padding: 10px;
  box-sizing: border-box;
  align-items: center;
}
.mondriaan-menu h2 {
  color: white;
  font-size: 16px;
  margin-bottom: 10px;
  text-align: center;
  width: 100%;
}
.site-footer {
  background-color: #d3d3d3;
  color: black;
  text-align: center;
  padding: 10px;
  font-size: 14px;
}
.site-footer a {
  color: #333333;
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
  background-color: #FFCE00;
  color: black;
}

aside {
  flex: 0 0 160px;
  width: 160px;
  background-color: black;
  padding: 0;
  box-sizing: border-box;
  margin-left: -10px; /* of -15px, -20px, etc. naar wens */
}

header {
  background-color: #CE0000;
  color: white;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  min-height: 100px;
  padding-left: 10px;
  padding-right: 30px;
}

header a {
  display: flex;
  align-items: center;
  height: 100%;
}

header img {
  height: 60px;
  margin-right: 20px;
  border: 2px solid black;
  box-sizing: border-box;
}

header h1 {
  margin: 0;
  font-size: 28px;
  text-align: center;
  flex: 1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.content table {
  width: 100%;
  border-collapse: collapse;
}

.content th {
  text-align: left; /* Titels naar links uitlijnen */
  vertical-align: top; /* Zorgt ervoor dat de tekst bovenin de cel uitgelijnd wordt */
  padding: 8px;
  background-color: #f0f0f0;
  white-space: nowrap; /* Voorkomt dat de tekst over meerdere regels gaat */
}

.content td {
  padding: 8px;
}

.content p {
  margin: 0;
}



.header-afbeelding-blok {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 10px;
  margin-right: 10px;
  float: right;
}

.header-afbeelding {
  height: 80px;
}

.header-afbeelding img {
  height: 100%;
  border: 2px solid black;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}

.vakgebied-label {
  font-size: 16px;
  font-weight: bold;
  color: white;
  background-color: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
  font-family: 'Georgia', serif;
  font-style: italic;
}


.webkwestie-menu {
  font-size: 1.05em;
}

.webkwestie-menu a {
  color: #0033A0;
  text-decoration: none;
}

.webkwestie-menu a:hover {
  text-decoration: underline;
}


.pagina {
  display: flex;
  flex-wrap: wrap;
  min-height: 80vh;
}

main {
  flex: 1;
  padding: 20px;
  background-color: transparent;
  color: black;
}

.onderin-info {
  font-size: 0.9em;
  line-height: 1.8;
  margin-top: 1em;
  color: #333;
  background-color: transparent;
  padding: 0.5em;
  border-radius: 6px;
}

.navigatie-knoppen {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid #ccc;
}

.knop-links,
.knop-midden,
.knop-rechts {
  flex: 1;
  display: flex;
}

.knop-links {
  justify-content: flex-start;
}

.knop-midden {
  justify-content: center;
}

.knop-rechts {
  justify-content: flex-end;
}



.knop {
  background-color: #0e57c5;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s;
  border: 2px solid black; /* zwarte rand toegevoegd */
}


.knop:hover {
  background-color: #FFCE00;
}


/* Fullscreen knop */
.fullscreen-button {
  position: fixed;
  top: 10px;
  right: 10px;
  background-color: #CE0000;
  color: white;
  border: none;
  padding: 8px 12px;
  font-size: 14px;
  cursor: pointer;
  z-index: 9999;
  border-radius: 4px;
}

.figureClass {
  display: block;
  width: 100%; /* of auto */
  overflow: hidden; /* zorgt dat float niet doorsijpelt */
  margin: 1em 0;
}

.captionClass {
  font-size: 0.9em;
  font-style: italic;
  color: #555;
  margin-top: 4px;
}

ul.bronnenlijst {
  padding-left: 0;
  list-style-type: none;
  margin: 1em 0;
}

ul.bronnenlijst li {
  margin-bottom: 0.8em; /* iets meer ruimte tussen de regels */
  line-height: 1.1;     /* meer regelhoogte voor leesbaarheid */
}

ul.bronnenlijst li a {
  font-size: 1.05em;
  font-weight: normal;
  color: #0055aa;
  text-decoration: none;
}

ul.bronnenlijst li a:hover {
  text-decoration: underline;
}


.fullscreen-button:hover {
  background-color: #a30000;
}

#voorleesKnop, #stopKnop {
  display: inline-block;
  margin: 0.5em;
}

.visually-hidden {
  position: absolute;
  left: -9999px;
}

.summernote-bronnen img {
  max-width: 100%;
  height: auto;
  margin: 1em 0;
}

.summernote-bronnen {
  line-height: 1.6;
  font-size: 1.05em;
}

.visually-hidden {
  position: absolute;
  left: -9999px;
}


@media (max-width: 768px) {
  .pagina {
    flex-direction: column;
  }

  aside {
    flex: 1 1 100%;
  }

  main {
    flex: 1 1 100%;
  }

  header {
    flex-direction: column;
    align-items: center;
    padding: 15px;
  }

  header img {
    margin: 0 0 10px 0;
    height: 50px;
    border: 2px solid black;
    box-sizing: border-box;
  }

  header h1 {
    margin: 0;
    font-size: 24px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
  }
}  /* 👈 sluit hier het @media-blok netjes af */


/* Stijlen specifiek voor beoordelingsformulieren */

.formulier-table {
  border-collapse: collapse;
  width: auto;             /* Past zich aan de inhoud aan */
  margin-top: 10px;
}

.formulier-table td {
  border: 1px solid black;
  padding: 8px;
  text-align: left;
  vertical-align: middle;
}

.formulier-table .omschrijving {
  white-space: normal;     /* Laat de tekst netjes afbreken */
}

.formulier-table .header {
  white-space: nowrap;     /* Hou de koppen compact */
}


.header {
  background-color: #CC0D00;
  color: #fff;
  text-align: center;
  font-weight: bold;
}

.omschrijving {
  background-color: #FFCE00;
}

.totaal-label,
.totaal-veld {
  padding: 5px;
  text-align: right;
  font-weight: bold;
}

.totaal-veld input {
  height: 35px;
  text-align: center;
  font-size: 1.5em;
  background-color: #FFCE00;
  border: none;
}

.score-input {
  width: 50px;
  text-align: center;
}

#feedback {
  font-size: 1.2em;
  font-weight: bold;
  color: #0000FF;
}

.reset-button {
  padding: 8px 15px;
  background-color: #ddd;
  border: 1px solid #ccc;
  cursor: pointer;
  font-size: 1em;
  margin-top: 10px;
}

.reset-button:hover {
  background-color: #eee;
}

.toelichting-tabel {
  border-collapse: collapse;
  width: auto;           /* Tabel past zich aan de inhoud aan */
  margin-top: 10px;
}

.toelichting-tabel td {
  border: 1px solid black;
  padding: 8px;
  text-align: left;
  white-space: nowrap;    /* Voorkomt dat korte teksten worden opgerekt */
}

.toelichting-tabel td:last-child {
  white-space: normal;    /* Laat de toelichting wel netjes afbreken */
}
