body, html {
  height: 100%;
  margin: 0;
}

#app-loading-indicator {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  right: 50%;
  bottom: 50%;
  z-index: 999; /*set below 1000 in order to be 'behind' otp pop up*/
}

#app-loading-indicator .spinner {
  height: 150px;
  width: 150px;
  animation: rotate 2s linear infinite;
  transform-origin: center center;
  position: absolute;
  bottom: 0;
  top: -100%;
  left: -100%;
  right: 0;
}

#app-loading-indicator .spinner-image {
  width: 50px;
  min-width: 50px;
  height: 50px;
  min-height: 50px;
}

#app-loading-indicator .spinner .path {
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  animation: dash 1.5s ease-in-out infinite;
  stroke-linecap: round;
  stroke: #ddd;
}

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

@keyframes dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35px;
  }
  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -124px;
  }
}
