@keyframes spinnerAnimation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes circleAnimation {
    0%, 100% {
        stroke-dashoffset: 220;
    }
    50% {
        stroke-dashoffset: 0;
    }
    50.1% {
        stroke-dashoffset: 440;
    }
}

.spinner {
    width: 60px;
    height: 60px;
    animation: spinnerAnimation 1s linear infinite;
}

.spinner circle {
    transform: translate(2px, 2px);
    width: 100%;
    height: 100%;
    fill: none;
    stroke-width: 2.5;
    stroke: #E3001B;
    stroke-linecap: round;
    stroke-dasharray: 220;
    stroke-dashoffset: 220;
    animation: circleAnimation 4s linear infinite;
}

.parent {
    position: absolute;
    top: 50%;
    left: 50%;
}