
/* ######  HOMEPAGE  ###### */
/* --- BACKGROUND */
.background-2027 {
  background-image: url("/assets/img/2027/background_section-2027_2160x1080.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  width: 100%;
  z-index: -1;
}

/* --- HEADER */
.section_header_A {
    position: relative;
    width: 100%;

    margin-left: auto;
    margin-right: auto;
    aspect-ratio: 16 / 9;

    /* background-color: black; */
}

/* --- Parallax */
.parallax-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;

    perspective: 1500px;
}



/* --- Parallax > Figure che si muovono */
.elemento_parallax {
    position: absolute;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    top: 50%;
    left: 50%;

    translate: -50% -50%;
}

.elemento_parallax img {
    position: absolute;
    width: 100%;
    /* height: 100%; */
    /* scale: 1.1; */
    /* height: 4rem; */
    object-position: center;
    object-fit: cover;    
}

.fix_temporaneo {
    scale: 1.2;
}

/* -- Homepage - Data */
.save_the_date {
    font-weight: 700;
    font-size: 60px;
}



/* --- Responsive --- */
@media (max-width: 768px){
    /* #####  HOMEPAGE  ##### */
    /* --- HEADER */
    .section_header_A {
        aspect-ratio: 1 / 1;
        transform: translateY(-2rem);
    }

    .elemento_parallax img {
        position: absolute;
        height: 100%;
    }

    /* -- Homepage - Data */
    .save_the_date {
        font-size: 40px;
    }

    /* Si nascondono per questioni di performance */
    .hide_in_mobile {
        visibility: hidden;
        display: none;
    }

}