﻿/*body {
    margin: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: black;
    overflow: hidden;
}*/
.loaderDiv {
    /*height: 87%;*/
    width: 100%;
    background-color: white;
    z-index: 9999;
    position: absolute;
    opacity: 0.5;
    min-height: 100%;
    margin: 0;
    display: none;
    position: fixed;
    top: 0 !important;
}

.loader {
    width: 9em;
    height: 9em;
    font-size: 22px;
    box-sizing: border-box;
    border-top: 0.3em solid hotpink;
    border-radius: 50%;
    position: relative;
    animation: rotating 2s ease-in-out infinite;
    --direction: 1;
    /**/
    position: fixed;
    z-index: 9999999;
    left: 40%;
    top: 40%;
    display:none;
}

    .loader::before,
    .loader::after {
        content: '';
        position: absolute;
        width: inherit;
        height: inherit;
        border-radius: 50%;
        box-sizing: border-box;
        top: -0.2em;
    }

    .loader::before {
        border-top: 0.3em solid dodgerblue;
        transform: rotate(120deg);
    }

    .loader::after {
        border-top: 0.3em solid gold;
        transform: rotate(240deg);
    }

    .loader span {
        position: absolute;
        color: #971515;
        width: inherit;
        height: inherit;
        text-align: center;
        line-height: 10em;
        font-family: sans-serif;
        animation: rotating 2s linear infinite;
        --direction: -1;
    }

@keyframes rotating {
    50% {
        transform: rotate(calc(180deg * var(--direction)));
    }

    100% {
        transform: rotate(calc(360deg * var(--direction)));
    }
}
