/* =============== */
/* Wie-zijn-wij    */
/* =============== */
/* Forceer hetzelfde canvas als index */
/* Canvas voor de bollen (groeit mee + vult scherm) */
.bio-canvas{
  position: relative;
  width: 1200px;                 /* vaste canvasbreedte */
  margin: 40px auto 80px;
  height: auto;                  /* niet vastzetten */
  min-height: calc(100vh - var(--header-space, 120px));
  box-sizing: border-box;
  overflow: visible;
}

/* Anker: rekt de canvas tot onder de laagste bol */
.bio-canvas::after{
  content: "";
  display: block;
  height: 0;                     /* we gebruiken padding voor hoogte */
  /* Laagste bol = #foto-emmy: top 1300px, hoogte = 28% van 1200 (=336px).
     Extra staart 140px voor ademruimte: 1300 + 28% + 140 ≈ 1776px */
  padding-top: calc(1300px + 28% + 140px);
  pointer-events: none;
}


/* Algemene vlek-stijl */
.vlek{
  position: absolute;
  width: var(--w, 46%);
  top: var(--top, auto);
  right: var(--right, auto);
  bottom: var(--bottom, auto);
  left: var(--left, auto);

  aspect-ratio: 1 / 1;
  box-sizing: border-box;
  padding: var(--pad, 6%);        /* alleen voor tekstbollen */
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,.45);
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.18));
  z-index: var(--z, 1);
}

/* Tekstblok in de vlek */
.vlek .vlek-inhoud{
  max-width: 70%;
  text-align: left;     /* leest prettiger */
  margin: 0 auto;
}
.vlek p{
  font-size: 1.15rem;
  line-height: 1.3;
  margin: 6px 0;
}
.vlek h3{
  font-family: 'Amatic SC', cursive;
  letter-spacing: 1px;
  margin: 10px 0 0;
  font-size: 24px;
}

/* Kleine portretvlek (fotobol) */
.vlek.klein{
  --w: 18%;
  --pad: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vlek.klein img{
  display: block;
  width: 50%;           /* kleiner dan de bol */
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

/* Achtergronden */
.blauw{ background-image: url('vlek-blauw.png'); }
.oker { background-image: url('vlek-geel.png'); }
.rood { background-image: url('vlek-rood.png'); }

/* ---------- Posities ---------- */
/* SUZANNE */
#bio-suzanne{
  --w: 60%;
  --top: 20px;
  --left: 20px;
  --z: 2;
}
#foto-suzanne{
  --w: 28%;
  --top: 170px;
  --left: 600px;
  --z: 3;
}

/* JOLIEN */
#bio-jolien{
  --w: 60%;
  --top: 550px;
  --right: 0px;
  --z: 1;
}
#foto-jolien{
  --w: 28%;
  --top: 700px;
  --right: 575px;
  --z: 3;
}

/* EMMY */
#bio-emmy{
  --w: 60%;
  --top: 1080px;
  --left: 20px;
  --z: 1;
}
#foto-emmy{
  --w: 28%;
  --top: 1300px;
  --left: 600px;
  --z: 3;
}

/* Debug: voeg class="debug" toe op .bio-canvas om outlines te zien */
.bio-canvas.debug .vlek{ outline: 1px dashed rgba(0,0,0,.25); }
