body {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: #f0f0f0; margin: 0;
  height: 100%;
  background: white;
  background-size: 100% 100%;
}

/* Meu css */

#loading-screen {
  text-align: center;
}

#loader {
  width: 50px;
  height: 50px;
  margin: 2rem auto;
  border: 10px solid #cfcfcf;
  border-radius: 50%;
  border-top: 10px solid #784A9A;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }

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

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

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

/* Add animation to "page content" */
.animate-bottom {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 1s;
  animation-name: animatebottom;
  animation-duration: 1s
}

/* ------- */

@media (prefers-color-scheme: dark) {
  body {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: #f0f0f0;
  }
}