.team {
    margin-bottom: 100px;
    margin-top: 50px;
}

.samenwerking p {
    background: var(--accent-color);
    padding: 1.75rem;
    border-radius: 18px;
    box-shadow: var(--shadow-md);
}

.meettheteam {
    text-align: center;
    box-sizing: border-box;
    padding: unset;
}

.samenwerking {
    padding: unset;
}

.teamwaarden {
    padding: unset;
}

div.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

div.gallery-item {
  margin: 5px;
  width: calc(33% - 20px);
}

div.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    width: 250px;
    height: 250px;
}

.study {
    color: #ffffff;
}

div.gallery-item div.desc {
  padding: 15px;
  text-align: center;
}

@media only screen and (max-width: 768px) {
  div.gallery-item {
    width: calc(50% - 20px);
  }
}

@media only screen and (max-width: 480px) {
  div.gallery-item {
    width: calc(100% - 20px);
  }
}

/* kaart */
.card {
    position: relative;
    width: 100%;
    height: 300px;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

/* flip op hover */
.gallery-item:hover .card {
    transform: rotateY(180deg);
}

/* voor + achterkant */
.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
}

/* voorkant */
.card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* achterkant */
.card-back {
    background: #D1C3EB;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: rotateY(180deg);
}

.name {
    font-size: 20px;
    font-weight: bold;
}
