.team {
  display: grid;
  align-items: stretch;
  gap: 2rem;
}

@media (min-width: 600px) {
  .team {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .team {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .team {
    grid-template-columns: repeat(4, 1fr);
  }
}

.team-member {
  background: var(--light-gray);
  position: relative;
}

.team-member__image {
  aspect-ratio: 280/373;
  overflow: hidden;
}

.team-member__image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.team-member__content {
  color: var(--jet-gray);
  padding: 2.4rem 2.4rem 7.5rem;
  flex: 1;
}

.team-member__content .button {
  position: absolute;
  bottom: 2.4rem;
  left: 2.4rem;
  right: 2.4rem;
}

.team-member__content ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.8rem;
  color: var(--space-gray);
}

.team-member__content ul li {
  padding-left: 2.4rem;
  position: relative;
}

.team-member__content ul li:before {
  content: '';
  display: block;
  width: 1rem;
  height: 1rem;
  position: absolute;
  left: .7rem;
  top: .7rem;
  border-radius: 50%;
  background: var(--green);
}


.team__filters .button.is-checked {
  background: var(--jet-gray);
  color: var(--white);
}


{#
.hide {
  animation: hide .3s ease 0s 1 normal forwards;
  transform-origin: center;
}
.show {
    animation: show .3s ease 0s 1 normal forwards;
    transform-origin: center;
}
#}

@keyframes hide {
  0%{
    transform: scale(1);
  }
  100% {
    transform: scale(0);
    width: 0;
    height: 0;
    margin: 0;
  }
}
@keyframes show {
  0%{
    transform: scale(0);
    width: 0;
    height: 0;
    margin: 0;
  }
  100% {
    transform: scale(1);
  }
}
.linkedin-btn {
  display: inline-flex;
  align-items: center;
  background-color: var(--blue);
  color: var(--white); 
  padding: 10px 30px;
  text-decoration: none;
}
.linkedin-btn .logo {
  background: white;
  color: #0077b5;
  font-weight: bold;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 24px;
  border-radius: 3px;
  margin-right: 10px;
}
.image-wrapper p{
  font-weight: 900;
  font-size: 14px;
  margin: 0;
  color: var(--white);
}
.image-wrapper a{
  margin-top: 20px;
}
.linkedin-btn:hover {
    background-color: var(--blue-hover);
    color: var(--white);
}
.linkedin-btn:active {
    background-color: var(--blue-hover);
    color: var(--white);
}
.image-linkdin {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    width: 220px;
    float: left;
    padding: 0 10px 0 0;
}

.linkedin-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--blue);
    color: var(--white);
    padding: 10px 4px;
    text-decoration: none;
    width: 100%;
    justify-content: center;
}