body {
  background-image: url("/img/fondo.webp");
  background-size: cover;
  background-position: 25% 30%;
  background-repeat: no-repeat;
  height: 100vh;
  margin: 0;
  position: relative;
  font-family: Arial, sans-serif;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff90;
  z-index: 1;
}

.logo {
  background-image: url("/img/slogan.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 80%;
  height: 80%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

/* carga */
.spinner {
  position: absolute;
  top: calc(50% + 180px);
  left: 50%;
  transform: translate(-50%, -50%);
  border: 8px solid #f3f3f3;
  border-top: 8px solid #80183b;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  z-index: 3;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.loading-text {
  position: absolute;
  top: calc(50% + 250px);
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2rem;
  color: #000000;
  z-index: 3;
}

/*puntito de carga*/

.dots span {
  font-size: 3rem;
  opacity: 1;
  animation: dotFlashing 1s infinite linear;
  font-weight: bold;
}

.dots span:nth-child(1) {
  animation-delay: 0s;
}
.dots span:nth-child(2) {
  animation-delay: 0.3s;
}
.dots span:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes dotFlashing {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
