@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@600&display=swap");

.team-member-image {
  height: 260px;
  width: 200px;
  margin: 0 auto;
  position: relative;
}

.team-member-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.team-member-info {
  margin-top: 20px;
}

.team-member-info h3 {
  text-align: center;
  margin: 10px 0 0 0;
  color: black;
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  font-family: "Barlow";
}

.team-member-info h3 span {
  font-size: 20px;
}

.team-member-info p {
  text-align: center;
  margin: 0;
  color: #353535;
  font-size: 16px;
  font-weight: bold;
}

.team-member-hover {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.team-member-hover:hover {
  opacity: 1;
}

.team-member-hover a {
  background-color: orangered;
  display: flex;
  padding: 12px;
}

.aside-mobile-mailto a {
  background-color: orangered;
  display: flex;
  padding: 6px;
}

.team-member-hover a img {
  height: 20px;
  /* width: 16px; */
}

@media (min-width: 816px) {
  .team-regular-members .team-member-image {
    margin: 0;
    height: 250px;
    width: auto;
  }

  .team-regular-members .team-member-hover a {
    background-color: orangered;
    display: flex;
    padding: 10px;
  }

  .team-member-info h3,
  .team-member-info p {
    text-align: left;
    text-transform: none;
  }

  .team-member-info p {
    color: #7d8a9a;
    font-size: 16px;
    font-weight: normal;
  }

  .team-member-info h3 span {
    text-transform: uppercase;
  }
}

@media (min-width: 1200px) {
  .team-management .team-member-image {
    width: 280px;
    height: 350px;
  }

  .team-regular-members .team-member-image {
    height: 350px;
  }  

  .team-member-hover {
    padding: 15px;
  }
}

@media (min-width: 1400px) {
}
