html,
body {
  height: 100%;
  /* background: linear-gradient(120deg, #fafafa, #fcf4ff); */
  /* animation: animatedBackground 10s linear infinite; */
}



.form-signin {
  max-width: 330px;
  padding: 1rem;
}

.form-signin .form-floating:focus-within {
  z-index: 2;
}

.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.glowing {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
}

.glowing span {
  position: absolute;
  width: 20px;
  height: 40px;
  background: limegreen;
  border-radius: 0 50% 50% 50%;
  opacity: 0.7;
}

/* Posiciones aleatorias para cada hoja */
.glowing span:nth-child(3n + 1) {
  top: 10%;
  left: 20%;
  animation: animateLeaf 10s alternate infinite;
}

.glowing span:nth-child(3n + 2) {
  top: 30%;
  left: 40%;
  animation: animateLeafReverse 12s alternate infinite;
}

.glowing span:nth-child(3n + 3) {
  top: 50%;
  left: 60%;
  animation: animateLeaf 8s alternate infinite;
}

.glowing span:nth-child(3n + 4) {
  top: 70%;
  left: 80%;
  animation: animateLeafReverse 7s alternate infinite;
}

/* ... Puedes continuar con esta lógica para añadir más hojas en diferentes posiciones ... */

@keyframes animateLeaf {
  0% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(180deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animateLeafReverse {
  0% {
    transform: rotate(360deg);
  }

  50% {
    transform: rotate(180deg);
  }

  100% {
    transform: rotate(0deg);
  }
}



#button {
  display: block;
  margin: 20px auto;
  padding: 10px 30px;
  
  cursor: pointer;
}

#overlay {
  position: fixed;
  top: 0;
  z-index: 100;
  width: 100%;
  height: 100%;
  display: none;
  background: rgba(0, 0, 0, 0.6);
}

.cv-spinner {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px #ddd solid;
  border-top: 4px #00ab3c solid;
  border-radius: 50%;
  animation: sp-anime 0.8s infinite linear;
}

@keyframes sp-anime {
  100% {
    transform: rotate(360deg);
  }
}

.is-hide {
  display: none;
}
