#home-categories {
    margin-top: 10px;
    text-align: center;
}

#home-categories .home-category-box {
    height: 220px;
    cursor: pointer;
    margin-bottom: 20px;
    position: relative;
    padding-left: 10px !important;
    padding-right: 10px !important;
    text-align: left;
}

#home-categories .home-category-box-inner {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

#home-categories .home-category-box-inner .home-category-box-shadow-layer {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
}

#home-categories .home-category-box-active .home-category-box-shadow-layer {
    background: rgba(0, 0, 0, 0.8) !important;
    transition: all 0.5s ease 0s;
}

#home-categories .home-category-box h3 {
    text-transform: uppercase;
    color: #fff;
    position: absolute;
    left: 40px;
    top: 20%;
    font-weight: bold;
    font-size: 22px;
    font-family: 'Roboto Slab', serif;
    margin-top: 0;
    margin-bottom: 0;
    max-width: calc(100% - 80px);
}

@media (max-width: 768px) {
    #home-categories .home-category-box h3 {
        text-transform: unset;
        left: 10px;
        top: 0;
        font-size: 14px;
        max-width: 50%;
        padding: 6px 10px;
        background-color: #ed6663;
        text-align: left;
    }
}

/* ******************************************************** */

/*
#home-categories-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: nowrap;
}

#home-categories .home-category {
    width: 80px;
    height: 300px;
    background-color: #137d7a;
    border: 1px solid #000;
}

#home-categories .home-category:hover {
    margin-top: -20px;
    transition: margin-top 0.5s ease;
}

#home-categories .home-category h4 {
    writing-mode: vertical-rl;
    color: #fff;
    transform: rotate(180deg);
    font-size: 16px;
    margin: 0;
    text-align: right;
    padding: 10px;
}*/
