/* Loading screen */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);  /* Set dark background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;  /* on top */
}

/* Rotating thingy */
.spinner {
  width: 50px;
  height: 50px;
  border: 6px solid rgba(255, 255, 255, 0.2);
  border-top: 6px solid #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;  /* spin animation infinite */

}

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

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

/* hidden page content */
#content {
  display: block;
  animation: fadeIn 1s ease-in;  /* smooth page show */
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}