.pace {
    -webkit-pointer-events: none;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}
.pace-inactive {
    display: none;
}
.pace .pace-progress {
    background: #fc0038;
    position: fixed;
    z-index: 2000;
    top: 0;
    right: 100%;
    width: 100%;
    height: 3px;
}
.pace .pace-progress-inner {
    display: block;
    position: absolute;
    right: 0;
    width: 100px;
    height: 100%;
    box-shadow: 0 0 10px #fc0038, 0 0 5px #fc0038;
    opacity: 1;
    -webkit-transform: rotate(3deg) translate(0, -4px);
    -moz-transform: rotate(3deg) translate(0, -4px);
    -ms-transform: rotate(3deg) translate(0, -4px);
    -o-transform: rotate(3deg) translate(0, -4px);
    transform: rotate(3deg) translate(0, -4px);
}
.pace .pace-activity {
    display: block;
    position: fixed;
    z-index: 2000;
    top: 15px;
    right: 15px;
    width: 20px;
    height: 20px;
    border: solid 3px transparent;
    border-top-color: #fc0038;
    border-left-color: #fc0038;
    border-radius: 10px;
    -webkit-animation: pace-spinner 0.4s linear infinite;
    -moz-animation: pace-spinner 0.4s linear infinite;
    -ms-animation: pace-spinner 0.4s linear infinite;
    -o-animation: pace-spinner 0.4s linear infinite;
    animation: pace-spinner 0.4s linear infinite;
}
@-webkit-keyframes pace-spinner {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@-moz-keyframes pace-spinner {
    0% {
        -moz-transform: rotate(0);
        transform: rotate(0);
    }
    100% {
        -moz-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@-o-keyframes pace-spinner {
    0% {
        -o-transform: rotate(0);
        transform: rotate(0);
    }
    100% {
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@-ms-keyframes pace-spinner {
    0% {
        -ms-transform: rotate(0);
        transform: rotate(0);
    }
    100% {
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes pace-spinner {
    0% {
        transform: rotate(0);
        transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* CAGAR TODA LA PAGINA

.pace {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.pace-inactive {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.pace .pace-activity {
    position: relative;
    width: 80px;
    height: 80px;
    border: none;
    background: transparent;
    border-radius: 50%;
}

.pace .pace-activity::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top: 3px solid #ffffff;
    border-right: 3px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: pace-modern-spin 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55)
        infinite;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
}

.pace .pace-activity::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    border: 2px solid transparent;
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
    border-left: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: pace-modern-spin 1.8s cubic-bezier(0.68, -0.55, 0.265, 1.55)
        infinite reverse;
}

.pace::after {
    content: "Cargando...";
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
        Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-top: 24px;
    opacity: 0.9;
    animation: pace-pulse 2s ease-in-out infinite;
}

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

@keyframes pace-pulse {
    0%,
    100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .pace .pace-activity {
        width: 60px;
        height: 60px;
    }

    .pace::after {
        font-size: 14px;
        margin-top: 20px;
    }
}
*/
