.menu-side.scrolled{
    & .burger{
        background: var(--white);
        transition: background 1s;
        & span{
            color:var(--black);
            transition: color 1s;
        }
    }
}
.hero{
    padding-top: 35vh;
     & .hero-h1, p {
        z-index: 1;
        position: relative;
     }
    &::after{
        content: "";
        width: 80%;
        position: absolute;
        bottom: 0;
        left: 50%;
        height: 140px;
        background: var(--accent);
        border-radius: 100%;
        transform: translate(-50%, 100%);
        box-shadow: 0 0 140px 50px var(--accent);
    }
    & h1{
        color: var(--white);
    }
    & p{
        color:var(--white);
    }
}
.fon_left{
    position: absolute;
    height: 100%;
    left:0;
    top: 0;
    z-index: 0;
}
#lottie-animation{
    position: absolute;
    max-width: 800rem;
    max-height: 800rem;
    right: 220rem;
    top:50%;
    transform: translateY(-40%);
}

.dinamic {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
    & .dinamic-top{
        display: flex;
        justify-content: flex-end;
        & .dinamic-left {
            position: relative;
            min-width: 25%;
            width: 25%;
        }
        & .dinamic-right {
            width: 960rem;
            position: relative;
            & img{
                position: absolute;
                right: -180rem;
                top: 460rem;
                width:591rem;
                height: 633rem;
            }
            & p {
                margin-bottom: 20px;
            }
            & .dinamic-right-img{
                width: 100%;
                height: 600rem;
            }
        }
    }
}
.marquee-wrapper {
    width: calc(100% + 10px);
    position: absolute;
    top: 575rem;
    height: 500px;
    left: -10px;
    overflow: visible;
    padding-top: 100px;
    & .marquee-container {
        display: flex;
        padding:clamp(20px, 33rem, 33px) 0;
        align-items: center;
        overflow: hidden;
        width: 120%;
        background: var(--accent);
        position: relative;
        white-space: nowrap;
        transform: rotate(3deg);
        z-index:3;
        box-sizing: border-box;
        & svg{
            margin-right: 50px;
            width: auto;
            height: clamp(30px, 54rem, 54px);
        }
    }
    & .marquee-container-reverse {
        background: var(--black);
        transform: rotate(-3deg);
        z-index:2;
    }
    & .marquee-content {
        display: flex;
        align-items: center;
        animation: marquee 50s linear infinite;
    }
    & .marquee-container-reverse .marquee-content {
        animation: marquee-reverse 50s linear infinite;
        gap:0;
    }
}

