#loading-bg {
  position: fixed;
  display: flex;
  width: 100%;
  height: 100%;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: center;
  background: #FFF;
  gap: 16px;
  inset: 0;
}

.loading {
  display: grid;
  width: 55px;
  height: 55px;
  box-sizing: border-box;
  border: 3px solid transparent;
  border-radius: 50%;
  grid-template-areas: "spinner";
  place-items: center;
}

.effects {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border: 3px solid transparent;
  border-radius: 50%;
  border-left: 3px solid #EC0044;
  grid-area: spinner;
}

.effect-1 {
  animation: rotate 1s ease infinite;
}

.effect-2 {
  animation: rotate-opacity 1s ease infinite .1s;
}

.effect-3 {
  animation: rotate-opacity 1s ease infinite .2s;
}

.loading .effects {
  transition: all .3s ease;
}

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

  100% {
    transform: rotate(1turn);
  }
}

@keyframes rotate-opacity {
  0% {
    opacity: .1;
    transform: rotate(0deg);
  }

  100% {
    opacity: 1;
    transform: rotate(1turn);
  }
}
