body {
  margin: 0;
  font-family: sans-serif;
  background-color: #f3f4f6;
  padding-top: 70px;
}

.project-section {
  background: #f3f4f6;
  padding: 0 32px;
  height: auto;
  /* zoals in versie 1 */
}

.project-section h1 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 32px;
  text-align: center;
  /* ook zoals versie 1 */
}

/* Mobiel: zelfde gedrag als versie 1 (kolom) */
.project-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  padding-bottom: 36px;
}

/* Desktop: grid van 3 kolommen */
@media (min-width: 768px) {
  .project-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    justify-items: center;
  }
}

.project-kaart {
  width: 100%;
  max-width: 320px;
  min-height: 400px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  background-color: #5ab29f;
  border-radius: 10px;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.project-kaart img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 16px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.project-kaart p {
  font-size: 16px;
  line-height: 1.6;
}


.projectknop {
  display: inline-block;
  padding: 12px 20px;
  background: #1F2937;
  color: white;
  border-radius: 10px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
  align-items: center;
}

.projectknop:hover {
  background-color: #2F3D51;
  transform: scale(1.05);
}