/* Анимация для первой полосы */
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
/* Анимация для второй полосы */
@keyframes marquee-reverse {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

.abou_list{
    display: flex;
    gap:45rem;
    padding: 0;
    & span{
        color:var(--accent);
        padding-bottom: 21px;
        white-space: nowrap;
    }
    & li{
        list-style-type: none;
        display: flex;
        flex-direction:column;
        max-width: 25%;
        padding-left: 30rem;
        }
}
.swiper-post{
    background: var(--black);
    border-top: 1px solid #ffffff4f;
    & h2{
        color: var(--white);
    }
}
.servises{
    background: var(--black);
    color:var(--white);
    padding-top: 130rem;
    padding-bottom: 70rem;
        & .content{
            display: flex;
            justify-content: space-between;
        & .servises-left{
            max-width:550px;
            & svg{
                margin-top: 150px;
            }
        }
        & .servises-right{
            font-size:48px;
            max-width: 50%;
            & p{
                font-size:20px;
                padding-bottom: 32px;
                padding-left: 35px;
            }
            & ul{
                counter-reset: new-counter;
                margin-top: 0;
                margin-bottom: 0;
            }
            & li{
                list-style-type: none;
                counter-increment: new-counter;
                max-width: 100%;
                border-bottom: 2px solid var(--white);
                padding-top: 50px;
                padding-bottom: 50px;
            }
            & a{
                display: flex;
                flex-direction: row;
                justify-content: space-between;
                margin-left: auto;
                transition: color 1s, padding-left 2s;
            }
            & a:before{
                content: "0" counter(new-counter);
                position: absolute;
                margin-left: clamp(-45px, -70rem, -70px);
                font-size: 24px;
            }
            & li:hover a{
                padding-left: 40px;
                color:var(--accent);
            }
        }
    }
}
.loader-icon{
    position: absolute;
    top:150px;
    left: calc((100vw / 2) - 550rem);
    transform: translate(0, 0);
    transition: transform 2s;
    z-index: 2;
}
.hove-link-1 .loader-icon{
    transform: translate(200px, -50px);
}
.hove-link-2 .loader-icon{
    transform: translate(-120px, -50px);
}
.hove-link-3 .loader-icon{
    transform: translate(200px, 350px);
}
.hove-link-4 .loader-icon{
    transform: translate(-120px, 350px);
}
.servises-right-img{
    height: 100%;
    width: 320px;
    position: absolute;
    left:25%;
    & img{
        width: 320px;
        height: 440px;
        object-fit: cover;
    }

}
.img-servises-hove-1,
.img-servises-hove-2,
.img-servises-hove-3,
.img-servises-hove-4{
    z-index: -1;
    opacity: 0;
    transition: opacity 1s;
    position: absolute;
    top:42%;
    transform: translateY(-50%);
}

.hover.img-servises-hove-1,
.hover.img-servises-hove-2,
.hover.img-servises-hove-3,
.hover.img-servises-hove-4{
    z-index: 1;
    opacity: 1;
}
.dinamic-img-figuara{
    position: absolute;
    top:200rem;
    left:124rem;
    width: 519rem;
    height: 519rem;
}
.dinamic-img-flack{
    position: absolute;
    left: 474rem;
    top: 360rem;
    z-index: 4;
    width:140rem;
    animation: scale 4s infinite linear;
}
.map{
    background: var(--black);
    color:var(--white);
    padding-top: 70rem;
    border-top: 1px solid var(--white);
     & .content{
        & h2{
            margin: 0 0 10px;
        }
        & p{
            font-size: 20px;
    }
}
}
.map-svg{
    padding: 0rem 300rem 100rem 150rem;
    margin-top: -200rem;
    & svg g{
        transition: opacity 1s;
    }
}
.pricol{
    display: flex;
    flex-direction: row-reverse;
}
.city-block{
    display: none;
}
.map-contact{
    background: var(--white);
    padding: 41px 35px;
    display: flex;
    position: absolute;
    top: 257rem;
    flex-direction: column;
    align-items: center;
    color:var(--black);
    gap:40px;
    & p{
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding-bottom: 12px;
        & a{
            text-decoration: underline;
        }
    }

}
.fon_map_svg{
    position: absolute;
    top:50rem;
    left: 0;
    width: 80%;
    fill:transparent;
    stroke: #121212;
    z-index: -1;
    height: 100%;
}

@media(max-width:900px) {
    .fon_map_svg{
    top:-20%;
    left: 0;
    width: 100%;
    }
    .pricol button{
        display: none;
    }
    .map-svg{
        padding: 0rem;
        margin-right: -30%;
    }
    .city-block{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        & .city-one{
            width: 50%;
            display: flex;
            flex-direction: column;
            color: var(--accent);
            padding-bottom: 10px;
            & span{
                font-size: 15px;
                color:var(--white);
            }
            & p{
                font-size: 12px;
            }
        }
    }
    .map-contact {
        top:10px;
    }
    #svg-map g .city{
        display: none;
    }
    #lottie-animation{
        max-width: 2100rem;
        max-height: 2100rem;
        transform: translate(50%, -90%);
        min-width: 2100rem;
        top: 100%;
    }
    .servises {
        padding-top: 60px;
        overflow:visible ;
        & .content {
            flex-direction: column;
            & .servises-right {
                font-size: 30px;
                max-width: 100%;
                padding-bottom: 10px;
                & ul svg{
                    max-height:20px;
                }
                & .description-sercis{
                    padding-bottom:0;
                    padding-top: 30px;

                }
            }
            & .servises-right-img{
                display: none;
            }
            & .servises-left>svg{
                display: none;
            }
        }
    }
    .loader-icon{
        top: 0;
        left: 50%;
        transform: translate(-50%, -50%);
    }

.servises .content .servises-left svg {
                    margin-top: 0;
            }
    .map-contact{
        position: relative;
    }
    .map-svg{
        padding: 0;
    }
    .marquee-wrapper {
        top:40%;
        transform: translateY(-50%);
    }
    .fon_left{
        height: 2000rem;
    }
    .marquee-wrapper{
        height: 200px;
    }
    .dinamic {
        & .dinamic-top {
            & img{
                opacity: 0.4;
            }
            & .dinamic-left {
                min-width: 0;
                width:0;
            }
            & .dinamic-right{
                width: 100%;
            }
            & .dinamic-right-img{
                height: 150rem;

            }
        }
        & .dinamic-bottom{
            & div{
                text-align: center;
            }
            & p{
                display: none;
            }
            & .abou_list{
                    flex-direction: column;
                & li{
                    padding-bottom: 20px;
                    max-width: 100%;
                    & span{
                        padding-bottom: 10px;
                    }
                }
            }
        }
    } 
}