.card-cont {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    height: 100%;
    width: 85vw;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.card {
    width: 25em;
    height: 20em;
    /* border: 1px solid rgb(49, 43, 33); */
    margin: 1em;
    border-radius: 5px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    /* color: rgb(255,181,0); */

    overflow: hidden;
}


.card:hover{
    cursor: pointer;
    /* border: 1px solid rgb(255,181,0); */
    /* color: rgb(255,181,0); */
}

.card:hover .card-body{
    visibility:visible;
    opacity: 1;
    transition: opacity 300ms linear;
}

.card-img {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    height: 100%;
    width: 100%;
    display: block;
    object-fit:cover;
    z-index: -5;
    transition: transform 500ms cubic-bezier(0, 0.32, 0.11, 0.87);
}

.card:hover .card-img{
    transform: scale(1.1);
}


/* Tablet */
@media screen and (min-width: 760px) and (max-width: 979px) {
    .card-cont{
        width: 90vw;
        gap: 2vw;
    }
    .card {
        width: 19em;
        height: 24em;
        margin: .8em 0;
    }
    .card-img {
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
        height: 24em;
        width: 100%;
        display: block;
    }
}

/* Smartphone */
@media screen and (min-width: 280px) and (max-width: 759px) {

    .card-cont{
        margin: auto;
    }
    .card {
        width: 90vw;
        /* height: 27em; */
        height: auto;
    }
    .card-img {
        /* height: 10em; */
        height: auto;
    }
}