.title {
  background-image: url('../images/projecten-achtergrond.jpg'); /* Pas eventueel de afbeelding aan */
}


.projecten-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.project-box {
  flex: 1 1 calc(50% - 15px); /* 2 per rij met ruimte tussen */
  max-width: calc(50% - 15px);
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: left;
  box-sizing: border-box;
  transition: transform 0.3s ease;
}

.project-box:hover {
  transform: translateY(-5px);
}

.project-naam {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.project-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}

.project-content img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;

  margin: 0 auto;  /* horizontaal centreren in container */
  display: block;
}

.project-tekst {
  flex: 1 1 200px;
  flex-direction: column;
  align-items: center; /* inhoud horizontaal centreren */
  text-align: center;  /* tekst centreren */
}

.project-tekst p {
  margin-bottom: 1em;
  color: #555;
  font-size: 1rem;
}

.project-button {
  background-color: #2C3335;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  display: inline-block;
  margin-top: auto; /* duwt knop naar beneden */
}

.project-button:hover {
  background-color: #555555;
}

/* Optioneel: responsive voor kleinere schermen */
@media (max-width: 768px) {
  .project-box {
    flex: 1 1 100%;
    max-width: 100%;
  }
}





.project-filter-wrapper {
  margin-bottom: 30px;
  text-align: center;
}

.project-filter label {
  display: inline-flex;
  align-items: center;
  margin-right: 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  user-select: none;
  color: #2C3335;
}

/* Verberg de standaard radio buttons */
.project-filter input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #666;
  border-radius: 6px; /* afgeronde hoeken */
  margin-right: 8px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

.project-filter input[type="radio"]:checked {
  background-color: #2C3335; /* lichtgrijs */
  border-color: black;
}

.project-filter input[type="radio"] {
  /* zelfde styling als voorheen */
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #2C3335;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  outline: none;
  background-color: white;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}


