/***
Gruppo api Widget Hero Animato CSS
***/

.hero-animato {
  width: 100%;
  height: 100%;
  height: 100vh;
  max-height: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 25px;
}

.hero-animato-mobile {
  display: none;
}

.hero-animato:after {
  height: 100vh;
  width: 100%;
  max-height: 1000px;
  content: "";
  background: #000 !important;
  opacity: 0.2;
  position: absolute;
  border-radius: 25px;
  z-index: 0;
}

.hero-animato .grid {
    pointer-events: none;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(20,1fr);
    grid-template-rows: repeat(20,1fr);
}

.hero-animato .elementor-container {
  flex-direction: column;
  z-index: 1;
}

.hero-animato .immagini-gsap {
  position: absolute;
}

.hero-animato .img-gsap {
  z-index: 1;
  opacity: 0;
  border-radius: 40px;
}

.hero-animato .img-gsap.alta-dx {
 /* position: absolute;
  top: 15%;
  left: 30%;
  width: 10%;*/
  grid-area: 5 / 19 / 3 / 17;
}

.hero-animato .img-gsap.centro-sx {
 /* position: absolute;
  top: 24%;
  left: 28%;
  width: 10%;*/
  grid-area: 2 / 14 / 15 / 16;
}

.hero-animato .img-gsap.bassa-sx {
 /* position: absolute;
  top: 40%;
  left: 20%;
  width: 15%;*/
  /*grid-area: 9 / 14 / 15 / 16;*/
  grid-area: 13 / 5 / 14 / 2;
  width: 250px;
}

.hero-animato .testi {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.hero-animato .titolo {
  font-weight: 900;
  margin: 0 auto;
  margin-bottom: 20px;
  text-align: center;
}

.hero-animato .sottotitolo {
  font-size: 21px;
  font-weight: 500;
  margin: 0 auto;
  max-width: 60%;
}

.hero-animato .pulsanti,
.hero-animato .numeri {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

.hero-animato .pulsanti {
  padding-top: 20px;
  margin-bottom: 0px;
}

.hero-animato .pulsante {
  color: black;
  font-size: 15px;
  min-width: 207px;
  font-weight: 600;
  padding-top: 17px;
  padding-bottom: 17px;
  padding-left: 35px;
  padding-right: 35px;
  border-radius: 43px;
  margin-right: 28px;
}

.hero-animato .pulsante:last-child {
  margin-right: 0px;
}

.hero-animato .numero {
  text-align: center;
  display: flex;
  flex-direction: column;
  min-width: 260px;
}

.hero-animato .numero:last-child {
  margin-right: 0px;
}

.hero-animato .numero-text {
  font-size: 66px;
  font-weight: 900;
  line-height: 1.2;
  margin-top: 20px;
  margin-bottom: 10px;
  display: block;
  height: auto;
}

.hero-animato .sottotitolo-numero {
  font-size: 14px;
  font-weight: bold;
}

.hero-animato .icone-numeri {
  max-height: 65px;
}

@media screen and (max-width: 768px) {
  .hero-animato-mobile {
    display: flex;
  }

  .hero-animato-desktop {
    display: none;
  }
  .hero-animato {
    height: 90vh;
    min-height: 400px;
  }
  .hero-animato-mobile:after {
    height: 90vh;
  }
  .hero-animato .testi {
    margin-top: 45px;
  }
  .hero-animato .titolo {
    margin-bottom: 12px;
    margin-left: 29px;
    margin-right: 29px;
    text-align: center;
  }

   .hero-animato h3.custom-heading-xl,
   .hero-animato h2.custom-heading-xl {
    font-size: 34px;
    line-height: 44px;
    letter-spacing: 0;
    font-weight: 800;
  }

  .hero-animato .sottotitolo {
    text-align: center;
    margin-bottom: 25px;
    margin-left: 29px;
    margin-right: 29px;
    max-width: 80%;
  }
  .hero-animato .pulsanti {
    flex-direction: column;
  }
  .hero-animato .pulsante {
    margin-right: 0px;
    margin-bottom: 28px;
    width: 240px;
    text-align: center;
  }
}
