/*--------------------------------- STYLE - Portada Home  ---------------------------------*/

/* SLIDER */
.slider {
  position: relative;
  width: 100%;
  height: 90vh;
  /* overflow: hidden; */
}

/* SLIDES */
.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
}

.slider-one{ background-image: url('../img/slider-home/BG-SLIDER-mob-1.jpg');}
.slider-two{ background-image: url('../img/slider-home/BG-SLIDER-mob-1.jpg');}
.slider-three{ background-image: url('../img/slider-home/BG-SLIDER-mob-1.jpg');}

.shape-circle {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
}
/* SLIDE ACTIVA - FADE + ZOOM */
.slide.active {
  opacity: 1;
  animation: zoom 8s ease-in-out forwards;
}

/* @keyframes zoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); }
} */

/* Overlay estilo Litospets */
.overlay {
  position: absolute;
  inset: 0;
  /* background: rgba(0,0,0,0.35); */
  background-image: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0));
}

/* CONTENIDO */
.slide-content {
  width: 81%;
  margin: 0 auto;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  color: #fff;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
  max-width: 500px;
}
.slide-content h2 {
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
}
.slide-content p {
  font-size: 22px;
  margin-bottom: 15px;
}
.slide-content img {
  display: block;
  width: 90%;
  margin: 0 auto;
}

/* FLECHAS */
.controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 1;
}
.controls span {
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  user-select: none;
}

/* CAJAS INFERIORES */
.info-boxes {
  position: absolute;
  bottom: -207px;
  left: 0;
  right: 0;
  width: 73%;
  z-index: 1;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.info-box {
  background: #fff;
  padding: 25px 23px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  margin: 8px 0;
  /* gap: 10px; */
  text-decoration: none;
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.1);
}
.info-box img {
  width: 61px;
  margin-right: 15px;
}
.info-title { 
  font-size: 25px;
  transition: 0.3s;
  font-family: var(--second-font);
}

.info-text { 
  font-size: 12px; 
  color: #444; 
}

.info-box:hover .info-title {
  color: #f28b2f;
}

/* RESPONSIVE */
@media(max-width: 900px) {
  .slide-content h2 { font-size: 40px; }
  .slide-content p { font-size: 16px; }
  /* .info-boxes { flex-direction: column; gap: 15px; bottom: 10px; } */
  /* .slide-content { left: 20px; } */
}

@media screen and (min-width: 768px){

  .slider-one{ background-image: url('../img/slider-home/BG-SLIDER-1.jpg');}
  .slider-two{ background-image: url('../img/slider-home/BG-SLIDER-1.jpg');}
  .slider-three{ background-image: url('../img/slider-home/BG-SLIDER-1.jpg');}

  .info-boxes {
    width: 90%;
    max-width: 1100px;
    bottom: -19px;
    flex-direction: row;
    justify-content: space-between;
  }

  .info-box {
    width: 32%;
  }

  .info-text {
    font-size: 14px;
  }

}

@media screen and (min-width: 1024px){

  .slider {
    height: 93vh;
  }

  .info-boxes .info-box:nth-child(1) {
    margin: -10px 0 0 0;
  }

  .info-boxes .info-box:nth-child(3) {
    margin: -10px 0 0 0;
  }

  .info-box {
    width: 29%;
    height: 103px;
  }

  .info-boxes {
    bottom: -53px;
  }

  .shape-circle {
    bottom: -50px;
  }

  .slide-content {
    width: 91%;
    max-width: 1200px;
  }

  .slide-content img {
    max-width: 450px;
    margin: 0;
  }

}

@media screen and (min-width: 1200px) {

    .slider {
        margin-top: 109px;
    }

}

@media screen and (min-width: 1500px) {

    .info-boxes {
        bottom: -29px;
    }

}