:root {
  --primary-color: #2e75da;
  --job-color: #f39000;
  --education-color: #9362cd;
  --hobby-color: #07b282;
}

@keyframes spinner-appear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes loading-bg-fade {
  0% {
    background: var(--primary-color);
  }
  25% {
    background: var(--education-color);
  }
  50% {
    background: var(--hobby-color);
  }
  75% {
    background: var(--job-color);
  }
}
.loading-splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--primary-color);
  animation: loading-bg-fade 6s 3s infinite ease-in-out both;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.33s ease-in-out, visibility 0.33s;
}

.loading-circle-container {
  width: 150vw;
  height: 100vh;
  min-width: 1000px;
  align-items: center;
  background-color: #ffffff;
  border-radius: 50%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 30px;
  position: fixed;
  top: -50vh;
}
.loading-circle-container > svg {
  width: 188px;
}
.loading-circle-container > img {
  width: auto;
  height: auto;
  max-width: 188px;
  max-height: 100px;
}

#j-app-root:empty + .loading-splash {
  opacity: 1;
  visibility: visible;
}

.sk-spinner {
  text-align: center;
  position: relative;
  margin-top: 16px;
  opacity: 0;
  animation: 0.5s ease-in 1s 1 forwards spinner-appear;
}
.sk-spinner > b {
  width: 0.5rem;
  height: 0.5rem;
  color: rgba(0, 0, 0, 0.2);
  background-color: currentColor;
  border-radius: 100%;
  margin: 0 0.25rem;
  display: inline-block;
  animation: sk-bounce 0.5s -0.16s infinite ease-in-out alternate;
}
.sk-spinner > b:first-child {
  color: var(--primary-color);
  animation-delay: -0.32s;
}
.sk-spinner > b:last-child {
  animation-delay: 0s;
}
@media (prefers-reduced-motion) {
  .sk-spinner > b {
    animation-name: sk-pulse;
  }
}
.sk-spinner.inverse > b {
  color: rgba(0, 0, 0, 0.3);
}
.sk-spinner.inverse > b:first-child {
  color: var(--primary-color);
}

@keyframes sk-bounce {
  0% {
    transform: translateY(0%);
  }
  100% {
    transform: translateY(-100%);
  }
}
@keyframes sk-pulse {
  0% {
    opacity: 100%;
  }
  100% {
    opacity: 25%;
  }
}
