
@import url('https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@100..900&display=swap"');


html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #000;
  color: #ffffff;
  position: relative;

  font-family: "Kumbh Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings:    "YOPQ" 300;

}

header {
  position: fixed;
  margin: 0px;
  top: 0;
  color: white;
  padding: 10px 0;
  text-align: center;
  width: 100vw;
  background: transparent;
  transition: background 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  box-sizing: border-box;
  z-index: 10;
  user-select: none;
}

/* Add this new class that will be toggled with JavaScript */
header.scrolled {
  background: #000;
}

h1 {
  margin: 0;
  font-size: 1.2em;
  text-transform: uppercase;
}

nav a {
  margin: 0 15px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.8em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  padding-bottom: 5px;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ffffffc2;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

nav a:hover::after {
  opacity: 1;
  transform: translateY(0);
}

section {
  margin-bottom: 100px;
  padding-top: 100px; /* Ruimte voor het menu */
  margin-top: -100px; /* Compenseer de padding voor de layout */
}

section.intro {
  position: relative;
  height: 92vh;
  background: url(../img/bg.webp) no-repeat center bottom;
  background-size: cover;
  display: flex;
  align-items: end;
  justify-content: center;
  margin: 0;
  padding-top: 0; /* Geen padding voor de intro sectie */
  margin-top: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container.cookie-policy,
.container.privacy-policy {
  padding-top: 100px;
}

/* h3 {
  position: absolute;
  font-size: 2vw;
  font-weight: 500;
  width: 75vw;
  text-align: center;
  color: #fff;
  bottom: -10%;
} */

h2 {
  font-size: 4.792vw;
  font-weight: 500;
  text-transform: uppercase;
  margin: 0;
  -webkit-text-stroke: 2px #ffffff;
  color: #222;
}

h3 {
  font-size: 2vw;
  font-weight: 500;
  margin: 60px 0 0;
  color:#cdcdcd;
}

h4 {
  font-size: 0.9vw;
  font-weight: 600;
  margin: 0 0 10px 0;
  text-transform: uppercase;
}

p {
  font-size: 1vw;
}

a {
  color: #fff;
}

.board-term {
  display: block;
  font-size: 0.75vw;
  font-weight: normal;
  color: #888;
  text-transform: none;
}

.board-members {
  display: grid;  
  grid-template-columns: 1fr 1fr 1fr;
  gap: 50px;
  margin-top: 80px;
}

#board p {
  width: 75%;
}

.board-member {
  margin-bottom: 75px;
}

.board-member .profile-image {
  width: 100%;
  aspect-ratio: 1/1;
  background-color: #fff;
  background: #111;
  overflow: hidden;
  animation: morphBorder 25s ease-in-out infinite;
  margin-bottom: 40px;
}

.board-member.emiel .profile-image {
  animation-delay: -5s;
}

.board-member.peter .profile-image {
  animation-delay: -25s;
}

.board-member.roland .profile-image {
  animation-delay: -15s;
}

.board-member.iris .profile-image {
  animation-delay: -10s;
}

.board-member.thomas .profile-image {
  animation-delay: -20s;
}

.board-member .profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.board-member a {
  display: inline-block;
  margin: 5px 10px 0 0;
  text-decoration: none;
  color: #fff;
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 20px;
}

.board-member a i {
  font-size: 20px;
}

.board-member a:hover {
  opacity: 0.8;
}

footer {
  background: #1e1e1e;
  color: #ffffff;
  text-align: center;
  padding: 10px 0;
}

/* Media Queries for Responsive Design */

@media screen and (max-width: 1200px) {
  .container {
    max-width: 960px;
  }

  h2 {
    font-size: 5vw;
  }

  h3 {
    font-size: 2.5vw;
  }

  h4 {
    font-size: 1.2vw;
  }

  p, li {
    font-size: 1.2vw;
  }
}

@media screen and (max-width: 992px) {
  .container {
    max-width: 720px;
  }

  .board-members {
    grid-template-columns: 1fr 1fr;
  }

  h2 {
    font-size: 6vw;
  }

  h3 {
    font-size: 3vw;
  }

  h4 {
    font-size: 1.5vw;
  }

  p, li {
    font-size: 1.5vw;
  }

  #board p {
    width: 90%;
  }
}

@media screen and (max-width: 768px) {
  .container {
    max-width: 540px;
  }

  header {
    flex-direction: column;
    padding: 10px;
  }

  nav {
    margin-top: 10px;
  }

  nav a {
    margin: 0 10px;
  }

  .board-members {
    grid-template-columns: 1fr;
  }

  h2 {
    font-size: 8vw;
  }

  h3 {
    font-size: 4vw;
  }

  h4 {
    font-size: 2vw;
  }

  p, li {
    font-size: 2vw;
  }

  #board p {
    width: 100%;
  }

  .board-term {
    font-size: 1.5vw;
  }
}

@media screen and (max-width: 576px) {
  .container {
    max-width: 100%;
    padding: 0 15px;
  }

  h1 {
    font-size: 1em;
  }

  nav a {
    font-size: 0.7em;
    margin: 0 5px;
  }

  section.intro {
    height: 80vh;
  }

  h2 {
    font-size: 10vw;
  }

  h3 {
    font-size: 5vw;
  }

  h4 {
    font-size: 3vw;
  }

  p, li {
    font-size: 3vw;
  }

  .board-term {
    font-size: 2vw;
  }

  .board-member {
    margin-bottom: 50px;
  }

  .board-member p {
    margin: 10px 0;
  }
}

/* Voor zeer grote schermen */
@media screen and (min-width: 1920px) {
  p, li {
    font-size: 18px;
  }
}

@keyframes morphBorder {
  0% {
    border-radius: 38% 62% 47% 53% / 52% 58% 42% 48%;
  }
  33% {
    border-radius: 57% 43% 51% 49% / 54% 54% 46% 46%;
  }
  66% {
    border-radius: 59% 41% 57% 43% / 45% 56% 44% 55%;
  }
  100% {
    border-radius: 38% 62% 47% 53% / 52% 58% 42% 48%;
  }
}

/* Basis tekst grootte */
p, li {
  font-size: 1vw;
  line-height: 1.6;
}

/* Media Queries voor responsive tekst */
@media screen and (max-width: 1200px) {
  p, li {
    font-size: 1.2vw;
  }
}

@media screen and (max-width: 992px) {
  p, li {
    font-size: 1.5vw;
  }

  #board p {
    width: 90%; /* Maak tekst breder op kleinere schermen */
  }
}

@media screen and (max-width: 768px) {
  p, li {
    font-size: 2vw;
  }

  #board p {
    width: 100%;
  }
}

@media screen and (max-width: 576px) {
  p, li {
    font-size: 3vw;
  }

  .board-member p {
    margin: 10px 0;
  }
}

/* Voor zeer grote schermen, maximale tekstgrootte */
@media screen and (min-width: 1920px) {
  p, li {
    font-size: 18px; /* Vaste grootte voor grote schermen */
  }
}

/* Nieuwe regel voor eerste h3 in een sectie */
section h3:first-of-type {
  margin-top: 0;
}
