/* Cards */

.card {
    display: grid;
    grid-template-columns: 300px;
    grid-template-rows: 210px 210px 80px;
    grid-template-areas: "image" "text" "stats";

    font-family: roboto;
    border-radius: 18px;
    background: #1A1B1E;
    box-shadow: 5px, 5px, 15px rgba(0, 0, 0, 0.9);
    text-align: center;

    transition: 0.5s ease;
    cursor: pointer;

    margin: 2em;

    /* width: 10%;

    @media screen and (max-width: 991px) {
        width: calc((100%/2) - 30px);
    }
    
    @media screen and (max-width: 767px) {
        width: 100%;
    }
    
     */
}

.card-image {
    grid-area: image;
    background: url("/assets/IV.png");
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    background-size: cover;
    background-repeat: no-repeat;
}

.card-text {
    grid-area: text;
    margin: 25px;
    color: white;
}

.card-text date {
    color: grey;
    font-size: 15px;
    font-weight: 20px;
}

.card-stats {
    grid-area: stats;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    background: rgb(255,7,110);
}

.card-stats .stat {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    padding: 10px;
    color: white;
}

.card-stats .type {
    font-size: 11px;
    font-weight: 500;
}

.card-stats .border {
    border-left: 1px solid #1A1B1E;
    border-right: 1px solid #1A1B1E;

    
}

.card:hover {
    transform: scale(1.01);
    box-shadow: 5px 5px 5px #1F1E1F;
}