.team-details__content {
  opacity: 1;
  transition: opacity 250ms ease;
}

.team-details__content.is-fading-out {
  opacity: 0;
}

.waves-team__avatar {
  cursor: pointer;
  border-color: #e6e1f4;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.waves-team__avatar:hover,
.waves-team__avatar:focus-visible {
  border-color: #5b53c2;
  box-shadow: 0 16px 40px rgba(9, 4, 45, 0.24);
  transform: translateY(-2px);
}

.waves-team__avatar.is-active {
  border-color: #5b53c2;
  border-width: 3px;
  box-shadow: 0 0 0 3px rgba(91, 83, 194, 0.15);
}

.waves-team__avatar:focus-visible {
  outline: 0;
}

@media (prefers-reduced-motion: reduce) {
  .team-details__content {
    transition: none;
  }

  .waves-team__avatar {
    transition: none;
  }

  .waves-team__avatar:hover,
  .waves-team__avatar:focus-visible {
    transform: none;
  }
}
