/* hero */
.hero {
  vertical-align: middle;
  max-width: 600px;
  margin: 60px auto;
}

.profiel__foto {
  width: 30%;
  margin: 0 35%;
}

.profiel__titel,
.profiel__descriptie {
  text-align: center;
  margin-bottom: 20px;
  line-height: 24px;
}

/* Vaardigheden */

.vaardigheden {
  display: grid;
  grid-template-areas:
    "vaardigheden-titel"
    "vaardigheden-hr"
    "vaardigheden-talen";
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
  gap: 1fr;
  margin: 0 auto;
}

.vaardigheden h2 {
  grid-area: vaardigheden-titel;
  margin-bottom: 40px;
  margin: 0 auto;
}

.vaardigheden hr {
  grid-area: vaardigheden-hr;
  width: 70%;
  margin: 20px auto;
  background-color: #f4f4f4;
}

.vaardigheden__lijst {
  grid-area: vaardigheden-talen;
  display: flex;
  justify-content: center;
  width: 100%;
  flex-wrap: wrap;
}

.taal {
  width: 50%;
  display: flex;
  justify-content: center;
  position: relative;
}

.taal__container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 25px 16px;
}

.taal__foto {
  width: 100%;
  max-width: 100px;
  transition: all 300ms ease;
}

.taal__naam {
  font-size: 20px;
  position: absolute;
  bottom: 0;
  transform: scale(0);
  transition: all 300ms;
  opacity: 0;
  color: #111;
}

.taal:hover .taal__foto {
  filter: brightness(80%);
  opacity: 0.86;
  transform: scale(0.9);
}

.taal:hover .taal__naam {
  transform: scale(1);
  opacity: 1;
}

@media screen and (min-width: 800px) {
  .taal {
  width: calc(100%/3);

}
}

@media screen and (min-width: 1200px) {
  .taal {
  width: 25%;

}
}
