/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: "Courier New", Courier, monospace;
    background-color: #f9f7ea; /* gebroken wit */
    color: #4db8ff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  
  header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2rem;
  }
  
  .title h1 {
    font-size: 2rem;
    font-weight: 300;
  }
  
  .title h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #4db8ff;
    margin-top: 0.2rem;
  }

  .title a.home-link {
    text-decoration: none;
    color: inherit; /* behoud de kleur van je h1/h2 */
  }
  
  nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
  }
  
  nav a {
    text-decoration: none;
    color: #4db8ff;
    font-size: 1.15rem;
    letter-spacing: 1px;
    transition: 0.2s;
  }
  
  nav a:hover,
  footer a:hover {
    text-decoration: underline;
    opacity: 0.8;
  }

  nav a.active {
    text-decoration: underline;
    font-weight: bold; /* optioneel: benadrukt nog meer */
}
  
  footer {
    position: fixed;   /* blijft altijd op dezelfde plek */
    bottom: 0;         /* onderaan het venster */
    left: 0;
    width: 100%;       /* volledig breedte van het scherm */
    padding: 1rem 2rem;
    background: transparent; /* kan je ook een kleur geven als je wilt */
    display: flex;
    justify-content: flex-start; /* of center/rechts als je wilt */
    z-index: 10;       /* zodat het boven de canvas p5 blijft */
}

  
  footer a {
    margin-right: 1rem;
    font-size: 1.4rem;
    color: #4db8ff;
    text-decoration: none;
  }

  canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;   /* achter de tekst */
  }
  
  
  .about-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    text-align: left;
  }
  

  .text-body {
    max-width: 700px;      /* tekst smaller maken */
    line-height: 1.7;      /* leesbaarder */
    font-family: Helvetica, sans-serif;
    font-weight: 300;
    font-size: 1.05rem; /* basis */
  }
  
  /* Zorg dat de foto niet te groot wordt */
  .about-photo img {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 2px;
  }
  

  .content-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    text-align: left;
  }

  .content-photo img {
    width: 100%;
    height: auto;
    border-radius: 2px;
  }


  .contact-container {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
    }


/* Sectie titels */
.section-title {
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: left;
}

/* Horizontale lijn tussen secties */
.section-divider {
  border: 0;
  height: 1px;
  background-color: #4db8ff;
  width: 100%;
  max-width: 700px; /* gelijk aan content-container */
  margin: 2rem auto;
}


/* Smooth scroll voor anchor links */
html {
  scroll-behavior: smooth;
}

/* Inhoudsopgave bovenaan de pagina */
.toc {
    max-width: 700px;
    margin: 2rem auto;
    padding: 0;
    text-align: center;
}

.toc ul {
    list-style: none;
    padding: 0;
    display: block;
    justify-content: center;
    gap: 2rem;
}

.toc a {
    text-decoration: none;
    color: #4db8ff;
    font-weight: 400;
    transition: 0.2s;
}

.toc a:hover {
    font-weight: bold;
    text-decoration: none;
}


/* CAROUSEL */

.carousel-container {
  position: relative;
  max-width: 700px;  /* hetzelfde als je content-container */
  margin: 0 auto;
  overflow: hidden;
}

.carousel-slide {
  display: flex;
  transition: transform 0.4s ease;
}

.carousel-slide img {
  width: 100%; /* behoud huidige grootte */
  flex-shrink: 0;
  border-radius: 2px;
}

/* Pijltjes */
.carousel-container .prev,
.carousel-container .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(172, 172, 172, 0.6); 
  border: none;
  color: white;
  font-size: 1.6rem;
  padding: 0.5rem;
  cursor: pointer;
  z-index: 5;
  border-radius: 50%;   /* maakt het vlak een cirkel */
  width: 40px;          
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}


.carousel-container .prev {
  left: 5px; /* buiten de container */
}

.carousel-container .next {
  right: 5px; /* buiten de container */
}

.carousel-container .prev:hover,
.carousel-container .next:hover {
  background: #d2d2d2;
}

/* Hide hamburger by default on desktop */
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #4db8ff;
  position: relative;
  z-index: 30; /* hoger dan het drawer menu (20) */
}


.responsive-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 verhouding (hoogte = 9/16 van de breedte) */
  height: 0;
  overflow: hidden;
  max-width: 700px;
  margin: 0 auto; /* centreren */
}

.responsive-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}




/* 📱 RESPONSIVE: kleine schermen (smartphone) */

  @media (max-width: 600px) {
    header {
      flex-direction: row;          /* naast elkaar */
      justify-content: space-between; /* titel links, hamburger rechts */
      align-items: center;          /* mooi verticaal gecentreerd */
    }
  
    .title {
      flex-grow: 1; /* titel neemt ruimte links */
    }
  
    .title h1 {
      font-size: 1.5rem;
    }
  
    .title h2 {
      font-size: 1.5rem;
    }
  
    nav ul {
      display: flex;             /* flex for vertical layout */
      flex-direction: column;
      position: fixed;
      top: 0;
      right: -300px;             /* hidden offscreen */
      width: 300px;
      height: 100%;
      background-color: #e0e0e0;
      padding-top: 8rem;
      padding-left: 1.2rem;
      gap: 1.2rem;
      transition: right 0.3s ease;
      z-index: 20;
    }
  
    nav ul.show {
      right: 0; /* slide in */
    }
  
    .hamburger {
      display: block;            /* make hamburger visible */
      background: none;
      border: none;
      font-size: 1.5rem;
      color: #4db8ff;
      cursor: pointer;
    }
  
    nav a {
      font-size: 1.1rem;
    }
  
    footer a {
      font-size: 1.1rem;
    }

    
    
    .text-body {
      font-size: 0.9rem;   /* iets kleiner */
      line-height: 1.4;    /* compacter */
    }

    .section-title {
      font-size: 1.2rem;   /* verkleinen titels */
    }
    

  }
  
