
/* @keyframes preload-show {
    0%   { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes preload-hide {
    0%   { opacity: 1; }
    100% { opacity: 0; }
}
@keyframes preload-move {
    from { opacity: 0; z-index: -1; transform: scale(0); }
    to { opacity: 1; z-index: 100; transform: scale(1); }
}
@keyframes preload-move {
    0%   { z-index: -10; }
    1%   { z-index: 998; }
    100% { z-index: 999; }
} */
@keyframes preload-transform {
    from { transform: scale(0); }
    to { transform: scale(1); }
}
@keyframes preload-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#preload-container {
    /* display: none !important; */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #222;
    z-index: 999;
    transform: scale(1);
    animation: preload-transform .5s;
    transition: background-color .5s ease, transform .8s ease-in-out, z-index .3s linear 1.7s;
    /* transition: background-color .5s ease, z-index .3s linear 1.7s; */
}

#preload-container.hidden {
    /* animation: preload-fadein 0.6s; */
    /* animation: preload-transform .6s, preload-move .7s; */
    /* animation: preload-transform .6s reverse; */
    /* animation: preload-transform2 .5s; */
    transform: scale(0);
    z-index: -9;
    /* opacity: 0; */
    /* transition: opacity 1.6s; */
    /* , display 2s; */
    /* z-index: -2;
    animation: preload-hide 1.6s;
    transition: z-index 2s linear; */
}

#preload-error {
    display: none;
}

#preload-spinner, #preload-spinner:after {
    border-radius: 50%;
    width: 140px;
    height: 140px;
}
#preload-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -70px;
    margin-left: -70px;
    font-size: 16px;

    border: 12px solid rgba(2, 100, 204, 0.1);
    border-left-color: rgb(2, 100, 204);
    transform: translateZ(0);
    animation: preload-rotate 1.1s infinite linear;
}