:root {
    --seconds-for-rotation: 4s; --seconds-for-flip: calc(var(--seconds-for-rotation)/2) --container-size:100px; }

.loader-container {
    position: fixed;
    background-color: var(--o-primary);
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.container {
    width: 50px;
    height: 50px;
    position: relative;
}

.semicircle-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    animation-duration: 4s;
    animation-name: disappear;
    animation-iteration-count: infinite
}

.logo {
    margin: 30px 0px;
}
.logo img {
    width:300px
}
.theme-dark .logo.light,
.theme-light .logo.dark {
    display: none;
}

.part2 {
    animation-name: disappear;
    animation-duration: 4s;
}

.semicircle {
    backface-visibility: hidden;
    position: absolute;
    z-index: 2;
    background-image: url(/v1.185/r/images/site/animations/loader_spritesheet.svg);
    background-position: 0 0;
}

.circle {
    background-image: url(/v1.185/r/images/site/animations/loader_spritesheet.svg);
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-position: 100px 0;
}

.horizontal {
    width: 50px;
    height: 25px;
}

.vertical {
    width: 25px;
    height: 50px;
}

.top {
    top: 0px;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
}

.red {
    /* background-color: red; */
    background-repeat: no-repeat;
}

.green {
    background-color: green
}

.blue {
    background-repeat: no-repeat;
}

.bottom.static.blue {
    animation-name: colorchangebottom;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    background-position: 0 0;
}

.top.static.red {
    animation-name: colorchange2;
    animation-duration: 4s;
    animation-iteration-count: infinite
}

.bottom.red.slidetotop {
    animation-duration: 2s, 4s;
    animation-name: slidetotop, colorchange2bottom;
    animation-iteration-count: infinite, infinite
}

.bottom.blue.slidetotop {
    animation-duration: 2s, 4s;
    animation-name: slidetotop, colorchangebottom;
    animation-iteration-count: infinite, infinite
}

.bottom {
    bottom: 0px;
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
    transform-origin: 100% 0%;
    /* background-position:100px -25px; */
    z-index: 3;
}

.left {
    left: 0px;
    border-top-left-radius: 100px;
    border-bottom-left-radius: 100px;
    z-index: 3;
    transform-origin: 100% 0%;
    animation-duration: 2s;
    animation-name: slidetoright;
    animation-iteration-count: infinite animation-delay: 0s
}

.left1 {
    backface-visibility: visible;
    z-index: 2
}

.part1 {
    animation-delay: 4s
}

.static {
    opacity: 1;
    z-index: -1;
    animation: none;
}

.right {
    right: 0px;
    border-top-right-radius: 100px;
    border-bottom-right-radius: 100px;
}

@keyframes colorchange {
    0% {
        
        background-position: 0 0;
        background-color: black;
    }

    5% {
        background-position: 0 0;
        background-color: black;
    }

    10% {
        background-position: 0 0;
        background-color: black;
    }

    15% {
        background-position: 0 0;
        background-color: black;
    }

    20% {
        background-position: 0 0;
        background-color: black;
    }

    25% {
        background-position: 0 0;
        background-color: black;
    }

    30% {
        background-position: 0 0;
        background-color: black;
    }

    35% {
        background-position: 0 0;
        background-color: black;
    }

    40% {
        background-position: 0 0;
        background-color: black;
    }

    45% {
        background-position: 0 0;
        background-color: black;
    }

    50% {
        background-position: 0px 0px;
        background-color: orangered;
    }

    55% {
        background-position: 0px 0px;
        background-color: orangered;
    }

    60% {
        background-position: 50px 0px;
        background-color: orangered;
    }

    65% {
        background-position: 50px 0px;
        background-color: orangered;
    }

    70% {
        background-position: 50px 0px;
        background-color: orangered;
    }

    75% {
        background-position: 50px 0px;
        background-color: orangered;
    }

    80% {
        background-position: 50px 0px;
        background-color: orangered;
    }

    85% {
        background-position: 50px 0px;
        background-color: orangered;
    }

    90% {
        background-position: 50px 0px;
        background-color: orangered;
    }

    95% {
        background-position: 50px 0px;
        background-color: orangered;
    }

    100% {
        background-position: 50px 0px;
        background-color: orangered;
    }
}

@keyframes colorchangebottom {
    0% {
        background-position: 0px -25px;
        background-color: black;
    }

    5% {
        background-position: 0px -25px;
        background-color: black;
    }

    10% {
        background-position: 0px -25px;
        background-color: black;
    }

    15% {
        background-position: 0px -25px;
        background-color: black;
    }

    20% {
        background-position: 0px -25px;
        background-color: black;
    }

    25% {
        background-position: 0px -25px;
        background-color: black;
    }

    30% {
        background-position: 0px -25px;
        background-color: black;
    }

    35% {
        background-position: 0px -25px;
        background-color: black;
    }

    40% {
        background-position: 0px -25px;
        background-color: black;
    }

    45% {
        background-position: 0px -25px;
        background-color: black;
    }

    50% {
        background-position: -50px -25px;
        background-color: orangered;
    }

    55% {
        background-position: -50px -25px;
        background-color: orangered;
    }

    60% {
        background-position: -50px -25px;
        background-color: orangered;
    }

    65% {
        background-position: -50px -25px;
        background-color: orangered;
    }

    70% {
        background-position: -50px -25px;
        background-color: orangered;
    }

    75% {
        background-position: -50px -25px;
        background-color: orangered;
    }

    80% {
        background-position: -50px -25px;
        background-color: orangered;
    }

    85% {
        background-position: -50px -25px;
        background-color: orangered;
    }

    90% {
        background-position: -50px -25px;
        background-color: orangered;
    }

    95% {
        background-position: -50px -25px;
        background-color: orangered;
    }

    100% {
        background-position: -50px -25px;
        background-color: orangered;
    }
}

@keyframes colorchange2 {
    0%, 5%, 10% {
        background-position: -100px 0px;
        background-color: #9fff04
    }

    15%, 20%, 25%, 30%, 35%, 40%, 45%, 50%, 55%, 60%, 70% {
        background-position: -150px 0px;
        background-color: lightgrey
    }

    75%, 80%, 85%, 90%, 95%, 100% {
        background-position: -100px 0px;
        background-color: #9fff04
    }
}

@keyframes colorchange2bottom {
    0%, 5%, 10% {
        background-position: -100px -25px;
        background-color: #9fff04
    }

    15%, 20%, 25%, 30%, 35%, 40%, 45%, 50%, 55%, 60%, 70% {
        background-position: -150px -25px;
        background-color: lightgrey
    }

    75%, 80%, 85%, 90%, 95%, 100% {
        background-position: -100px -25px;
        background-color: #9fff04
    }
}

@keyframes slidetotop {
    0% {
        transform: rotateX(0deg);
        filter: brightness(100%);
    }

    25% {
        filter: brightness(50%);
    }

    50% {
        transform: rotateX(180deg);
        filter: brightness(100%);
    }

    75% {
        filter: brightness(50%)
    }

    100% {
        transform: rotateX(360deg);
    }
}

@keyframes slidetoright {
    0% {
        transform: rotateY(0deg);
    }

    50% {
        transform: rotateY(180deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

@keyframes disappear {
    0%, 5%, 10%, 15%, 20% {
        transform: rotate(0deg)
    }

    25%, 30%, 35%, 40%, 45% {
        transform: rotate(90deg)
    }

    50%,55%, 60%, 65%, 70% {
        transform: rotate(180deg)
    }

    75%, 80%, 85%, 90%, 95% {
        transform: rotate(270deg)
    }

    100% {
        transform: rotate(360deg)
    }
}
