.spinner {
    width: 5em;
    height: 5em;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -2.5em;
    margin-left: -2.5em;
    z-index: 1000;
  }

  .spinner circle {
    fill: none;
    stroke: rgb(29, 221, 152);
    stroke-width: 5;
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    animation: dash4 1.5s ease-in-out infinite;
  }

  .rotate {
    animation: rotate4 2s linear infinite;
  }

  @keyframes rotate4 {
    100% {
      transform: rotate(360deg);
    }
  }

  @keyframes dash4 {
    0% {
      stroke-dasharray: 1, 200;
      stroke-dashoffset: 0;
    }
    50% {
      stroke-dasharray: 90, 200;
      stroke-dashoffset: -35px;
    }
    100% {
      stroke-dashoffset: -125px;
    }
  }
