@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


.card_container{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 30px;
    font-family: "Poppins", serif;
    flex-direction: column;

}

.card_header{
    width: 100%;
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #E82561;
    position: relative;
}

.card_header::after{
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 5px;
    background-color: #E82561;
    border-radius: 3px;
    transition: all 0.4s ease;
}
.card_header:hover.card_header::after{
    width: 100%;
}

.card_header h1{
    color: #E82561;

}
.cards {
    display: flex;
    gap: 30px;
}

.team_card{
    width: 250px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.2);
    text-align: center;
    cursor: pointer;
    box-shadow:  0px 2px 10px 5px rgba(0,0,0,0.2);
    border-radius: 8px;
    background: white;
}

.details img{
    margin-top: 15px;
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    transition: 0.4s;
    border: 8px solid #E82561;

}


.details h1{
    font-size: 26px;
    color: #E82561;
    margin-top: 15px;
    font-weight: 500;
}
.details p{
    font-size: 18px;
    margin-top: -12px;
    color: #777;
    font-weight: 400;
}

.details .sm{
    margin-bottom: 20px;
}
.details .sm a{
    text-align: center;
}
.details .sm a i{
    width: 35px;
    height: 35px;
    line-height: 32px;
    font-size: 20px;
    color: #E82561;
    border-radius: 50%;
    border: 2px solid #E82561;
    transition: all 0.3s;
}

.details .sm a i:hover{

    background-color: #E82561;
    color: white;
    transform: scale(0.95) rotate(360deg);

}

@media (max-width:780px) {
    .cards {
        flex-direction: column;
    }
}