/* Algemene stijl */
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;
  height: 100%;
  display: flex;
  flex-direction: column;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  display: flex;
  flex-direction: column; /* Zorgt dat intro boven grid staat */
  align-items: center; /* Centreert de inhoud */
  gap: 2rem; /* Ruimte tussen intro en cards */
}

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;
  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;
}

.sponsors-intro {
  text-align: center;
  max-width: 800px;
  padding: 2rem 1rem 0 1rem;
}

.sponsors-intro h1 {
  font-size: 2.5rem;
  color: #b12367;
  margin-bottom: 1rem;
}

.sponsors-intro p {
  font-size: 1.2rem;
  color: #333;
  line-height: 1.6;
}

.sponsors {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 1200px; /* breedte limiteren zodat het mooi in het midden staat */
  padding: 2rem;
}

.sponsor-card {
  background-color: #b12367;
  border-radius: 25px;
  overflow: hidden;
  text-align: center;
  padding: 1.5rem;
  height: 200px;
  width: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.sponsor-card a {
  display: block; /* Zorgt dat het onder de foto staat */
  margin-top: 0.5rem;
  text-decoration: none; /* Geen onderlijning */
  color: inherit; /* Neemt de tekstkleur van de card over */
  font-size: 1rem;
  font-weight: normal;
  text-align: center;
  color: white;
}

.sponsor-card img {
  width: 60%;
  height: auto;
  margin-top: 1rem;
}

.sponsor-card p {
  color: white;
  margin: 0.5rem 0 1rem;
}

footer {
  text-align: center;
  font-size: 0.95rem;
  color: black;
  padding: 1rem;
  border-top: 1px solid #ccc;
  width: 100%;
  box-sizing: border-box;
  background-color: #b12367;
  backdrop-filter: blur(6px);
}

@media (max-width: 600px) {
  /* Pas de introductietekst aan */
  .sponsors-intro {
    padding: 1rem;
  }

  .sponsors-intro h1 {
    font-size: 2rem;
  }

  .sponsors-intro p {
    font-size: 1rem;
  }

  .sponsors {
    /* De kaarten onder elkaar plaatsen */
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem;
    /* NIEUW: Center de items */
    place-items: center;
  }

  /* Footer aanpassen voor mobiel */
  footer {
    font-size: 0.8rem;
    padding: 1rem;
  }
}
