/* Background section */
.background-section, .background-section h3,.background-section .block--subtitle{
    color: #fff;
}

.background-section .block-text.left {
    display: flex;
    flex-direction: column;
    max-width: clamp(580px, 34.634vw, 555px);
}
.background-section .block-text.center {
    display: flex;
    flex-direction: column;
    max-width: clamp(530px, 28.905vw, 665px);
}
.background-section-content {
    margin: 0 5%;
    z-index: 5;
    position: relative;
}
.background-section-content.center {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
}
.background-section-content.center .block-text.center {
    justify-content: center;
    align-items: center;
}
.background-section-content.center .block-text.center h3{
    text-align: center;
}
.background-section-content .block--paragraph{
    margin-top: 15px;
}
.background-section-content .block--button{
    margin-top: clamp(40px, 2.603vw, 50px);
}
.block-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}
.block-background:before {
    content: '';
    display: flex;
    width: 100%;
    height: 100%;
    background: #00000041;
    z-index: 4;
    position: absolute;
    top: 0;
    left: 0;
}
.block-background img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.section.background-section .column {
    overflow: hidden;
}
.background-section-content .block--title{
    text-wrap: balance;
}
/* Parallax background (solo quando c'è la classe parallax_effect) */
.block-background.parallax_effect img{
  will-change: transform;
  transform: translate3d(0,0,0);
  transition: none;

  /* fondamentale per vedere il movimento */
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.block-background.parallax_effect{
    transform: scale(1.20);
}
.background-section .block-background .block--image {
    height: 100%;
}
.background-section .block-text.center .block--paragraph {
    max-width: clamp(380px, 23.176vw, 445px);
}
@media(min-width: 1025px){
    .parallax-gradient .block-background:before {
        background: #000;
        background: linear-gradient(90deg, rgb(0 0 0 / 70%) 0%, rgb(0 0 0 / 35%) 40%, rgb(0 0 0 / 0%) 55%);
    }   
}
@media(max-width: 10124px){
    .custom-background-position-on-mobile .block-background .block--image img {
        object-position: 70%;
    }
}
/* two columns */
.two-column-section .block--title {
    text-wrap: balance;
}
.two-column-section .block-text-wrapper .block--paragraph {
    margin-top: 20px;
}
.two-column-section .block-text-wrapper .block--button {
    margin-top: clamp(40px, 2.603vw, 50px);
}
.two-column-section.max-width-640 .block-text-wrapper .block--paragraph {
    max-width: clamp(500px, 33.332vw, 640px);
}
.video-background-content {
    display: flex;
    min-height: clamp(450px, 26.041vw, 500px);
}
.video-background-content video {
    height: 100%;
    width: 100%;
    object-fit: cover;
    position: absolute;
}
.column.disable-on-mobile{
    display: none;
}
.max-width-title-560 .block-text-wrapper .block--title {
    max-width: clamp(500px, 31.093vw, 560px);
}
@media(min-width: 1025px){
    .column.disable-on-mobile{
        display: block;
    }
    .max-width-image-20 .block--image {
        max-width: 80%;
        margin: 0 auto;
        width: 100%;
    }
}
@media(min-width: 1181px){
    .max-width-image-5 .block--image{
        max-width: 95%;
    }
    .custom-margin-text .block-text-wrapper {
        max-width: 95%;
        margin: 0 0 0 auto;
    }
}

