html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: "TAN Kindred", bold;
  background-color: #ffe4ec;
  color: #1a1a1a;
  box-sizing: border-box;
  overflow-x: hidden; /* ← dit voorkomt horizontale scroll */
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  margin-top: 70px; /* hoogte van je vaste navigatiebalk */
}

/* Navigatiebalk bovenaan */
nav {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  justify-content: flex-start; /* <-- dit is gewijzigd */
  align-items: center;
  padding: 1rem 2rem;
  box-sizing: border-box;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  padding-left: 3.5rem;
}

nav li {
  white-space: nowrap;
}

nav a {
  text-decoration: none;
  color: #b12367;
  font-weight: bold;
  font-size: 1rem;
}

.praesidium-page {
  max-width: 1100px; /* mooie breedte voor titel + knoppen */
  margin: 0 auto; /* center het geheel */
  padding-top: 8rem;
  margin-bottom: 32rem;
  display: block;
}

.praesidium-page .page-title {
  display: block;
  width: 100%;
  margin: 0 0 1.75rem;
  text-align: center; /* <<< titel in het midden */
  font-size: 2.5rem;
  color: #b12367;
}

.jaar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
  justify-items: center;
  max-width: 900px; /* totale breedte beperken zodat ze niet te ver uitrekken */
  margin: 0 auto; /* centreren */
  margin-bottom: -5.3rem;
}

.jaar-btn {
  background-color: #b12367;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  text-align: center;
}

.jaar-btn:hover {
  background-color: #8c1a4e;
}

footer {
  text-align: center;
  font-size: 0.95rem;
  color: black;
  padding: 1rem;
  border-top: 1px solid #ccc;
  width: 100%;
  box-sizing: border-box;
  position: fixed;
  bottom: 0;
  background-color: #b12367;
  backdrop-filter: blur(6px);
}
