.team-card {
    min-width: 300px;
    max-width: 500px;
    height: 480px;
    background: #808080;
    transition: background 0.8s;
    overflow: hidden;
    display: block;
    justify-content: center;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.25);
    flex: 1;
    transform-style: preserve-3d;
    border-bottom-left-radius: 0.3rem;
    border-bottom-right-radius: 0.3rem;
}

@media screen and (max-width: 305px) {
    .team-card {
        min-width: 100%;
    }
}


.team-card .info {
    margin-top: 400px;
    background: rgba(0, 0, 0, 0.621);
    position: absolute;
    bottom: 0;
    height: 80px;
    left: 0;
    z-index: 3;
    transform: translateZ(10px);
}

.team-card .info .translate {
    transform: translateZ(50px);
}

.team-card .zoom-in::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: inherit;
    background-size: cover;
    transform-origin: left;
    transition: transform 1s ease-in-out;
}

.team-card .zoom-in:focus::after, .zoom-in:hover::after {
    position: absolute;
    transform: scale(1.3);
}