.team-wrapper-1 .team-items-1 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.team-wrapper-1 .team-items-1 .team-item-1 {
  position: relative;
  overflow: hidden;
}
.team-wrapper-1 .team-items-1 .team-item-1 img {
  width: 100%;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.team-wrapper-1 .team-items-1 .team-item-1 .team-content {
  overflow: hidden;
  z-index: 3;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.team-wrapper-1 .team-items-1 .team-item-1 .team-content h3 {
  font-size: 22px;
  font-weight: 600;
  font-family: "rubik", sans-serif;
}
.team-wrapper-1 .team-items-1 .team-item-1 .team-content p {
  font-size: 16px;
  display: block;
}
.team-wrapper-1 .team-items-1 .team-item-1 .team-content .team-social-links {
  position: absolute;
  bottom: -100%;
  visibility: hidden;
  left: 0;
  right: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 10px;
  padding: 8px 0px 8px 0px;
  background-color: #030303;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.team-wrapper-1 .team-items-1 .team-item-1 .team-content .team-social-links a {
  width: 30px;
  height: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border-radius: 50%;
  background-color: #6f7783;
  color: #fff;
}
.team-wrapper-1 .team-items-1 .team-item-1:hover .team-social-links {
  bottom: 0;
  visibility: visible;
}
.team-wrapper-1 .team-items-1 .team-item-1:hover img {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

.team-wrapper-2 .team-items-2 {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
}
.team-wrapper-2 .team-items-2 .team-content {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.team-wrapper-2 .team-items-2 .team-content .team-content-left {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: end;
  gap: 10px;
}
.team-wrapper-2 .team-items-2 .team-content .team-excerpt {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1px;
}
.team-wrapper-2 .team-items-2 .team-content img {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  z-index: 3;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  width: 0;
}
.team-wrapper-2 .team-items-2 .team-content:hover img {
  opacity: 1;
  visibility: visible;
}