.preloader-area {
  position: fixed;
  width: 100%;
  height: 100vh;
  background: $color_black;
  z-index: 999999999999999;

  .preloader-inner {
    height: 50px;
    width: 50px;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    text-align: center;
    left: 0;
    right: 0;

    .theme-loader {
      width: 48px;
      height: 48px;
      border: 3px dotted $color_white;
      border-style: solid solid dotted dotted;
      border-radius: 50%;
      display: inline-block;
      position: relative;
      box-sizing: border-box;
      animation: rotation 2s linear infinite;

      &::after {
        content: '';
        box-sizing: border-box;
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        margin: auto;
        border: 3px dotted $color_primary;
        border-style: solid solid dotted;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        animation: rotationBack 1s linear infinite;
        transform-origin: center center;
      }
    }
  }
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes rotationBack {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(-360deg);
  }
}