/*Class team*/
.team-head{
  background-image: url("../images/complete-team.JPG");
  background-size: cover;
  justify-content: center;
  text-align: center;
  align-items: center;
  display: flex;
  flex-flow: column;
  min-height: 65vh;
 padding-top: 6rem;
 overflow: hidden;
 position: relative;
 background-attachment: fixed;
 background-repeat: no-repeat;
} 

.team-head .wave{
  position: absolute;
  bottom: -.5rem;
  left: 0;
  height: 5rem;
  width: 100%;
  background: url(../images/wave.png);
  background-size: 100rem 11rem;
  animation: waves 8s linear infinite;
  background-repeat: repeat-x;
}
.team-head .wave1{
  animation-direction: alternate;
  animation-duration: 4s;
  opacity: .3;
}

.team-head .wave2{
  animation-direction: reverse;
  animation-duration: 6s;
  opacity: .5;
}

.team-head .wave3{
  animation-duration: 4s;
  opacity: 1;
}

@keyframes waves{
  0%{
      background-position-x: 0;
  }
  100%{
      background-position-x: 100rem;
  }
} 

.team-head h3{
  margin-top: rem;
  font-size: 3.8rem;
  font-weight: 900;
  color: #fff;
  
}

.team-head p{
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
}


/* class our team*/
.tittle{
  margin: auto;
  padding-top: 6rem;
  display: flexbox;
  font-size: 3.5rem;
  color: #57A0D3;
  position: relative;
  letter-spacing: .2rem;
  
}
.tittle::before, .tittle::after{
  content: '';
  position: absolute;
  height: 2.5rem;
  width: 2.5rem;
  border-top: .4rem solid #57A0D3;
  border-left: .4rem solid #57A0D3;
  margin: auto;
}

.tittle::before{
  top: 5.8rem;
  left: -2rem;
  
}

.tittle::after{
  bottom: -.5rem;
  right: -2rem;
  transform: rotate(180deg);
}

.our-team .tittle{ 
  text-align: center;
  width: 300px;
}
.our-team{
  background: #fff;
}



/*Class team items*/
.team-items{
  padding-top: 60px;
  background: #fff;
}

.team-items .row img{
  width: 90%;
  height: 300px;
  object-fit: cover;

}


.team-items h3{
  text-align: center;
  margin-top: 20px;
  letter-spacing: 1px;
}
.team-items h5{
  text-align: center;
  letter-spacing: 1px;
}
.team-items p{
  letter-spacing: .7px;
  font-size: 18px;
}
@media(max-width: 1000px){
  .team-head h3{
  font-size: 2rem;
  }
  .team-head p{
  font-size: 1.5rem;
  }
  .team-head{
    margin-top: 3rem;
  }
  
  .our-team .tittle {
    font-size: 2.1rem;
    width: 200px;
  }
  .team-head .wave{
    margin-bottom: .5rem;
  }
  


}



