/* -------------------------------------
   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: 300;
    border-radius: 15px;
}

ul#items_fils li > a .items-fils__image {
    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;
    background-color: #FFF;
    
    background-position:center;
    background-size:50%;
    background-repeat:no-repeat;
    background-image: url(../assets/logos/logo-header.png);
    
    transition: all 0.5s ease-in;

}

ul#items_fils li > a .items-fils__image::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 / 11%) 0%, rgba(0, 0, 0, 0) 100%);
    transition: all 0.5s ease;
}
ul#items_fils li > a:hover .items-fils__image::before {
    background-color: rgba(0, 0, 0, 0.15);
}
ul#items_fils li > a:hover .items-fils__image {
    /*background-size:105%;*/
}

ul#items_fils li  .items-fils__title {
    background-color: rgba(255,255,255,0.8);
    color:#000;
    padding:10px;
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    height:auto;
    
    display: flex;
    justify-content: flex-start;
    align-items: center; 
    
    transition: all 0.5s ease-in;   
}

ul#items_fils li > a:hover .items-fils__title {
    background-color: rgba(255,255,255,0.95);
}

@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%;
    }
}
