.team_card {
    width: 200px;height: 350px;
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    margin: 10px;
    cursor: pointer;
    .card_image {
        padding-bottom: 10px;
        transition: ease-in-out .3s;
        img {
            width: 100%;
            height: 250px;
            border-radius: 45% 15% 15% 15% !important;
            border-bottom: 1px solid #ddd;
        }
    }

    .card_info {
        padding: 10px;
        h3 {
            font-size: 20px;
            font-weight: bold;
            text-transform: capitalize;
        }
        p {
            transition: ease-in-out .3s;
            text-transform: capitalize;
            font-size: 14px;
            color: var(--primary);
            font-weight: bold;
        }
    }
    &:hover{
        .card_image{
            transform: translateY(10px);
        }
        p{
            color: var(--secondary);
        }
    }
}

@media (max-width: 800px) {
    .team_card {
        width: 100px;
        height: 215px;
        .card_image{
            height: 160px;
        }
        .card_info {
            padding: 5px;
            h3{
                font-size: 12px;
            }
    
            p {
                font-size: 10px;
            }
        }
    }
}
