 /* Styling voor de tekst */
  .contact-block {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
     text-align:justify;
 max-width: 1000px;
  margin-top: 20px;
  }

  .contact-name {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #222;
  }

  /* Styling voor de afbeeldingen */
  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(45%, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 20px auto;
    padding: 0 20px;
  }

  .gallery img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }

  .gallery img:hover {
    transform: scale(1.02);
  }

  /* Responsive aanpassingen */
  @media (max-width: 768px) {
    .gallery {
      grid-template-columns: 2fr;
    }
    .contact-name {
    font-weight: bold;
    font-size: 0.8rem;
    margin-bottom: 10px;
    color: #222;
  }
  }
  /* ===== TERUG KNOP ===== */
.back-button {
  display: inline-block;
  position: absolute;
  top: 20px; /* Afstand vanaf de bovenkant van de ouder */
  left: 20px; /* Afstand vanaf de linkerkant (iets van de kant) */
  font-size: 14px;
  text-decoration: none;
  color: #000;
  border: 1px solid #000;
  padding: 6px 12px;
  background: white; /* Optioneel: zorgt dat de knop opvalt */
  z-index: 10; /* Zorgt dat de knop boven andere content blijft */
}

.back-button:hover {
  background: #eb1f1f;
  color: #f9f7f7;
}

@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 1000px; /* Voeg deze regel toe */
  }
}

 /* Op mobiel: maak de knop fixed en onzichtbaar */
  @media (max-width: 2700px) {
    .scroll-to-top {
      display: block;
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 1000;
      opacity: 0;
      transition: opacity 0.3s ease;
      background: none;
      border: none;
      font-size: 24px;
      cursor: pointer;
    }

    /* Toon de knop als de class 'visible' is toegevoegd */
    .scroll-to-top.visible {
      opacity: 1;
    }
  }



