/*******************************************************************************************
CAROSELLI CUSTOM
*******************************************************************************************/
.custom-carousel {
  position: relative;
  max-width: 90%;
  margin: 0 auto;
  padding: 20px 0;
}

.carousel-wrapper-container {
  overflow: hidden;
  margin: 0 50px; /* spazio per le frecce */
}

.carousel-wrapper {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  flex: 0 0 33.3333%;
  box-sizing: border-box;
  padding: 0 10px;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(219, 0, 0, 0.05);
  border: none;
  color: white;
  border-radius: 50%;
  font-size: 2rem;
  padding: 0 12px;
  cursor: pointer;
  z-index: 10;
}

.carousel-prev {
  left: 0;
}
.carousel-next {
  right: 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .carousel-slide {
    flex: 0 0 50%;
  }
}

@media (max-width: 480px) {
  .carousel-slide {
    flex: 0 0 100%;
  }
}

.splide__arrow--prev {
    left: -1em;
}
.splide__arrow--next {
    right: -1em;
}



#testata-hero-section, #sezione-descrittiva-imgbg {
  position: relative;
}

.testata-hero-section, #sezione-descrittiva-imgbg {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.testata-hero-section > .container-fluid, #sezione-descrittiva-imgbg > .container-fluid {
  z-index: 2;
/*  height: 100%;*/
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; 
}

.testata-hero-section::before, #sezione-descrittiva-imgbg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8); /* nero fumo 80% */
  z-index: 1;
}
/*
#sezione-descrittiva-imgbg::before {
  content: "";
  position: absolute;
  inset: 0; 
  background: rgba(160, 0, 0, 0.75); 
  z-index: 1;
}*/
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.img-decoration {
  position: relative;
  float: right;
  margin: 0 0 6vw 8vw;
}

#testata-hero-section .img-decoration img {
  width: 25vw;
  max-width: 550px;
}



.border-bottom {
  border-bottom: 1px solid #e7e7e7 !important;
}

.border-left {
  border-left: 1px solid #e7e7e7 !important;
}

.download-icon {
  font-size: 14px;
  height: 30px;
  width: 30px;
}


iframe {
  width: 100%;
  height: 600px;
  border-radius: 20px;
}





/**************************************/
/* PERCHE SCEGLIERE SEMCARS paragrafo */
/**************************************/
.img-perche-semcars {
  height: 50vh;
  object-fit: cover;
}

@media screen and (max-width: 786px) {
  .img-perche-semcars {
  max-height: 40vh;
}

}



/***********************************/
/* ELENCO PERCHE */
.icona-perche {
  max-width: 10vh;
}