/* Posición y fondo del preloader */
.section-preloader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-sizing: border-box;
  transition: transform 1s ease;
  will-change: transform;
  border-bottom: 2px solid var(--on-background-ligh);
}

/* Cortinilla hacia arriba */
.section-preloader.oculto {
  transform: translateY(-100%);
  pointer-events: none;
}

/* SVG styling */
#preloader-svg {
  width: 86px;
  height: auto;
}

/* Animación de dibujo */
.cls-1 {
  fill: #fff;
}

.cls-1, .cls-2 {
  stroke: #000;
  stroke-miterlimit: 10;
  stroke-width: 0.5px;
}

.cls-2 {
  fill: none;
  stroke-dasharray: 352;
  stroke-dashoffset: 352;
  animation: draw 1s ease forwards;
}

path.cls-2,
line.cls-2,
path.cls-1,
line.cls-1 {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: draw 3s ease forwards;
  animation-delay: 1s;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}