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

@media (max-width: 960px) {
    .loader.big {
        display: none;
    }
}

.loader.small {
    width: 50px;
    min-width: 50px;
    height: 50px;
    min-width: 50px;
    border: 10px solid; /* General border for the loader */
    animation: spin 2s linear infinite;
}

.loader.small::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.loader {
    display: block;
    width: 300px;
    min-width: 300px;
    height: 300px;
    min-width: 300px;
    border-radius: 50%;
    border: 50px solid; /* General border for the loader */
    border-top-color: transparent; /* The top part is transparent to create the spin illusion */
    animation: spin 10s ease-in-out infinite;
    position: relative;
    cursor: pointer;
}

.loader::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70%;
    height: 70%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.primary.loader {
    border-color:  rgba(55, 88, 249, 0.2);
    border-top-color: rgb(55, 88, 249);
}

.primary.loader::before {
    background: rgb(55, 88, 249);
}