
/* Bestaande basisstijl */
body {
  font-family: 'Segoe UI', 'Arial', sans-serif;
  background-color: #ffffff;
  color: #333;
  margin: 0;
  padding: 0;
  max-width: 100%;
  box-sizing: border-box;
  line-height: 1.5;
  font-size: 16px;
  padding: 0 15px;
}

header {
  background-color: #ffffff;
  padding: 20px;
  text-align: center;
  border-bottom: 2px solid #ff0000;
}

header img {
  max-height: 80px;
}

h1 {
  color: #ff0000;
  margin-top: 0;
  font-size: 2em;
}

h2 {
  color: #ff0000;
  font-size: 1.5em;
}

a {
  color: #ff0000;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  opacity: 0.85;
}

button, input[type="submit"] {
  background-color: #ffffff;
  color: #ff0000;
  border: 2px solid #ff0000;
  padding: 10px 20px;
  margin: 5px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

button:hover, input[type="submit"]:hover {
  background-color: #ff0000;
  color: white;
  box-shadow: 0 0 6px rgba(255, 0, 0, 0.4);
}

input[type="text"], select, textarea {
  width: 100%;
  max-width: 500px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 15px;
}

select {
  appearance: none;
  background-color: #ffffff;
  border: 2px solid #ff0000;
  color: #ff0000;
  padding: 10px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  max-width: 500px;
}

select:hover {
  background-color: #ff0000;
  color: #ffffff;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

section, form, table, .container {
  margin-bottom: 40px;
}

.card {
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  margin-bottom: 20px;
}

.container-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.container-flex > div {
  flex: 1 1 300px;
}

table {
  border-collapse: collapse;
  width: 100%;
}

table th {
  background-color: #f0f0f0;
  color: #333;
  text-align: left;
  padding: 10px;
  border-bottom: 2px solid #ccc;
}

table td {
  padding: 10px;
}

table tr:nth-child(even) {
  background-color: #f9f9f9;
}

footer {
  background-color: #ffffff;
  text-align: center;
  padding: 15px;
  border-top: 2px solid #ff0000;
  margin-top: 40px;
  font-size: 0.9em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

*, *::before, *::after {
  box-sizing: border-box;
}

@media (max-width: 600px) {
  header, footer {
    padding: 10px;
    text-align: center;
  }

  h1, h2 {
    font-size: 1.5em;
  }

  button, input[type="submit"], select {
    width: 100%;
    padding: 12px;
    font-size: 1em;
  }

  input[type="text"], textarea {
    width: 100%;
    font-size: 1em;
  }

  table, thead, tbody, th, td, tr {
    display: block;
    width: 100%;
  }

  table th {
    text-align: left;
  }

  table td {
    border-bottom: 1px solid #ccc;
    padding: 8px 0;
  }
}
