.box-card{
    width: 990px;
    background: #00000000;
    min-height: 50px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.card{
    margin: 10px;
    background: transparent;
    border: none;
    width: 300px;
    overflow: hidden;
    transition: all 0.5s;
    border-radius: 10px;
    box-shadow: 0px 0px 15px 0px #000000;
    text-align: center;
}

.card_categoria{
    width: 300px;
    height: 300px;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
}

.card_categoria .text{
    position: absolute;
    color: #ffffff;
    z-index: 1;
    left: 10px;
    bottom: 10px;
    transition: all 0.6s;
    cursor: pointer;
    text-shadow: 1px 2px 10px black;
}

.card_categoria i{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    font-size: 2rem;
    color: #ffffff;
    transition: all 1s;
    text-shadow: 1px 2px 10px black;
}

.card_text{
    width: 300px;
    color: #cfcfcf;
    padding: 5px;
}

@media(max-width: 1140px){
    .card_categoria{
        width: 350px;
        height: 350px;
    }

    .card_text{
        width: 350px;
    }

    .card{
        width: 350px;
    }

    .card_categoria::before{
        width: 350px;
        height: 350px;
    }

    .box-card{
        justify-content: center
    }
}


@media(max-width: 894px){
    .card_categoria{
        width: 100%;
        height: 500px;
    }

    .card_text{
        width: 100%;
    }

    .card{
        width: 70%;
    }

}


@media(max-width: 500px){
    .card_categoria{
        height: 300px;
    }
}