/* 

 NOTE: if you change this file, update the ?v=123 in index.html

*/

body {
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  margin: 0;
  padding: 0;
  position: fixed;
  background-color: rgba(250, 250, 250, 1);
  color: #000;
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: rgba(34, 34, 34, 1);
    color: #fff;
  }
}

#loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  height: 100%;
  width: 100%;

  background-color: rgba(230, 230, 230, 1);
  color: #000;
}

@media (prefers-color-scheme: dark) {
  #loading {
    background-color: rgba(21, 32, 42, 1);
    color: #fff;
  }
}

#loading img {
  animation: 1s ease-in-out 0s infinite alternate breathe;
  opacity: 0.7;
  transition: opacity 0.4s;
}

#loading .loading-status {
  margin-top: 20px;
  font-size: 1em;
  opacity: 0.5;
}

/* #loading.main_done img {
  opacity: 1;
} */

#loading.init_done img {
  animation: 0.33s ease-in-out 0s 1 forwards zooooom;
  opacity: 0.05;
}

@keyframes breathe {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(0.95);
  }
}

@keyframes zooooom {
  from {
    transform: scale(1);
    opacity: 0.7;
  }

  to {
    transform: scale(4);
    opacity: 0;
  }
}
