.preloader {
    position: fixed;
    z-index: 99999;
    background-color: var(--layer-bg);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    opacity: 1;
    visibility: visible;
}

.preloader.is-hide {
    opacity: 0;
    visibility: hidden;
    transition: all .2s ease-in-out;
}

.preloader.is-none {
    display: none !important;
}

.preloader .blobs {
    -webkit-filter: url("#goo");
    filter: url("#goo");
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.preloader .blob {
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--button-bg-primary);
}

.preloader .blob:nth-child(1) {
    animation: blob-left-anim cubic-bezier(0.770, 0.000, 0.175, 1.000) 2s infinite;
}

.preloader .blob:nth-child(2) {
    animation: blob-right-anim cubic-bezier(0.770, 0.000, 0.175, 1.000) 2s infinite;
}

.preloader .scene {
    position: absolute;
    height: 28px;
    width: 28px;
    left: calc(50% - 14px);
    top: calc(50% - 14px);
    animation: scene cubic-bezier(0.770, 0.000, 0.175, 1.000) 2s infinite;
}

.preloader .scene svg {
    height: 100%;
    width: 100%;
}

@keyframes blob-left-anim {
    0% {
        transform: scale(1.0) translate(0, 0);
    }
    33% {
        transform: scale(0.55, 0.5) translate(80px, 0);
    }
    66% {
        transform: scale(0.8) translate(0, 0);
    }
    100% {
        transform: scale(1.0) translate(0, 0);
    }
}

@keyframes blob-right-anim {
    0% {
        transform: scale(1.0) translate(0, 0);
    }
    33% {
        transform: scale(0.55, 0.5) translate(-80px, 0);
    }
    66% {
        transform: scale(0.8) translate(0, 0);
    }
    100% {
        transform: scale(1.0) translate(0, 0);
    }
}

@keyframes scene {
    0% {
        transform: scale(1.0);
        opacity: 1;
    }
    20% {
        transform: scale(1.0);
        opacity: 0;
    }
    40% {
        transform: scale(0.5);
        opacity: 0;
    }
    66% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.0);
        opacity: 1;
    }
}