/* Basis layout */
:root {
  --max-image-width: min(900px, 90vw);
  --gap: 2rem;
}

* { box-sizing: border-box; }



body {
  margin: 0;
  background-color: #fff;
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
  display: block;
  transition: background-color 0.4s ease, color 0.4s ease;
  min-height: 100vh; /* cover full viewport to avoid bottom bar */
}

html {
  background-color: #fff;
  transition: background-color 0.4s ease;
}

/* Dark mode backgrounds on both html and body */
html.dark-mode, body.dark-mode {
  background-color: #000;
  color: #fff;
}

/* Toggle button using SVG from assets */
.toggle-btn {
  position: fixed;
  top: 1rem;
  right: 1rem;
  border: 2px solid currentColor;
  background: transparent;
  color: inherit;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.toggle-btn img {
  display: block;
  width: 28px;
  height: 28px;
  pointer-events: none;
  transition: filter 0.3s ease;
}

.toggle-btn:hover {
  background-color: currentColor;
  color: #fff;
}

.toggle-btn:hover img {
  filter: invert(1);
}

.under-construction {
  width: 100%;
  max-width: 1200px;
  margin: 96px auto 32px; /* space below fixed button */
  padding: 0 16px;
  text-align: center;
  box-sizing: border-box;
}



/* Evenredige weergave van afbeeldingen: gelijke breedte, proportioneel schalen */
.uc-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 0 auto;
  transition: filter 0.3s ease;
  object-fit: contain;
}

/* Donkere modus: keer kleuren om, inclusief afbeeldingen */
.dark-mode {
  background-color: #000;
  color: #fff;
}

.dark-mode .uc-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 0 auto;
  transition: filter 0.3s ease;
  object-fit: contain;
}

/* Notitie-stijl */



/* Image blocks */
.image-block {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 2rem;
}

.image-block.first { margin-top: 96px; } /* space for fixed button at top */

.uc-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: filter 0.3s ease;
}

/* Overlay text over first image */
.uc-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.uc-overlay span {
  font-weight: 800;
  font-size: clamp(1.2rem, 3.5vw, 3rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.25em 0.6em;
  border-radius: 0.25em;
  /* readable on both modes */
  color: currentColor;
  mix-blend-mode: difference; /* contrast over image */
}

/* Invert images on toggle via class */
.invert-on .invertible {
  filter: invert(1);
}

/* Keep top/bottom backgrounds consistent in dark mode */
html.dark-mode, body.dark-mode { background-color: #000; color: #fff; }

