
.home-team-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.home-team-head h2 {
  max-width: 660px;
}
.home-team-wapper {
  padding: 10px;
  border-radius: 15px;
  border: 2px solid #000;
}
.home-team-wapper img {
  width: 100%;
  border-radius: 10px;
  transition: .3s ease-in-out;
  min-height: 417px;
  object-fit: cover;
} 

.home-team-wapper figure {
  overflow: hidden;
  border-radius: 10px;
}
.home-team-wapper figure:hover img {
  transform: scale(1.1);
  transition: .3s ease-in-out;
}
.home-team-content {
  text-align: center;
}
.home-team-content h3 a {
  font-size: 28px;
  font-family: var(--font-01);
  font-weight: 700;
  margin: 0;
  color: #000;
}
.home-team-content p {
  font-size: 21px;
}
.home-project-wapper figure:hover img {
  transform: scale(1.1);
}
.home-team-inner {
  display: flex;
  flex-direction: column;
  row-gap: 80px;
}

.team-btn {
  padding: 0 40px;
  font-weight: 700;
  width: fit-content;
  position: relative;
  z-index: 1;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: inline-block;
  text-align: center;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
  z-index: 0;
  overflow: hidden;
  position: relative;
  height: 60px;
  line-height: 59px;
  transform-style: preserve-3d;
}
.team-btn-up {
  display: block;
  height: 100%;
  position: relative;
  top: 0;
  transition: .3s;
}
.team-btn-down {
  display: block;
  height: 100%;
  position: relative;
  top: 0;
  transition: .3s;
}
.team-btn:hover .team-btn-up, .team-btn:hover .team-btn-down {
  top: -100%;
}

@media(max-width:991px){
    .home-team-content p {
  font-size: 18px;
}
.home-team-content h3 {
  font-size: 22px;
}
.home-team-inner {
  row-gap: 40px;
}
}
@media(max-width:768px){
  .home-team-bottom .row {
  row-gap: 30px;
} 
}
@media(max-width:576px){
  .home-team-head {
  flex-direction: column;
}
.home-team-head h2 {
  max-width: 660px;
  text-align: center;
}
}