/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

.contact_persons {
  display: -ms-grid;
  display: grid;
  -webkit-column-gap: 4rem;
  -moz-column-gap: 4rem;
  column-gap: 4rem;
  row-gap: 6.5rem;
  -ms-grid-columns: 1fr 4rem 1fr 4rem 1fr;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 74rem) {
  .contact_persons {
    -ms-grid-columns: (1fr) [2];
    grid-template-columns: repeat(2, 1fr);
    row-gap: 4rem;
  }
}
@media (max-width: 32rem) {
  .contact_persons {
    -ms-grid-columns: (1fr) [1];
    grid-template-columns: repeat(1, 1fr);
  }
}
.contact_persons .person:hover .background {
  border-color: var(--primary);
}
.contact_persons .person .person-image {
  position: relative;
}
.contact_persons .person .background {
  background-color: var(--light-grey);
  position: absolute;
  border-radius: 1000px;
  width: 100%;
  aspect-ratio: 1;
  bottom: 0;
  border: 25px solid var(--light-grey);
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.contact_persons .person .person-image img {
  z-index: 2;
  position: relative;
  border-radius: 0 0 1000px 1000px;
}
.contact_persons .person .details {
  margin-top: 2.5rem;
}
.contact_persons .person .details h3,
.contact_persons .person .details .functions {
  text-align: center;
}
.contact_persons .person .details .contact-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
}
@media (max-width: 32rem) {
  .contact_persons .person .details .contact-links {
    gap: 0.5rem;
  }
}
.contact_persons .person .details .contact-links .contact-link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 1rem;
}
.contact_persons .person .details .contact-links .contact-link img {
  max-width: 1.67rem;
  max-height: 1.67rem;
}
