.loader-container {
  position: relative;
}

.loader {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; /* ? test without */
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  pointer-events: none;
}

.loader-rings-container {
  position: relative;
  width: 200px;
  height: 200px;
}

.loader-rings-container.large {
  width: 200px;
  height: 200px;
}

.loader-rings-container.small {
  width: 60px;
  height: 60px;
  position: relative;
}

.loader-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 16px solid #3b82f6;
  border-radius: 50%;
  box-sizing: border-box;
  animation: loader-concentric-rings 1.5s cubic-bezier(0.1, 0.7, 1.0, 0.1) infinite;
}

.loader-ring.large {
  border: 16px solid #3b82f6;
}

.loader-ring.small {
  border: 3px solid #3b82f6;
}

.loader-ring:nth-child(2) {
  animation-delay: -0.5s;
}

@keyframes loader-concentric-rings {
  0% {
    transform: scale(0);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 0;
  }
}