
/* =============================== */
/* SLIDER HOME                    */
/* =============================== */

.slider {
  height: 90vh;
  position: relative;
  overflow: hidden;  
}

.slides {
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.03);
  transition:
    opacity 1.6s ease,
    transform 2.4s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.slide.active::after {
  opacity: 1;
}

.slide.out {
  opacity: 0;
  transform: scale(1.02);
  z-index: 1;
}

/* CONTENIDO */

.slide-content {
  position: absolute;
  bottom: 28%;
  left: 8%;
  color: white;
  max-width: 650px;
  opacity: 0;
  transform: translateY(25px);
  transition: all 1s ease 0.3s;
  z-index: 3;
  border-bottom: 2px solid #989898;
    padding-bottom: 40px;
}

.slide.active .slide-content {
  opacity: 1;
  transform: translateY(0);
}

.slide-content h1 {
  font-size: 64px;
  margin-bottom: 15px;
  font-weight: 600;
  line-height: 1.1;  
  color:#0d0b0b;
}

.slide-content h2 {
  color:#989898;
  font-size: 26px;
  font-weight: 600;
}

.slide-content p {
  font-size: 26px;
  font-weight: 300;
  margin-bottom: 25px;
  line-height: 1.4;
  color: #989898;
}

/* BOTÓN */

.slider-btn {
  background: var(--c1);
  color: white;
  padding: 12px 32px;
  border-radius: 40px;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
  display: inline-block;
}

.slider-btn:hover {
  background: #000;
  color: white;
}

/* FLECHAS */

.slider-arrows {
  position: absolute;
  bottom: 60px;
  left: 8%;
  display: flex;
  gap: 20px;
  z-index: 10;
}

.slider-arrows button {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: none;
  color: #000;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: transparent;
}

/* RESPONSIVE */

@media (max-width: 991.98px) {  

  .slide-content {
    left: 6%;
    bottom: 40%;
    max-width: 300px;
  }

  .slide-content h1 {
    font-size: 32px;
  }

  .slide-content p {
    font-size: 18px;
  }
}