/* 
Main categories stylesheet
*/

.cat_nav_ct {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-flow: row wrap;
            flex-flow: row wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    padding: 2rem 1rem;
    gap: 1rem;
	width: 100%;
}
.cat_nav_item {
    position: relative;
    width: 48%;
    max-width: 750px;
    min-height: 350px;
	min-width: 350px;
}
.cat_link {
    overflow: hidden;
    position: relative;
    z-index: 0;
}
.cat_link::after {
    display: none;
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .5);
    -webkit-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}
.cat_link:hover::after {
    display: block;
}
.cat_link h2 {
    opacity: 0;
    z-index: 2;
    height: -webkit-min-content;
    height: -moz-min-content;
    height: min-content;
    position: absolute;
    top: 100%;
    left: 50%;
    -webkit-transform: translate(-50%, -100%);
        -ms-transform: translate(-50%, -100%);
            transform: translate(-50%, -100%);
    padding: .75rem 1.5rem;
    -webkit-backdrop-filter: blur(1px);
            backdrop-filter: blur(1px);
    color: white;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}
.cat_link:hover h2 {
    background-color: transparent;
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
    display: block;
    opacity: 1;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
}
.cat_link:hover img {
    -webkit-transform: scale(1.2);
        -ms-transform: scale(1.2);
            transform: scale(1.2);
}
.cat_nav_item img {
    min-height: 350px;
    max-height: 350px;
    -o-object-fit: cover;
       object-fit: cover;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}
@media all and (max-width: 768px) {
    .cat_nav_item {
        width: 100%;
    }
    .cat_link h2 {
        opacity: 1;
        background-color: rgba(0, 0, 0, .5);
    }
}