/* =========================
   SPLIDE
========================= */
.splide {
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.splide__track,
.splide__list,
.splide__slide {
  height: 100%;
}
/* =========================
   SLIDES NORMALES
========================= */
.splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* =========================
   SLIDE LOGO
========================= */
.logo-scene {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

/* =========================
   LOGO
========================= */
.logo-wrapper {
  opacity: 0;
  transform: scale(0.3) translateZ(0);
  will-change: transform, opacity;
  position: relative;
  z-index: 2;
}
.logo-wrapper img {
  width: 240px;
  height: auto;
  display: block;
}
/* =========================
   LINEAS
========================= */
.line {
  position: absolute;
  width: 2px;
  height: 90px;
  background: #000;
  left: 50%;
  z-index: 1;
  transform: translateX(-50%);
}

/* línea superior */
.line-top {
  top: 0;
  transform:
    translateX(-50%)
    translateY(-120px);
}

/* línea inferior */
.line-bottom {
  bottom: 0;
  transform:
    translateX(-50%)
    translateY(120px);
}

/* =========================
   LINEAS ANIMATION
========================= */
.splide__slide.is-active .line-top {
  animation:
    lineTopMove 1s
    cubic-bezier(.77,0,.18,1)
    forwards;
}

.splide__slide.is-active .line-bottom {
  animation:
    lineBottomMove 1s
    cubic-bezier(.77,0,.18,1)
    forwards;
}

.splide__slide.is-active .logo-wrapper {
  animation:
    logoReveal 1.2s
    cubic-bezier(.19,1,.22,1)
    forwards;
  animation-delay: .85s;
}

/* =========================
   KEYFRAMES
========================= */
@keyframes lineTopMove {
  to {
    transform:
      translateX(-50%)
      translateY(110px);
  }
}
@keyframes lineBottomMove {
  to {
    transform:
      translateX(-50%)
      translateY(-110px);
  }
}

@keyframes logoReveal {
  0% {
    opacity: 0;
    transform: scale(0.55);
    filter: blur(8px);
  }
  60% {
    opacity: 1;
  }
  85% {
    transform: scale(1.03);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

#home-about{
  margin-top: 8rem;
  margin-bottom: 8rem;
}