





    html, body {
      margin: 0;
      padding: 0;
      height: 100%;
      font-family: 'Ubuntu', sans-serif;
    }

    #vanta-bg {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -1;
    }

    .topbar, .content {
      position: relative;
      z-index: 1;
    }


.Taken {
    text-align: center;
}










.geschiedenis-box {
  max-width: 600px;
  margin: 40px auto;
  padding: 20px;
  border: 2px solid #ccc;
}

.slidelol {
  display: none;
}

.slidelol.actiefer {
  display: block;
}

button {
  margin-top: 15px;
  padding: 10px 20px;
  cursor: pointer;
}











/* =========================
   ALGEMENE STIJL
========================= */


.grijs {
    color: #888;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}


.prev, .next {
    font-size: 28px;
    margin: 0 5px;
}



.next {
    position: relative;
    left: 5px;
    margin-top: 5px;
    cursor: pointer;
}

.prev {
    position: relative;
    right: 5px;
    margin-top: 5px;
    cursor: pointer;
}


* {
    font-family: "Ubuntu", sans-serif;
    box-sizing: border-box;
}

a {
    color: #59a5d8;
    text-decoration: none;
}

.topbar h1 {
    font-weight: 700;
    color: #0b1d51;
}

.content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.onderdelen {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
}

#intro, .Chatterlink {
    text-align: center;
}

#book-shuffle {
    float: left;
}

#hammer-animation {
    float: right;
}

#school {
    text-align: right;
}

.onderdelen, #Chatlinks, .Taken {
    text-align: center; /* centreert inline-block elementen zoals je ol */
}

#onderdelen, #Taken {
    display: inline-block; /* maakt het lijstblok centreren mogelijk */
    text-align: left;      /* nummers netjes onder elkaar */
    margin: 0 auto;        /* extra zekerheid dat het gecentreerd is */
    padding-left: 0;       /* laat de browser de standaard inspringing doen */
}

.grondstuk {
    text-align: right; /* centreert inline-block elementen zoals je ol */
}

#grondstuk {
    display: inline-block; /* maakt het lijstblok centreren mogelijk */
    text-align: left;      /* nummers netjes onder elkaar */
    margin: 0 auto;        /* extra zekerheid dat het gecentreerd is */
    padding-left: 0;       /* laat de browser de standaard inspringing doen */
}

.right-side {
   text-align: right; 
}

.middle-side {
    text-align: center;
}

.rechts-list {
  direction: rtl;
}

.rechts-list li {
  direction: ltr;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow-x: hidden; /* optional */
}

.content, .topbar {
  position: relative; /* ensures they stay on top of the Vanta background */
  z-index: 1;
}






/* =========================
   TOPBAR
========================= */

.topbar {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: #fff;
    padding: 10px 20px;
    background-color: #f7f9fc;
    border-bottom: 1px solid #d9e2ec;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    text-align: center;
    z-index: 9999;
}

.topbar h1 {
    margin: 0 0 15px 0;
}

#R {
    color: #FFF;
    background-color: #59a5d8;
    padding: 5px 10px;
    border-radius: 5px;
}

/* =========================
   NAVIGATIE
========================= */

.navigatie, .interne-navigatie {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.navigatie a, .interne-navigatie a {
    padding: 8px 12px;
    border-radius: 5px;
    background-color: transparent;
    color: #0b1d51;
    transition: all 0.2s;
}

.navigatie a:hover, .interne-navigatie a:hover {
    background-color: #0b1d51;
    color: #fff;
}

.opleiding-navigatie {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.opleiding-navigatie a {
    padding: 8px 12px;
    border-radius: 5px;
    background-color: transparent;
    color: #5772c3;
    transition: all 0.2s;
    text-decoration: none;
}

.opleiding-navigatie a:hover {
    background-color: #5772c3;
    color: #fff;
}

/* =========================
   MODAL
========================= */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 10000;
    backdrop-filter: blur(3px);
    overflow-y: auto;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    background-color: rgba(255,255,255,0.95);
    padding: 40px;
    border-radius: 12px;
    box-sizing: border-box;
}

/* Modal close knop */
#page-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

/* =========================
   PAGINA SPECIFIEKE LAYOUTS
========================= */

/* Cijfers pagina */
.modal-content.cijfers-layout {
    max-width: 900px;
    background-color: #f5f5fa;
    padding: 30px;
}

/* Passer-Loper pagina */
.modal-content.passer-loper-layout {
    max-width: 700px;
    background-color: #f0f8ff;
    padding: 40px;
    text-align: left;
}

/* Libero pagina */
.modal-content.libero-layout {
    max-width: 750px;
    background-color: #fff3e6;
    padding: 50px;
    overflow-y: auto;
}

/* =========================
   SLIDER / CIJFERS
========================= */

.slide {
    display: none;
    text-align: center;
}

.slide.active {
    display: block;
}

.slide table {
    margin: 0 auto;
    border-collapse: collapse;
}

.slide table th, .slide table td {
    padding: 8px 12px;
    border: 1px solid #333;
}

/* =========================
   TABS
========================= */

.tab-btn {
    padding: 8px 14px;
    border-radius: 6px;
    border: none;
    background-color: #e5e5e5;
    cursor: pointer;
}

.tab-btn.active {
    background-color: #0b1d51;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.tab-content th:first-child,
.tab-content td:first-child { width: 20%; }
.tab-content th:nth-child(2),
.tab-content td:nth-child(2) { width: 25%; }
.tab-content th:nth-child(3),
.tab-content td:nth-child(3) { width: 32.5%; }
.tab-content th:nth-child(4),
.tab-content td:nth-child(4) { width: 10%; }
.tab-content th:nth-child(5),
.tab-content td:nth-child(5) { width: 12.5%; }

.tab-content th, .tab-content td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 8px 12px;
    border: 1px solid #333;
}

/* =========================
   SPORT OVERLAY CORRECTIE
========================= */

.sport-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.sport-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
    clip-path: inset(1.9% 1% 0 1%);
}

.sport-overlay {
    position: relative;  /* was: max-width en padding binnen modal-content */
    max-width: 600px;
    width: 90%;          /* zodat het responsive blijft */
    padding: 40px;
    background-color: rgba(255,255,255,0.85);
    border-radius: 12px;
    text-align: left;
    pointer-events: auto;
    backdrop-filter: blur(1px);
    z-index: 10;
}

/* =========================
   EXTRA
========================= */

.info-link {
    color: #59a5d8;
    text-decoration: underline;
    cursor: pointer;
}

.hidden-page {
    display: none;
}

/* =========================
   GOOGLE FONTS
========================= */

.ubuntu-light { font-weight: 300; font-style: normal; }
.ubuntu-regular { font-weight: 400; font-style: normal; }
.ubuntu-medium { font-weight: 500; font-style: normal; }
.ubuntu-bold { font-weight: 700; font-style: normal; }
.ubuntu-light-italic { font-weight: 300; font-style: italic; }
.ubuntu-regular-italic { font-weight: 400; font-style: italic; }
.ubuntu-medium-italic { font-weight: 500; font-style: italic; }
.ubuntu-bold-italic { font-weight: 700; font-style: italic; }
