.categories-title{margin-top: 30px; font-size: 40px; line-height: 49px; font-weight: bold; text-align: center;}
.categories{display: flex; flex-wrap: wrap; max-width: 1440px; margin: 30px auto 0; padding: 0 15px;}
.category-item{display: flex; align-items: center; justify-content: center; flex-direction: column; width: 50%; width: calc(50% - 15px); height: 248px; margin-bottom: 20px; position: relative; background-size: cover;}
.category-item::before{content: ''; display: block; width: 100%; height: 100%; position: absolute; top: 0; left: 0; background-image: url('../img/category-bg.png'); z-index: 1; background-size: 100% 100%;}
.category-item:nth-child(odd){margin-right: 15px;}
.category-item:nth-child(even){margin-left: 15px;}
.category-title{min-width: 265px; position: relative; z-index: 2; font-family: Cormorant; font-size: 35px; line-height: 42px; color: #fff; font-weight: 700; text-align: center; border-bottom: 1px solid #fff; }
.category-item:nth-child(even) .category-title{font-size: 30px;}
.category-item:nth-child(even) .category-description{margin-top: 13px;}
.category-description{margin-top: 3px; position: relative; z-index: 2; line-height: 17px; font-weight: 500; color: #fff;}

@media (max-width: 768px){
    .categories{margin: 20px auto 0;}
    .categories-title{font-size: 30px; line-height: 37px;}
    .category-item{width: 100%;}
    .category-item:nth-child(odd), .category-item:nth-child(even){margin: 0 0 20px 0;}
}

@media (max-width: 480px){
    .categories-title{font-size: 25px;}
    .category-item{height: 156px;}
    .category-item::before{background-image: none; background-color: rgba(51, 51, 51, 0.5);}
}
