/* ______________________________________________________ */
@media (min-width: 1024px) {
  #page-header.ht--hidden {
    opacity: 0 !important;
    pointer-events: none;
    transition: opacity 0.5s ease;
  }
}
/* ______________________________________________________ */
.ht--intro-section-home .ht--logo-intro-callegari-home {
  max-width: 50% !important;
  margin-inline: auto;
  width: fit-content;
  animation: rotate360 1s ease-out forwards;
  transform-origin: center center;
}
.ht--intro-section-home .ht--logo-intro-callegari-scritta-home {
  max-width: 50% !important;
  margin-inline: auto;
  width: fit-content;
  opacity: 0;
  animation: opacitylogo 1s ease-out forwards;
  animation-delay: 1s;
}

@keyframes rotate360 {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(120deg);
  }
}

@keyframes opacitylogo {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.ht--intro-section-home {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 2;
  opacity: 1;
  will-change: opacity;
  pointer-events: auto;
  transition: pointer-events 0s 0.3s; /* Disabilita click dopo il fade */
  margin: 0 !important;
}

/* ______________________________________________________ */
#hero-sequence {
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* :::::::::::::::::::::::::::::::::: */
.ht--hero-section-homepage .l-section-overlay {
  background: linear-gradient(
    180deg,
    rgba(27, 36, 50, 0) 22.92%,
    #1b2432 100%
  ) !important;
  z-index: 1;
}
/* :::::::::::::::::::::::::::::::::::::::::::::::::::: */
.ht--aerospace-section-homepage {
  min-height: 100vh;
}
.ht--aerospace-section-homepage .ht--callegari-48 {
  position: absolute;
  bottom: 0;
  max-width: 76% !important;
  margin-inline: auto;
  right: 0;
  left: 0;
}
.ht--aerospace-section-homepage .ht--moon-image-moon-section {
  position: absolute;
  max-width: 65% !important;
  width: 65% !important;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
}
.ht--aerospace-section-homepage h1 {
  opacity: 0;
}
.ht--aerospace-section-homepage .ht--callegari-48 {
  opacity: 0;
}

.ht--aerospace-section-homepage p {
  opacity: 0;
}
/* :::::::::::::::::::::::::::::: */
.my-element-video-home {
  width: 100% !important;
  max-width: 360px !important;
  border-radius: 8px !important;
  position: fixed !important;
  left: 80px !important;
  top: 130px !important;
  z-index: 1 !important;
  overflow: hidden !important;
  border: 2px solid var(--color-bianco) !important;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.25) !important;
  transition: 0.2s;
}
.my-element-video-home.active {
  transform-origin: top left;
  /* transform: scale(3); */
  transition: 0.2s;
  width: 100% !important;
  margin: auto;
  left: 50% !important;
  transform: translate(-50%, 20px) !important;
  height: auto;
  transition: 0.2s;
  max-width: 70vw !important;
  background: #000;
  z-index: 2 !important;
}

.my-element-video-home .ht--close--image {
  opacity: 0;
}
.my-element-video-home.active .ht--close--image:hover {
  cursor: pointer;
}
.my-element-video-home.active .ht--close--image {
  opacity: 1;
  margin: 24px;
}
/* :::::::::::::::::::::::::::::::::::::::::::::::::::: */
/* ========================================= */
/* H E R I T A G E   S E C T I O N   S T Y L E S */
/* ========================================= */

/* Section Background */
.ht--heritage-section-home .l-section-overlay {
  background: linear-gradient(
    180deg,
    #1b2432 0%,
    rgba(27, 36, 50, 0.3) 57.69%,
    #1b2432 100%
  ) !important;
}

/* ========================================= */
/* H E R I T A G E   I M A G E S */
/* ========================================= */

/* Common Image Styles */
.ht--heritage-section-home .ht--heritage-image-0,
.ht--heritage-section-home .ht--heritage-image-1,
.ht--heritage-section-home .ht--heritage-image-2,
.ht--heritage-section-home .ht--heritage-image-3,
.ht--heritage-section-home .ht--heritage-image-4,
.ht--heritage-section-home .ht--heritage-image-5 {
  position: absolute;
  will-change: transform;
  transform-origin: center center;
}

/* Image 0 */
.ht--heritage-section-home .ht--heritage-image-0 {
  right: 7.71vw; /* 148px */
  bottom: 7.45vw; /* 143px */
  max-width: 21.98vw !important; /* 422px / 1920 */
}

/* Image 1 */
.ht--heritage-section-home .ht--heritage-image-1 {
  left: 5.21vw; /* 100px */
  top: 16.04vw; /* 308px */
  max-width: 13.02vw !important; /* 250px / 1920 */
}

/* Image 2 */
.ht--heritage-section-home .ht--heritage-image-2 {
  left: 14.84vw; /* 285px */
  bottom: 0.57vw; /* 11px */
  max-width: 28.8vw !important; /* 553px / 1920 */
}

/* Image 3 */
.ht--heritage-section-home .ht--heritage-image-3 {
  max-width: 35.42vw !important; /* 680px / 1920 */
  right: 19.9vw; /* 382px */
  top: -7.66vw; /* -243px */
}

/* Image 4 */
.ht--heritage-section-home .ht--heritage-image-4 {
  position: absolute;
  top: 3.91vw; /* 75px */
  max-width: 28.23vw !important; /* 542px / 1920 */
  left: -8.33vw; /* -160px */
}

/* Image 5 */
.ht--heritage-section-home .ht--heritage-image-5 {
  right: -2.24vw; /* -43px */
  max-width: 18.91vw !important; /* 363px / 1920 */
  bottom: 11.88vw; /* 228px */
}

/* ========================================= */
/* T I T L E   S T Y L E S */
/* ========================================= */

.ht--heritage-section-home .ht--title-heritage-page {
  max-width: 42.71vw !important; /* 820px / 1920px = 0.42708... */
}
/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */
@media (max-width: 600px) {
  .ht--heritage-section-home .ht--title-heritage-page {
    max-width: 90vw !important; /* 820px / 1920px = 0.42708... */
    position: relative;
    z-index: 2;
  }
  .ht--heritage-section-home .ht--heritage-image-0 {
    display: none;
  }
  .ht--heritage-section-home .ht--heritage-image-1 {
    display: none;
  }
  .ht--heritage-section-home .ht--heritage-image-2 {
    max-width: 219px !important;
    left: -44px;
    bottom: 70px;
  }
  .ht--heritage-section-home .ht--heritage-image-3 {
    max-width: 200px !important;
    right: -28px;
    top: 40px;
  }
  .ht--heritage-section-home .ht--heritage-image-4 {
    max-width: 165px !important;
    left: -10px;
    top: 0;
  }
  .ht--heritage-section-home .ht--heritage-image-5 {
    max-width: 133px !important ;
    right: -18px;
    bottom: 91px;
  }
  .animated-button-link {
    position: relative;
    z-index: 2;
  }
}
