@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}
div.page.loader {
    background-color: rgba(214, 214, 214, 0.747);
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    z-index: 1000;
    overflow: hidden;
    display: none;
}
div.page.loader::before {
    content: url(attr(img));
    height: 24px;
    width: 24px;
    animation: rotation 1.5s linear infinite;
}
div.page.loader.active {
    display: flex;
    align-items: center;
    justify-content: center;
}
