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

/* Overlay container - full screen */
.app-loading-overlay {
  position: fixed;
  background: #ffffff;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 1000ms ease 500ms;
}

/* Fade out animation */
.app-loading-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}

.app-loading {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.app-loading p {
  display: block;
  font-size: 1.17em;
  margin-inline-start: 0;
  margin-inline-end: 0;
  font-weight: normal;
}

.app-loading h1 {
  margin-bottom: 0.25em;
}

.app-loading .half-brand {
  margin-bottom: 80px;
  margin-top: 20px;
  width: 320px;
  height: auto;
}

.app-loading .loading-animation {
  width: 120px;
  height: 120px;
  animation: spin 5s linear infinite;
}
