/* =========================
   Algemene stijlen
   ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: #ffffff; /* match met intro */
  color: #222;
  line-height: 1.6;
  position: relative; 
  overflow-x: hidden; 
}

/* =========================
   Header
   ========================= */
header {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  max-width: 1200px;
  height: 3.8rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 1.5rem;
  z-index: 1000;
  clip-path: inset(0 0 0 0 round 50px);
  backface-visibility: hidden;
  isolation: isolate;
  perspective: 1000;
  background-image: linear-gradient(to bottom, hsla(0, 0%, 100%, 0.2), hsla(0, 0%, 100%, 0.15));
  backdrop-filter: blur(10px);
}

header.is-dark {
  background-image: linear-gradient(to bottom, hsla(40, 18%, 93%, 0.4), hsla(40, 18%, 93%, 0.6));
  color: rgba(0, 0, 0, 1);
}

@media (min-width: 900px) {
  header {
    gap: 4rem;
    top: 2.5rem;
    padding: 0 2rem;
  }
}

/* =========================
   Navigatie
   ========================= */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #000;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease;
  font-family: 'Bungee', cursive; /* hier voeg je het font toe */
}

.logo {
  width: 30px;
  height: 30px;
  cursor: pointer;
}





/* =========================
   Footer
   ========================= */
footer {
  background: #000;
  color: white;
  text-align: center;
  padding: 1.5rem;
  margin-top: 3rem;
  border-radius: 30px 30px 0 0;
}









/* Hero canvas styling */
#hero-canvas {
width: 100vw;
height: 100vh;
position: relative;
top: 0;
left: 0;
overflow: hidden;
z-index: 1;
}


#hero-canvas canvas {
width: 100%;
height: 100%;
display: block;
}





