
.galeria h1{ padding-top:var(--padding-top-menu)}
.text-primary {
    color: var(--primary-color)!important;
}

.padding-left {
    padding-left: var(--desktop-padding-left);  
}
.back-section {
    position: relative;
}
.back-section div {
    padding-left: 0;
    transition: all 0.3s ease;
}

.back-section img {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.3s ease;
}

.back-section:hover div {
    padding-left: 60px; 
}

.back-section:hover img {
    opacity: 1; 
}


#header.galeria .overlay {
    display: none;
}

#header.galeria video {
    display: none;
}

.galeria h1 span {
    color: var(--primary-color)
}

.galeria .subtitle {
    font-family: "Inter", sans-serif;
    font-size: 24px;
    line-height: 1em;
    margin: 0;
}

.items-gallery .item {
    flex: 0 0 auto;
    width: 20%;
}

.items-gallery .item .img-wrapper {
    width: 100%;
    aspect-ratio: 1/1;
    transition: all .5s ease-in;
    background-blend-mode: normal;
}

.items-gallery .item:hover .img-wrapper {
    background-blend-mode: multiply;
}

.items-gallery .item .content-wrapper {
    position: relative;
    z-index: 1;
    opacity: 0;
    transition: opacity .5s ease-in;
    min-height: 50%;
    height: auto;
}

.items-gallery .item:hover .content-wrapper {
    opacity: 1;
    /* filter: sepia(0.5); */
}

.items-gallery .item .content-wrapper h3 {
    color: #fff;
    font-size: 32px;
    line-height: 1em;
}

.items-gallery .item .content-wrapper p {
    font-size: 14px;
    line-height: 48px;
}

.items-gallery .item a {
    text-decoration: none;
}

@media (max-width: 1600px) {
    .items-gallery .item {
        flex: 0 0 auto;
        width: 25%;
    }
}

@media (max-width: 1200px) {
    .items-gallery .item {
        flex: 0 0 auto;
        width: 33.33333333%;
    }
}

@media (max-width: 768px) {
    .items-gallery .item {
        flex: 0 0 auto;
        width: 50%;
    }
}

@media (max-width: 576px) {
    .items-gallery .item {
        flex: 0 0 auto;
        width: 100%;
    }
}
