*{
    box-sizing: border-box;
}
body , html{
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ddd;
    width: 100%;
    height: 100%;
}
.team{
    display: flex;
    width: 90%;
    justify-content: space-around;
}
.s-team{
    width: 360px;
    height: 400px;
    padding: 24px;
    background: #fff;
    position: relative;
    display: flex;
    align-items: flex-end;
    transition: .6s ease-out;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5);
}
.s-team:hover{
    transform: translateY(15px);
}
.s-team:hover:before{
    opacity: 1;
}
.s-team:hover .t-text{
    opacity: 1;
    transform: translateY(0);

}
.s-team:before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top,#000,transparent);
    z-index: 2;
    transition: 0.5s;
    opacity: 0;
}
.s-team img{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}
.s-team .t-text{
    position: relative;
    z-index: 3;
    color: #fff;
    opacity: 0;
    transform: translateY(60px);
    transition: 0.5s;
}
.t-text h2{
    font-family: shrikhand;
    letter-spacing: 3px;
}
.t-text p{
    letter-spacing: 1px;
    font-size: 15px;
    margin-top: 8px;
    font-family: 'poppins';
}
.t-text_1{
    width: 30px;
    height: 30px;
    display: inline-block;
    border: 1px solid #fff;
    border-radius: 50%;
    margin: 0 5px;
    text-decoration: none;
}
.t-text a i{
    color: #fff;
    padding: 6px 8px;
}
