:root, body.night_theme {
    --ScrollSecondColor: #2A85BF !important;
}

.slider-object-main {
    background: linear-gradient(0deg, #006DB4, #6AA8D0);
    &::before {
        content: '';
        position: absolute;
        bottom: -3;
        /* bottom: 0; */
        left: 0;
        width: 100%;
        height: 99px;
        /* height: 55px; */
        background-image: url(/img/new_year/sneg_1.png);
        /* background-image: url(/img/new_year/sneg_2.png); */
        background-repeat: repeat-x;
    }
}

.period-object.active > .button-select {
    background: #2A85BF;
}

.custom-button-1 {
    background: #2A85BF;
    &:hover, &:active {
        background: #2A85BF !important;
        outline: 5px solid rgb(42 133 191 / 26%);
    }
    &.server-object:hover, &.server-object.active {
        background: #2A85BF !important;
        outline: 5px solid rgb(42 133 191 / 26%) !important;
    }
    &.load::after {
        display: none;
    }
}

a.link.night_theme, a.image-link.night_theme {
    color: #2A85BF !important;
}

a.link-header-a {
    color: #858C95;
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    position: relative;
    cursor: pointer;

    &:hover{
        color: #000;
    }

    &:active{
        color: #686868;
    }

    &::after {
        width: 0%;
        content: "";
        background-color: #2A85BF;
        pointer-events: none;
        position: absolute;
        height: 2px;
        bottom: -38px;
        transition: 0.3s;
    }

    &:hover:after{
        width: 100%;
    }
    &.mob-el::after{
        bottom: -5px; 
    }
}

li.category-object {
    &:hover, &.active {
        border-color: #2A85BF !important;
        background: rgb(42 133 191 / 6%) !important;
        color: #2A85BF !important;
    }
}

li.server-object {
    &:hover, &.active {
        border-color: #2A85BF !important;
        background: rgb(42 133 191 / 6%) !important;
        color: #2A85BF !important;
    }
}

input[type="range"] {
    background-image: linear-gradient(#2A85BF, #2A85BF);
}

input[type="range"]::-webkit-slider-thumb {
    border: 4px solid #2A85BF;
    background: #1a587e;
    box-shadow: 0 0 2px 0 #2A85BF;
}

.num.active, .num:hover {
    &> a {
        background: #2A85BF !important;
        border: 1px solid rgb(42 133 191 / 26%) !important;
    }
}

.absolute-image-auth, img[src="/img/loading-newyear.svg"] {
    filter: hue-rotate(186deg);
}

.avatar-user-img-wrapper, .swal2-confirm {
    background: #2A85BF !important;
}

.social-header-a, .vault_content, .custom-button-1 {
    position: relative;
    &::after {
        content: '';
        position: absolute;
        /* top: -10px; */
        /* width: 130px; */
        /* height: 20px; */
        background-image: url('/img/new_year/sneg_lezhit.png');
        background-size: cover;
        background-repeat: no-repeat;
    }
}

.social-header-a::after {
    top: -15px;
    right: -5px;
    width: 200px;
    height: 30px;
}

.vault_content::after {
    top: -30px;
    right: -5px;
    width: 300px;
    height: 55px;
}

.custom-button-1.shop-button, .custom-button-1.trigger_open_payment_money, .custom-button-1#buy_money {
    overflow: visible;
    &::after {
        top: -10px;
        width: 130px;
        height: 20px;
    }
}

.custom-button-1#buy_monets {
    overflow: visible;
    &::after {
        top: -15px;
        width: 170px;
        height: 30px;
    }
}

.custom-button-1#payment_button, .custom-button-1.auth-button {
    overflow: visible;
    &::after {
        top: -18px;
        right: 30px;
        width: 210px;
        height: 35px;
    }
}

.custom-button-1.open_auth {
    overflow: visible;
    &::after {
        top: -10px;
        width: 110px;
        height: 20px;
    }
}

.custom-button-1.wheel {
    overflow: visible;
    &::after {
        top: -25px;
        width: 275px;
        height: 50px;
    }
}

.ny.shariki {
    position: absolute;
    z-index: 1;
    top: -40px;
    left: 0;
    pointer-events: none;
    width: 100%;
}

.ny.snezhinki-wrapper {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    
    overflow: hidden;

    display: flex;
    flex-direction: column;
    gap: 75px;
    
    pointer-events: none;

    &>.snezhinka-wrapper {
        --offset: 0;
        margin: 0 auto;

        animation: snezhinka-float-animation 60s ease-in-out alternate infinite, snezhinka-tilt-animation 5s ease-in-out alternate infinite;
        animation-delay: var(--offset);

        transform-origin: center;

        &>img {
            max-width: 80px;
            animation: snezhinka-rotation-animation 8s ease-in-out infinite;
            animation-delay: var(--offset);

            transform-origin: center;
        }
    }
}

@keyframes snezhinka-float-animation {
    0% {
        transform: translateX(-50vw);
    }
    100% {
        transform: translateX(50vw);
    }
}

@keyframes snezhinka-tilt-animation {
    0% {
        rotate: 10deg;
    }
    100% {
        rotate: -10deg;
    }
}

@keyframes snezhinka-rotation-animation {
    0% {
        rotate: 0;
    }
    100% {
        rotate: 360deg;
    }
}

.ny.podarki-deda {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;

    &>.podarok-deda-wrapper {
        position: absolute;
        top: 0;
        
        animation: podarok-deda-float-animation 2s ease-in-out alternate infinite, podarok-deda-rotation-animation 5s ease-in-out alternate infinite;
        transform-origin: top left;

        &:nth-child(1) {
            left: 0;
            top: 50px;
            animation-delay: -1s;
        }
        &:nth-child(2) {
            right: 0;
            top: 450px;
        }
    }
}

@keyframes podarok-deda-float-animation {
    0% {
        transform: translateY(-10%);
    }
    100% {
        transform: translateY(10%);
    }
}

@keyframes podarok-deda-rotation-animation {
    0% {
        rotate: 15deg;
    }
    100% {
        rotate: 0deg;
    }
}

.ny {
    &.absolute-image-wheel-1 {
        left: -190px;
        top: -70px;
    }
    &.absolute-image-wheel-2 {
        right: -90px;
        top: -30px;
    }
}

.ny.sugrob-na-dne {
    position: absolute;
    z-index: -1;
    bottom: -60px;
    /* bottom: 0; */
    left: 0;
    width: 100%;
    height: 749px;
    background-image: url(/img/new_year/kucha_snega.png);
    transition-duration: .2s;

    &.night_theme {
        filter: brightness(0.1);
    }
}