.container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 1em;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 5px solid #333;
  padding: 1em 0;
  flex-wrap: wrap; /* Laat de header elementen wrappen als het nodig is */
}

.logo {
  height: 175px;
  width: auto;
}

.nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;           /* Laat nav-items automatisch op nieuwe regel springen */
  justify-content: center;   /* Centraal uitlijnen als het meerdere regels wordt */
  gap: 15px;                 /* Ruimte tussen nav-items */
}

.nav li {
  margin-left: 0;            /* Verwijder margin, gebruik gap in .nav ul */
}

.nav a {
  text-decoration: none;
  color: black;
  font-size: 18px;
  font-weight: 700;
  transition: color 0.3s;
}

.nav a:hover {
  color: #555555;
  text-decoration: underline;
}

/* Responsief: mobiel */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .nav ul {
    flex-direction: row; /* horizontaal */
    margin-top: 10px;
    gap: 15px;
    justify-content: center;
  }
  .nav li {
    margin: 0;
  }
}
