/* -------------------------------------
   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: 0;
    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: flex-start;
    align-items: self-end;
    height: 100%;
    padding: 15px;
    text-align: center;
    text-shadow: 0px 2px 2px rgb(0 0 0 / 25%);
    background-color: #FFF;
    
    background-position:center;
    background-size:cover;
    
    transition: all 0.5s ease-in;

}

ul#items_fils li > a span::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    background: linear-gradient(180deg, rgb(0 0 0 / 30%) 0%, rgba(0, 0, 0, 0) 100%);
    transition: all 0.5s ease;
}
ul#items_fils li > a:hover span::before {
    background-color: rgba(0, 0, 0, 0.25);
}
ul#items_fils li > a:hover span {
    background-size:105%;
}

@media (max-width: 1440px) {
    ul#items_fils li {
        width: calc(33.33% - 20px);
    }
}
@media (max-width: 1030px) {
    ul#items_fils li {
        width: calc(50% - 20px);
    }
}
@media (max-width: 700px) {
    ul#items_fils li {
        width: 100%;
    }
}
