.our-team{
text-align: center;
position: relative;
}
.our-team img{
width: 100%;
height: auto;
}
.our-team .team-content{
width: 100%;
height: auto;
background: #ecdfbd;
padding: 27px 0;
border-left: 5px solid #fb6648;
box-shadow: 0 15px 25px 0 rgba(3,7,15,0.1);
position: absolute;
bottom: 0;
right: 0;
transition: all 0.5s ease 0s;
}
.our-team:hover .team-content{
background: #5e3448;
}
.our-team .title{
font-size: 20px;
font-weight: 700;
color: #5e3448;
text-transform: capitalize;
margin: 0;
transition: all 0.5s ease 0s;
}
.our-team:hover .title{
color: #ecdfbd;
margin-bottom: 10px;
}
.our-team .post{
display: block;
font-size: 15px;
font-style: italic;
color: #fb6648;
text-transform: capitalize;
height: 0;
opacity: 0;
transform: scale(0);
transition: all 0.5s ease 0s;
}
.our-team:hover .post{
height: 40px;
opacity: 1;
transform: scale(1);
}
.our-team .social{
list-style: none;
padding: 0;
margin: 0;
width: 100%;
position: absolute;
bottom: 0;
left: 0;
opacity: 0;
transform: translateY(-60%);
transition: all 0.5s ease 0s;
}
.our-team:hover .social{
transform: translateY(50%);
opacity: 1;
}
.our-team .social li{
display: inline-block;
}
.our-team .social li a{
display: block;
width: 40px;
height: 40px;
border-radius: 50%;
background: #ecdfbd;
font-size: 17px;
font-weight: 700;
line-height:40px;
color: #5e3448;
transition: all 0.5s ease 0s;
}
.our-team .social li a:hover{
color: #ecdfbd;
background: #5e3448;
}
@media only screen and (max-width: 990px){
.our-team{ margin-bottom: 40px; }
}