/* -------------------------------------
   MENU FILS
------------------------------------- */

ul#items_fils {
    position: relative;
    display: flex;
    justify-content:center;
    width: 100%;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 10px 0;
    padding: 10px;
    border-radius: 15px;
    background-color: #F3F3F7;
    gap:20px;
}

.items_fils_light {
    background-color:#fff!important;
    padding: 0px!important;
}

ul#items_fils li {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
    width: calc(25% - 20px);
}

ul#items_fils li > a {
    position: relative;
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: 65%;
    overflow: hidden;
    color: #FFF;
    font-size: 2.4rem;
    font-size: clamp(1.6rem, 1.3vw, 2.4rem);
    line-height: 1;
    font-weight: 700;
    border-radius: 15px;
}

ul#items_fils li > a span {
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 15px;
    text-align: center;
    text-shadow: 0px 2px 2px rgb(0 0 0 / 25%);
    background-color: #FFF;
    background-image: url('../images/assets/pattern-defaut.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

ul#items_fils li > a span::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(64, 63, 86, 0.9)), to(rgba(64, 63, 86, 0)));
    background: -o-linear-gradient(top, rgba(64, 63, 86, 0.9) 0%, rgba(64, 63, 86, 0) 100%);
    background: linear-gradient(180deg, rgba(64, 63, 86, 0.9) 0%, rgba(64, 63, 86, 0) 100%);
    transition: all 0.2s ease;
}
ul#items_fils li > a:hover span::before {
    background-color: rgba(0, 0, 0, 0.25);
}

@media (max-width: 1001px) {
    ul#items_fils li {
        width: calc(33.33% - 20px);
    }
}
@media (max-width: 801px) {
    ul#items_fils li {
        width: calc(50% - 20px);
    }
}
@media (max-width: 609px) {
    ul#items_fils li {
        width: 100%;
    }
}
