.loader {
        transform: rotateZ(45deg);
        perspective: 1000px;
        border-radius: 50%;
        width: 100px;
        height: 100px;
        color: #297A4A;
        left: calc(50% - 50px);
        top: calc(50% - 50px);
      }
        .loader:before,
        .loader:after {
          content: '';
          display: block;
          position: absolute;
          width: inherit;
          height: inherit;
          border-radius: 50%;
          transform: rotateX(70deg);
          animation: 1s spin linear infinite;
          left: calc(50% - 50px);
          top: calc(50% - 50px);
        }
        .loader:after {
          color: #F6C801;
          transform: rotateY(70deg);
          animation-delay: .4s;
        }

      @keyframes rotate {
        0% {
          transform: translate(-50%, -50%) rotateZ(0deg);
        }
        100% {
          transform: translate(-50%, -50%) rotateZ(360deg);
        }
      }

      @keyframes rotateccw {
        0% {
          transform: translate(-50%, -50%) rotate(0deg);
        }
        100% {
          transform: translate(-50%, -50%) rotate(-360deg);
        }
      }

      @keyframes spin {
        0%,
        100% {
          box-shadow: .4em 0px 0 0px currentcolor;
        }
        12% {
          box-shadow: .4em .4em 0 0 currentcolor;
        }
        25% {
          box-shadow: 0 .4em 0 0px currentcolor;
        }
        37% {
          box-shadow: -.4em .4em 0 0 currentcolor;
        }
        50% {
          box-shadow: -.4em 0 0 0 currentcolor;
        }
        62% {
          box-shadow: -.4em -.4em 0 0 currentcolor;
        }
        75% {
          box-shadow: 0px -.4em 0 0 currentcolor;
        }
        87% {
          box-shadow: .4em -.4em 0 0 currentcolor;
        }
      }
