html,
body {
  font-size: 12px;
  line-height: 16px;
  letter-spacing: -0.01em;
}

#app-error {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 12000;

  margin: 0;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    Roboto,
    Helvetica Neue,
    Arial,
    Noto Sans,
    Liberation Sans,
    sans-serif,
    Apple Color Emoji,
    Segoe UI Emoji,
    Segoe UI Symbol,
    Noto Color Emoji;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
  color: #212529;
  text-align: left;
  background-color: #fafafc;
}

.error-text {
  margin-bottom: 40px;
  text-align: center;
  font-size: 1.5rem;
  color: gray;
}

.app-error-spin {
  animation-name: app-error-spin;
  animation-duration: 5000ms;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@keyframes app-error-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.app-error-spinout {
  animation-name: app-error-spinout;
  animation-duration: 5000ms;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@keyframes app-error-spinout {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

#app-loading {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 12001;

  margin: 0;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    Roboto,
    Helvetica Neue,
    Arial,
    Noto Sans,
    Liberation Sans,
    sans-serif,
    Apple Color Emoji,
    Segoe UI Emoji,
    Segoe UI Symbol,
    Noto Color Emoji;
  font-weight: 300;
  line-height: 1.5;
  color: #212529;
  text-align: left;
  background-color: #fafafc;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loading_container {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  justify-content: space-between;
  align-items: center;
  width: 285px;
  height: 245px;
}

.logo_wrap {
  margin: 16px 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 1.5rem;
}

.logo_wrap img {
  width: 70px;
  height: 70px;
  margin-right: 8px;
}

.loading_text {
  text-align: center;
  font-size: 1.5rem;
  color: gray;
}

.public-spinner {
  background-size: 400%;
  animation: public-spinner-animation 4s infinite step-end;
}

.public-spinner._color-yellow {
  background-image: url('/icons/spinner.svg');
}

.public-spinner._color-white {
  background-image: url('/icons/spinner-white.svg');
}

.public-spinner._size-s {
  width: 16px;
  height: 16px;
}

.public-spinner._size-m {
  width: 20px;
  height: 20px;
}

.public-spinner._size-l {
  width: 36px;
  height: 36px;
}

.public-spinner._size-xl {
  width: 72px;
  height: 72px;
}

@keyframes public-spinner-animation {
  0% {
    background-position: 0 0;
  }

  8.3333333333% {
    background-position: 33.3333333333% 0;
  }

  16.6666666667% {
    background-position: 66.6666666667% 0;
  }

  25% {
    background-position: 100% 0;
  }

  33.3333333333% {
    background-position: 0 50%;
  }

  41.6666666667% {
    background-position: 33.3333333333% 50%;
  }

  50% {
    background-position: 66.6666666667% 50%;
  }

  58.3333333333% {
    background-position: 100% 50%;
  }

  66.6666666667% {
    background-position: 0 100%;
  }

  75% {
    background-position: 33.3333333333% 100%;
  }

  83.3333333333% {
    background-position: 66.6666666667% 100%;
  }

  91.6666666667% {
    background-position: 100% 100%;
  }
}
