.loading-container {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.522);
  height: 100vh;
  width: 100vw;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-img {
  position: relative;
  width: 100px;
  height: 100px;
  z-index: 1000;
}

#loaderImg {
  width: inherit;
  height: auto;
  z-index: 1001;
  border-radius: 50%;
}

/* Rings animation */

.loading-img::before, .loading-img::after, .loading-ring {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid #22a3bb;
  transform: translate(-50%, -50%) scale(1);
  opacity: 0.8;
  animation: ring-animation 1.5s infinite ease-out;
}

/* Second ring */

.loading-img::after {
  animation-delay: 0.5s;
}

/* Third ring */

.loading-ring {
  position: absolute;
  animation-delay: 1s;
}

@keyframes ring-animation {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(3.5);
    opacity: 0;
  }
}

