.categories-container {
    width: calc(100% - 80px);
    margin: 0 auto;
    padding: 40px 0;

    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.category-card {
    position: relative;
    overflow: hidden;

    width: 317px;
    height: 500px;
    border-radius: 20px;

    /* O display:flex funcionaria nesse caso, mas para fins didáticos utilizo o posicionamento do .category-name */

    /* display: flex;
    justify-content: center;
    align-items: center; */
    
    color: #ffffff;
}

.overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.category-name {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.casual-card {
    background: url(../../images/banners/tenis-casual.png);
    background-size: cover;
    background-position: center;
}

.esporte-card {
    background: url(../../images/banners/tenis-esporte.png);
    background-size: cover;
    background-position: center;
}

.moderno-card {
    background: url(../../images/banners/tenis-moderno.png);
    background-size: cover;
    background-position: center;
}

.futurista-card {
    background: url(../../images/banners/tenis-futurista.png);
    background-size: cover;
    background-position: center;
}