.containerSlide {
  width: 100vw;
  height: 40vw;
  position: relative;
  overflow: hidden;
  border-bottom: 10px solid #b04040;
  transition: filter 0.5s ease-in-out;
  filter: brightness(1.1) saturate(1.2);
}

.containerSlide:hover {
  filter: brightness(1.05) saturate(1.3);
}
.imgSlide{width:100%; height:100%; background-repeat:no-repeat; background-size:cover; background-position:center;}

.slide-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.containerSlide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.25));
  z-index: 1;
}

/* Box con il testo */
.background-box {
  position: absolute;
  bottom: 30px;
  left: 30px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius:20px;	
  padding: 20px 30px;
  font-size: 1.8rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 1px 1px 2px #000;
  display: flex;
  align-items: center;
  gap: 10px;

  /* Animazione "dal basso + zoom" */
  opacity: 0;
  transform: translateY(40px) scale(0.98);
	will-change: transform, opacity;
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.background-box.visible {
   opacity: 1 ;
  transform: translateY(0) scale(1) ;
}

/* Freccia */
.arw {
  background: rgba(0, 175, 237, 0.9);
  border-radius: 50%;
  padding: 10px;
  font-size: 26px;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
}
.info {
  float:left; height: 32px; margin-top:0px; margin-right:5px; vertical-align: middle;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.85; }
  100% { transform: scale(1); opacity: 1; }
}

/* Responsive mobile */
@media(max-width: 768px) {
  .containerSlide {
    height: 50vh;
  }

  .background-box {
    font-size: 1.2rem;
    left: 10px;
    right: 10px;
    bottom: 10px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    text-align: center;
  }

  .arw {
    margin: 0;
    font-size: 20px;
    padding: 8px;
  }
}