.z{
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.cardzom{
    cursor: pointer;
    margin: 1rem;

    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
}
.card{
    padding: 4rem;

    width: 150px;
    height: 200px;
    background-color: black;
    border-radius: 10px;

    outline: 3px solid white;
     
    outline-offset: -8px;

    box-shadow: 3px 3px 10px green;

    position:relative;
    overflow: hidden;
}

.card-img{
    
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    opacity: .6;
    transition: transform .75s;
}

.card:hover .card-img{/*aqui a é selecionado duas div pra dar certo, o pai e filho*/
    transform: scale(1.15);
}

.txtcard{
    color:white;
    position: absolute;
    left: 15px;
    bottom: 15px;
    font-size: 20px;
    text-shadow: 0 0 1px violet;
}
@media only screen and (max-width:900px){
.z{
    display: block;

}
}