/**/
#category {
    display: flex;
    flex-direction: column;
    gap: 50px;
}
#category .header{
    display: flex;
}
#category .header .title{
    font-family: "Pretty_font", sans-serif;
    font-size: 30px;
    font-weight: 500;
    line-height: 110%;
    color: #444444;
    text-transform: uppercase;
}
#category .header .button{
    margin-left: auto;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 0;
    background: none !important;
    outline: none !important;
    border: none !important;
}
#category .header .button span{
    font-family: "Lato_font", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 142%;
    color: var(--bg-color-1);
    text-transform: uppercase;
}

#category .inner {
    /*display: grid;*/
    /*grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));*/
    /*grid-auto-rows: 515px;*/
    /*gap: 15px;*/

    display: flex;
    /*flex-wrap: wrap-reverse;*/
    flex-wrap: wrap;
    gap: 15px;

    margin-left: -40px;
    margin-right: -40px;
}
#category .inner .category-el {
    /*container-type: inline-size;*/

    /*position: relative;*/
    /*display: flex;*/

    /*overflow: hidden;*/

    display: flex;

    position: relative;
    flex-direction: column;
    align-items: center;
    flex: 1 1 150px;
    min-width: calc(((100% - 4*15px)/5) + 1px);
    /*min-width: calc(((100% - 4*15px)/5));*/
    max-width: calc((100% - 1*15px)/2);
    height: 450px;
}
#category .inner .category-el .bg-img{
    position: absolute;

    height: 100%;
    width: 100%;

    object-fit: cover;
}
#category .inner .category-el .info {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;

    justify-content: end;
    padding: 60px;

    gap: 10px;

    background: #2424249C;
    z-index: 1;
}
#category .inner .category-el .button{
    background: none !important;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid white !important;
    outline: none !important;
    border-radius: 50px;
    padding: 10px 28px;
    width: fit-content;
}
#category .inner .category-el .info .title {
    font-family: "Pretty_font", sans-serif;
    font-size: 31px;
    font-weight: 500;
    line-height: 127%;
    color: #FFFFFF;
    text-transform: uppercase;
}

@container (max-width: 351px) {
    #category .inner .category-el .info{
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 1440px) {
    #category .inner {
        /*grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));*/
    }
    #category .inner .category-el {
        min-width: calc(((100% - 2*15px)/3));
        max-width: calc((100% - 1*15px)/2);
    }
}
@media (max-width: 783px) {
    #category .header {
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    #category .header .button {
        display: none;
    }

    #category .inner {
        flex-direction: column;

        margin: 0;
    }
    #category .inner .category-el .info {
        padding: 20px;
        justify-content: center;
        text-align: center;
    }
    #category .inner .category-el .button {
        display: none;
    }

    #category .inner .category-el {
        min-width: unset;
        max-width: unset;
        width: 100%;
    }
}