h1 {
  text-align: center;
  margin-top: 20px;
}

  body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #111;
    color: white;
  }

  /* Slideshow zelf centreren en max 800px breed */
  .slideshow-container,
  .slideshow-header,
  .dots {
    max-width: 800px;
    margin: 10px auto;
  }

  .slideshow-container {
    position: relative;
  }

  .slide {
    display: none;
    text-align: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
  }
  .slide.show { opacity: 1; }

.slide img {
  width: 100%;
  height: auto;        /* hoogte volgt de breedte */
  max-height: 350px;   /* maak de foto’s kleiner, bv. max 350px hoog */
  object-fit: contain; /* hele foto zichtbaar, geen afsnijden */
  border-radius: 8px;
}
.author {
  margin-bottom: 6px;
  font-size: 14px;
  color: #fff;        /* wit */
  font-weight: bold;  /* vet */
}

  .title {
    margin-top: 6px;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
  }

  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    padding: 12px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    background: rgba(0,0,0,0.4);
    user-select: none;
  }
  .next { right: 0; }

.dots {
  display: flex;
  justify-content: center; /* bolletjes in het midden */
  margin-top: 10px;
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
}
.active, .dot:hover { background-color: #fff; }

  .fullscreen-btn {
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    padding: 6px 12px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
  }
  .fullscreen-btn:hover {
    background: rgba(255,255,255,0.2);
  }

  /* In fullscreen: toon hele foto */
  :fullscreen .slide img {
    height: auto;
    max-height: 100vh;
    object-fit: contain;
  }
  .slideshow-footer {
  text-align: center;   /* knop in het midden */
  margin-top: 10px;
}
