.loader {
    width: 60px;
    height: 60px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99;
}

.loader svg {
    width: 60px;
    height: 60px;
    animation: loading 1s linear infinite;
}

@keyframes loading {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loader svg circle {
    fill: none;
    stroke: #00a1ff;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 175.9;
    stroke-dashoffset: 175.9;
    animation: animate 2s linear infinite;
}

@keyframes animate {
    0%, 100% {
        stroke-dashoffset: 175.9;
    }
    50% {
        stroke-dashoffset: 0;
    }
    50.1% {
        stroke-dashoffset: 351.8;
    }
}