/* **************** Team *************** */
.team .flex {
  align-items: stretch;
}

.team .card {
  margin: 18px 10px 40px;
  transition: transform 0.2s ease-in;
}

.team .card:hover {
  transform: translateY(-5px);
}

.card-team-member {
  padding: 35px 20px;
  min-width: 225px;
  min-height: 315px;
  /* max-height: 470px; */
  width: 100%;
}

.card-team-member img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 5px;
}

.team-member-name {
  color: var(--success-color);
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-size: 1em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-member-institution {
  font-size: 0.8em;
}

.team-member-email {
  color: #000000;
  font-size: 14px;
  font-weight: 200;
  font-style: italic;
  margin: 15px 0 15px;
}

.team-member-description img {
  width: 35px;
  height: 35px;
  border-radius: 0;
  margin-right: 5px;
}

.card-team-member .social a img {
  transition: 0.4s;
  transition-property: transform;
}

.card-team-member .social a img:hover {
  transform: scale(1.5);
}

.hidden {
  visibility: hidden;
  height: 0;
}
/* **************** Team *************** */

/* **************** RESPONSIVE *************** */
/* Resizing team member */
@media screen and (max-width: 1154px) {
  .card-team-member {
    width: 33%;
  }

  .team-member-description img {
    margin-right: 5px;
  }
}

/* Tablets and under */
@media (max-width: 768px) {
  .team .flex {
    flex-wrap: wrap;
  }

  .card-team-member {
    width: 100%;
    text-align: center;
  }

  .team-member-description img {
    margin-right: 15px;
  }
}

/* Mobile */
@media (max-width: 500px) {
  .team {
    padding: 10px;
  }

  .team-member-name {
    font-size: 1em;
  }
}
/* **************** RESPONSIVE *************** */
