@font-face {
    font-family: 'Garet';
    src: url('fonts/Garet.ttf') format('truetype');
}

*:not(svg):not(use):not(symbol):not(g):not(path){
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: #FFFFFF;
}

#portfolio-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
} #portfolio-nav .portfolio-nav_top {
    display: flex;
    gap: 20px;
} #portfolio-nav .portfolio-nav_top .portfolio-nav_prev,
    #portfolio-nav .portfolio-nav_top .portfolio-nav_next {
    cursor: pointer;
} #portfolio-nav .portfolio-nav_top .portfolio-nav_prev.disabled,
    #portfolio-nav .portfolio-nav_top .portfolio-nav_next.disabled {
    cursor: auto;
} #portfolio-nav .portfolio-nav_top .portfolio-nav_prev.disabled svg,
    #portfolio-nav .portfolio-nav_top .portfolio-nav_next.disabled svg {
    color: rgba(36, 36, 36, 1);
} #portfolio-nav .portfolio-nav_top svg {
    color: rgba(159, 117, 235, 1);
    transition: 1s linear;
} #portfolio-nav .portfolio-nav_top svg:hover {
    color: rgba(128, 73, 230, 1);
} .portfolio-nav_count {
    display: flex;
    align-items: center;
    justify-content: center;
  
    font-family: 'Inter';
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    text-align: center;
    color: rgba(159, 117, 235, 1);
    cursor: pointer;
} #portfolio-nav #show-more {
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 0 44px;
    background: rgba(159, 117, 235, 1);
    border: 1px solid rgba(74, 74, 74, 1);
    border-radius: 8px;
    /* box-shadow: 0px 1px 4px 0px #FFFFFF; */
    cursor: pointer;
    font-family: 'Inter';
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    text-align: center;
    color: #FFFFFF;
    border: none;
    outline: none;
    transition: 1s linear;
} #portfolio-nav #show-more:hover {
    background: rgba(128, 73, 230, 1);
}

a{
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6{
    font-family: 'Garet', sans-serif;
    text-transform: uppercase;
}

p, li, span, a, button, input{
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    line-height: 22px;
}

ul{
    list-style: none;
}

/* html{
    scroll-behavior: smooth;
} */

body{
    background: #1C1C1C;
}

.container{
    max-width: 1300px;
}

.ellipse{
    position: absolute;
    background: rgba(36, 36, 36, 1);
    border-radius: 50%;
    z-index: -1;

    &.large{
        width: 1022px;
        height: 1022px;
    }

    &.medium{
        width: 646px;
        height: 646px;
    }

    &.small{
        width: 427px;
        height: 427px;
    }
}

.pick-hashtag{
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 100px;
    padding: 10px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.1s ease-out;
    user-select: none;
    line-height: 12px;

    &.active{
        background: rgba(159, 117, 235, 1);
    }

    &.nonclickable{
        cursor: default;
        pointer-events: none;
    }
}

main{
    overflow: hidden;
}

header{
    position: sticky;
    top: 0;
    margin-top: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 9999;

    & .container{
        padding: 18px 25px 18px 29px;
        border-radius: 15px;
        backdrop-filter: blur(15px);
        background: rgba(36, 36, 36, 1);
        width: 100%;
        display: flex;
        justify-content: space-between;

        & .header-left{
            display: flex;
            gap: 52px;

            & > a{
                display: flex;
            }

            & .mobile{
                display: none;
                flex-direction: column;
                justify-content: center;
                gap: 5px;
                cursor: pointer;

                &.active{
                    .bar:nth-child(1){
                        transform: rotate(-45deg) translate(-5px, 7px);
                    }

                    .bar:nth-child(2){
                        opacity: 0
                    }

                    .bar:nth-child(3){
                        transform: rotate(45deg) translate(-4px, -6px);
                    }
                }

                & .bar{
                    width: 40px;
                    height: 3px;
                    background: rgba(255, 255, 255, 1);
                    transition: .1s linear;
                }
            }

            & nav{
                display: flex;
                gap: 28px;

                & a{
                    font-size: 18px;
                    line-height: 24px;
                }
            }
        }

        & .mobile-box{
            display: none;
        }
    }

    & .tel{
        font-size: 20px;
        line-height: 24px;
        font-family: "Inter", sans-serif;
    }
}

.breadcrumbs{
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 40px;

    & .container{
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    & a{
        color: rgba(96, 96, 96, 1);
        font-family: "Inter", sans-serif;
        font-size: 20px;
    }
}

.case-start, .mission{
    display: flex;
    justify-content: center;
    padding-top: 115px;
    position: relative;

    & .container{
        display: flex;
        flex-direction: column;
        gap: 100px;
        max-width: 1150px;
        width: 100%;
    }

    & h1{
        width: 100%;
        font-size: 80px;
        text-align: center;
    }

    & .planet1, .planet2, .star, .ellipse, .tunnel{
        position: absolute;
        z-index: -1;
    }

    & .planet1{
        left: -640px;
        bottom: -200px;
    }

    & .planet2{
        right: -725px;
        rotate: 5deg;
        scale: .9;
        top: -50px;
    }

    & .star{
        left: 80px;
        top: 0;
    }

    & .ellipse{
        left: -221px;
        bottom: -250px;
    }

    & .tunnel{
        right: -472px;
    }

    & .case-start__mission{
        display: flex;
        gap: 58px;
        justify-content: center;
    }

    & .mission_imagebox{
        max-width: 644px;
        border-radius: 15px;

        & img{
            max-width: 644px;
            width: 100%;
            max-height: 435px;
            height: 100%;
            object-fit: cover;
            /* object-fit: none; */
            /* object-position: -350px; */
            border-radius: 15px;
        }
    }

    & .mission_content{
        max-width: 447px;
        display: flex;
        flex-direction: column;
        gap: 92px;

        & h2{
            font-size: 48px;
            line-height: 100%;
        }

        & p{
            font-size: 18px;
        }

        & .content_text{
            display: flex;
            flex-direction: column;
            gap: 40px;
        }

        & .content_hashtags{
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
        }

        & .content_command{
            display: flex;
            flex-direction: column;
            gap: 6px;

            & p{
                color: rgba(115, 115, 115, 1);
                font-style: italic;
                font-size: 18px;
                font-weight: 400;
                line-height: 22px;
                display: flex;
                gap: 5px;

                & span{
                    color: rgba(76, 76, 76, 1);
                }

                & .text-to-copy{
                    color: rgba(255, 255, 255, 1);
                    cursor: pointer;
                    position: relative;

                    &:after{
                        content: url("assets/images/copy.svg");
                        margin-left: 5px;
                        color: #5bff00;
                    }

                    &.done{
                        cursor: url("assets/images/check-solid-full.svg"), auto;
                    }
                }
            }
        }
    }
}

.mission{
    padding-top: 100px;
}

.positions{
    display: flex;
    justify-content: center;
    padding-top: 100px;
    position: relative;

    & .container.mini {
        grid-template-rows: repeat(2, minmax(310px, auto));
    }

    & .container{
        display: grid;
        grid-template-columns: repeat(4, minmax(317px, auto));
        grid-template-rows: repeat(3, minmax(310px, auto));
        gap: 11px;

        & .image-cont {
            width: 100%;
            height: 100%;
            border-radius: 15px;

            & img{
                max-width: 317px;
                width: 100%;
                max-height: 100%;
                height: 100%;
                border-radius: 15px;
                object-fit: cover;
            }
        } & .image-cont.big {
            grid-column: span 2;
            grid-row: span 2;
            width: 100%;
            height: 100%;

            & img{
                max-width: 644px;
                width: 100%;
                max-height: 100%;
                height: 100%;
            }
        }

        h2{
            font-size: 48px;
            max-width: 500px;
            line-height: 100%;
        }

        & > div{
            display: flex;
            flex-direction: column;
            gap: 40px;
        }

        p{
            max-width: 447px;
            font-size: 18px;
            line-height: 110%;
        }

        & .medium{
            grid-column: span 2;
        }

        & .positions__end-text{
            margin-left: 22px;
            align-content: center;
            max-width: 289px;
        }
    }

    & .star{
        position: absolute;
        bottom: -165px;
        right: 75px;
        z-index: -1;
        rotate: 305deg;
    }

    & .ellipse{
        left: -733px;
        bottom: -268px;
    }
}

.impulse-in-numbers{
    display: flex;
    justify-content: center;
    padding-top: 100px;
    position: relative;

    & .container{
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 40px;
        align-items: center;

        & h2{
            font-size: 48px;
        }

        & .impulse-in-numbers__content{
            display: grid;
            grid-template-columns: repeat(4, minmax(321px, 1fr));
            grid-template-rows: repeat(2, minmax(310px, 1fr));
            gap: 10px;

            & .content_block{
                display: flex;
                flex-direction: column;
                gap: 10px;
                position: relative;
                border-radius: 15px;
                background: rgba(159, 117, 235, 1);
                max-height: 310px;
                padding: 42px 27px 29px;

                & h3{
                    color: rgba(17, 17, 17, 1);
                    font-size: 200px;
                    line-height: 78%;
                }

                & p{
                    font-size: 24px;
                    font-weight: 500;
                    line-height: 29px;
                    letter-spacing: -1px;
                }

                & div{
                    position: relative;
                }

                & span{
                    padding: 11px 24px;
                    border-radius: 1000px;
                    background: rgba(255, 255, 255, 1);
                    color: rgba(17, 17, 17, 1);
                    font-size: 30px;
                    font-weight: 600;
                    line-height: 22px;
                    position: absolute;
                    letter-spacing: -1px;
                }

                .absolute_first{
                    top: -16px;
                    right: 25px;
                    transform: rotate(2.71deg);
                }

                .absolute_second{
                    transform: rotate(6.62deg);
                    bottom: 0;
                    right: 40px;
                }

                .absolute_third{
                    transform: rotate(-2.67deg);
                    right: 35px;
                    bottom: -4px;
                }

                .absolute_fourth{
                    bottom: -10px;
                    right: 185px;
                    transform: rotate(2.20deg);
                }

                .absolute_fifth{
                    top: 0;
                    right: -21px;
                    transform: rotate(2.71deg);
                }

                .absolute_arrow{
                    position: absolute;
                    width: 73px;
                    height: 73px;
                    top: 26px;
                    right: 26px;
                }

                .absolute_box{
                    position: absolute;
                    width: 121px;
                    height: 121px;
                    right: 186px;
                    top: 12px;
                }

                &.black{
                    background: rgba(17, 17, 17, 1);

                    & h3, p{
                        color: #FFFFFF;
                    }

                    & span{
                        background: rgba(159, 117, 235, 1);
                        color: rgba(255, 255, 255, 1);
                    }
                }

                &.white{
                    background: rgba(255, 255, 255, 1);

                    & p{
                        color: rgba(17, 17, 17, 1);
                    }

                    & span{
                        background: rgba(159, 117, 235, 1);
                        color: rgba(255, 255, 255, 1);
                    }
                }

                &.exclusive{
                    grid-column: span 2;
                    padding: 58px 41px;
                    gap: 30px;

                }
            }
        }
    }

    .ellipse{
        right: -357px;
        top: 85px;
    }

    .pen{
        position: absolute;
        right: -25px;
        top: 200px;
    }
}

.photos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 100px;
    gap: 40px;

    & h2 {
        font-size: 48px;
        text-align: center;
    }

    & .photos__content {
        width: 100%;

        & .swiper-slide {
            display: flex;
            justify-content: center;
            position: relative;
            /* max-width: 1129px; */
            width: 100%;
            max-height: 638px;
            height: 100%;

            & img {
                /* max-width: 1129px; */
                width: 100%;
                max-height: 638px;
                height: 100%;
                border-radius: 15px;
                object-fit: cover;
            }

            & span{
                position: absolute;
                bottom: 26px;
                left: 29px;
                color: rgba(115, 115, 115, 1);
                font-style: italic;
                font-size: 18px;
                font-weight: 400;
            }
        }

        & .swiper-pagination {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 30px;
            position: relative;
        }

        & .swiper-pagination-bullet {
            width: 8px;
            height: 8px;
            background: rgba(59, 59, 59, 1);
            opacity: 1;
            transition: .1s linear;
        }

        & .swiper-pagination-bullet-active {
            background: rgba(213, 213, 213, 1);
        }
    }
}

.other-projects{
    padding-top: 100px;
    display: flex;
    justify-content: center;

    & .container{
        display: flex;
        flex-direction: column;
        gap: 68px;
        width: 100%;

        & .other-projects__title{
            display: flex;
            flex-direction: column;
            gap: 40px;

            & h2{
                font-size: 48px;
                text-align: center;
            }

            & .other-projects__filtration{
                display: flex;
                gap: 20px;
                flex-wrap: wrap;
            }

            & .choose-buttons{
                display: flex;
                gap: 40px;

                & button{
                    padding: 21px 0;
                    width: 100%;
                    border: 1px solid rgba(74, 74, 74, 1);
                    border-radius: 15px;
                    background: rgba(36, 36, 36, 1);
                    font-size: 26px;
                    font-weight: 500;
                    line-height: 17px;
                    max-height: 60px;
                    transition: .1s linear;
                    cursor: pointer;
                    user-select: none;

                    &.active{
                        background: rgba(159, 117, 235, 1);
                        border-color: rgba(159, 117, 235, 1);
                    }

                    &:hover{
                        background: rgba(128, 73, 230, 1);
                        border-color: rgba(128, 73, 230, 1);
                    }
                }
            }
        }

        & .other-projects__content{
            display: flex;
            flex-direction: column;
            gap: 38px;

            & > a{
                display: flex;
                align-items: center;
                justify-content: flex-end;
                gap: 8px;
                color: rgba(132, 132, 132, 1);
                font-size: 18px;
                font-weight: 500;
                line-height: 18px;
            }

            & .other-projects__items{
                display: flex;
                flex-wrap: wrap;
                gap: 20px;

                & .other-projects__item{
                    width: calc(25% - 20px);
                    position: relative;
                    border-radius: 15px;
                    cursor: pointer;
                    transition: .1s linear;

                    &:hover{
                        scale: .9;
                    }

                    & img{
                        max-width: 310px;
                        width: 100%;
                        max-height: 310px;
                        height: 100%;
                        border-radius: 15px;
                        object-fit: cover;
                    }

                    & span{
                        position: absolute;
                        top: 0;
                        left: 0;
                        border-bottom-right-radius: 20px;
                        background: rgba(28, 28, 28, 1);
                        max-width: 90%;
                        /* max-width: 220px; */
                        /* height: 40px; */
                        width: 100%;
                        font-family: "Garet", sans-serif;
                        font-size: 18px;
                        font-weight: 400;
                        line-height: 22px;
                        text-transform: uppercase;
                        padding: 10px 19px;
                    }
                }

                &.all{
                    display: flex;

                    &.active{
                        display: none;
                    }
                }

                &.categories {
                    display: flex;
                    /* flex-direction: column; */
                    gap: 15px;

                    & .other-projects__item{
                        min-width: 290px;
                        min-height: 290px;
                        position: relative;
                        border: 1px solid rgba(255, 255, 255, 1);

                        &:hover{
                            & svg {
                                /* fill: rgba(159, 117, 235, 1); */
                                color: rgba(159, 117, 235, 1);
                            }

                            & span{
                                background: rgba(159, 117, 235, 1);
                            }
                        }

                        & svg {
                            position: absolute;
                            left: 20px;
                            bottom: 25px;
                            color: rgb(46.5865, 46.5865, 46.5865);
                            transition: .1s linear;

                            /* & .hovered{
                                color: rgb(46.5865, 46.5865, 46.5865);
                                transition: .1s linear;
                            } */
                        }

                        & span{
                            background: rgba(66, 65, 65, 1);
                            border-radius: 15px 0 20px 0;
                            transition: .1s linear;
                        }
                    }
                }
            }
        }
    }
}

@media (max-width: 480px) {
    .other-projects {
        & .container {
            & .other-projects__content {
                & .other-projects__items {
                    &.categories {
                        display: grid;
                        grid-template-columns: 1fr 1fr;

                        & .other-projects__item{
                            max-width: 250px;
                            min-width: 150px;
                            min-height: 180px;
                            position: relative;

                            & svg {
                                max-width: 100%;
                                width: 45% !important;
                                height: auto !important;
                                left: 15px;
                                bottom: -15px;
                            }
                        }
                    }
                }
            }
        }
    }
}

.contact{
    display: flex;
    padding-top: 50px;

    & img{
        width: 49%;
        height: auto;
        background: rgba(17, 17, 17, 1);
        object-fit: contain;
    }

    & .contact-form{
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 92px;
        background: #FFFFFF;
        padding: 133px 83px;
        width: 51%;

        & .contact-form__title{
            display: flex;
            flex-direction: column;
            gap: 20px;

            & h2{
                color: rgba(28, 28, 28, 1);
                font-size: 60px;
                text-align: center;
                line-height: 100%;
            }

            & p{
                color: rgba(28, 28, 28, 1);
                font-family: "Inter", sans-serif;
                font-size: 20px;
                text-align: center;
            }
        }

        & form{
            display: flex;
            flex-direction: column;
            gap: 62px;

            & div{
                display: grid;
                justify-items: center;
                grid-template-columns: repeat(2, minmax(255px, 1fr));
                grid-template-rows: repeat(4, minmax(28px, 1fr));
                column-gap: 30px;
                row-gap: 20px;

                & .big{
                    grid-column: span 2;
                }

                & label{
                    width: 100%;

                    & input{
                        border: none;
                        border-bottom: 1px solid rgba(164, 164, 164, 1);;
                        width: 100%;
                        padding: 4px 0;
                        color: rgba(164, 164, 164, 1);
                        font-family: "Montserrat", sans-serif;
                        font-size: 16px;
                        font-weight: 400;

                        &::placeholder{
                            color: rgba(164, 164, 164, 1);
                        }

                        &:focus{
                            outline: none;
                        }
                    }
                }

                & .pick-file{
                    color: rgba(159, 117, 235, 1);
                    font-family: "Montserrat", sans-serif;
                    font-size: 18px;
                    font-weight: 500;
                    line-height: 18px;
                    display: flex;
                    align-items: center;
                    cursor: pointer;
                    width: fit-content;

                    &:before{
                        content: url("images/pick-file.svg");
                        margin: 4px 6px 0 0;
                    }

                    & input{
                        display: none;
                    }
                }


            }

            & button{
                border-radius: 15px;
                background: rgba(159, 117, 235, 1);
                border: none;
                outline: none;
                padding: 23px 50px;
                width: 100%;
                color: rgba(255, 255, 255, 1);
                font-size: 26px;
                font-weight: 500;
                line-height: 32px;
                cursor: pointer;
                transition: .1s linear;

                &:hover{
                    background: rgba(128, 73, 230, 1);
                }
            }
        }
    }

}

footer.footer{
    display: flex;
    /* gap: 172px; */
    gap: 50px;
    padding: 107px 0 79px 88px;
    position: relative;
    overflow: hidden;

    & .footer__left-content{
        display: flex;
        flex-direction: column;
        justify-content: space-between;

        & > img{
            width: 138px;
        }

        & div{
            display: flex;
            gap: 20px;
        }
    }

    & .footer__right-content{
        display: flex;
        flex-direction: column;
        gap: 31px;

        & .menu-and-contacts{
            display: flex;
            gap: 98px;

            & div{
                display: flex;
                flex-direction: column;
                gap: 38px;

                & p{
                    font-size: 20px;
                    font-weight: 600;
                    line-height: 24px;
                }

                & ul{
                    display: flex;
                    flex-direction: column;

                    & li{
                        font-size: 16px;
                        font-weight: 400;

                        &.address{
                            margin-top: 27px;
                            max-width: 278px;
                        }
                    }
                }
            }
        }

        & .main-company-info{
            color: rgba(92, 92, 92, 1);
            font-family: "Inter", sans-serif;
            font-size: 14px;
            font-weight: 200;
            line-height: 22px;
        }
    }

    & .planet{
        position: absolute;
        top: -90px;
        right: -635px;
        transform: rotate(27deg);
        scale: .8;
        z-index: -1;
    }
}

@media screen and (max-width: 480px) {
    footer.footer {
        gap: 40px;
        padding: 107px 0 79px 40px;
    } footer.footer {
        & .footer__right-content {
            & .menu-and-contacts {
                display: flex;
                flex-direction: column;
                gap: 40px;

                & div {
                    gap: 15px;
                }
            }

            & .main-company-info {
                display: flex;
                flex-wrap: wrap;
                row-gap: 10px;
                column-gap: 30px;
                padding-right: 40px;

                & .break {
                    display: none;
                }
            }
        }
    }
}

.best-works{
    display: flex;
    justify-content: center;
    padding-top: 100px;
    position: relative;

    & .container{
        display: flex;
        flex-direction: column;
        gap: 20px;

        & h1{
            font-size: 160px;
            line-height: 95%;
        }

        & p{
            font-size: 18px;
            max-width: 941px;
        }
    }

    & img{
        position: absolute;
        top: -160px;
        right: -340px;
        z-index: -1;
    }
}

@media screen and (max-width: 1144px){
    .container{
        max-width: 1000px;
    }

    .case-start, .mission{
        & .container {
            max-width: 1000px;
        }

        & .mission_imagebox{
            max-width: 500px;
        }
    }

    .positions {
        & .container {
            display: grid;
            grid-template-columns: repeat(4, minmax(230px, 1fr));
            grid-template-rows: repeat(3, minmax(230px, 1fr));
            gap: 11px;
        }
    }

    .impulse-in-numbers {
        & .container {
            & .impulse-in-numbers__content {
                display: grid;
                grid-template-columns: repeat(4, minmax(230px, 1fr));
                grid-template-rows: repeat(2, minmax(220px, 1fr));
                gap: 10px;

                & .content_block {
                    & h3 {
                        font-size: 150px;
                        line-height: 78%;
                    }

                    &.exclusive{
                        padding: 50px 36px;
                    }
                }
            }
        }
    }

    .other-projects {
        & .container {
            & .other-projects__content {
                & .other-projects__items {
                    & .other-projects__item {
                        width: calc(33% - 20px);
                        position: relative;
                        border-radius: 15px;
                        transition: .1s linear;
                    }
                }
            }
        }
    }

    .contact {
        & .contact-form {
            padding: 60px 40px;
            gap: 50px;

            & .contact-form__title {
                & h2{
                    font-size: 48px;
                }
            }

            & form {
                & div {
                    display: grid;
                    justify-items: center;
                    grid-template-columns: repeat(2, minmax(200px, 1fr));
                    grid-template-rows: repeat(4, minmax(28px, 1fr));
                    column-gap: 30px;
                    row-gap: 20px;
                }

                & button{
                    padding: 16px 50px;
                    font-size: 22px;
                }
            }
        }
    }
}

@media screen and (max-width: 900px){
    .container{
        max-width: 800px;
    }

    header {
        & .container {
            flex-direction: column;
            & .header-left {
                width: 100%;
                justify-content: space-between;

                & nav{
                    display: none;
                }

                & .mobile {
                    display: flex;
                }
            }

            & .tel{
                display: none;
            }

            & .mobile-box{
                display: flex;
                flex-direction: column;
                width: 100%;
                top: 48px;
                left: 0;
                max-height: 0;
                overflow: hidden;
                position: absolute;
                transition: .2s ease-in;
                border-radius: 0 0 15px 15px;
                backdrop-filter: blur(15px);
                background: rgba(36, 36, 36, 1);

                &.active{
                    max-height: 500px;
                }

                & ul, & > a{
                    padding: 20px 0 0 20px;
                }

                & li{
                    font-size: 18px;
                    padding-top: 6px;
                }

                & > a{
                    padding-bottom: 20px;
                    font-size: 24px;
                }
            }
        }
    }

    .case-start, .mission {

        & .container {
            max-width: 800px;
            gap: 60px;
        }

        & .case-start__mission{
            gap: 25px;
        }

        & h1 {
            font-size: 68px;
        }

        & .mission_content {
            justify-content: center;
            & h2 {
                font-size: 30px;
                line-height: 100%;
            }

            & .content_text{
                gap: 20px;
            }
        }
    }

    .positions {
        & .container {
            display: grid;
            grid-template-columns: unset;
            grid-template-rows: unset;
            gap: 11px;
            justify-items: center;

            & p{
                text-align: center;
            }
        }
    }

    .impulse-in-numbers {
        & .container {
            & .impulse-in-numbers__content {
                display: grid;
                grid-template-columns: unset;
                grid-template-rows: unset;
                gap: 10px;

                & .content_block {
                    &.exclusive{
                        grid-column: unset;
                    }

                    & .absolute_third{
                        right: unset;
                        left: 90px;
                        bottom: 30px;
                    }

                    & .absolute_fifth{
                        left: 110px;
                        top: 50px;
                        right: unset;
                    }
                }
            }
        }
    }

    footer{
        padding: 60px 20px 60px 60px;
        gap: 80px;
    }
}

@media screen and (max-width: 764px){
    .container{
        max-width: 600px;
    }

    .case-start, .mission {

        & .container {
            max-width: 600px;
        }

        & h1 {
            font-size: 48px;
        }

        & .case-start__mission {
            gap: 25px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        & .mission_content {
            gap: 20px;
        }

        & .planet1{
            display: none;
        }
    }

    .other-projects {
        & .container {
            & .other-projects__title {
                & .other-projects__filtration {
                    display: flex;
                    gap: 12px;
                    flex-wrap: wrap;
                }

                & .choose-buttons {
                    display: flex;
                    gap: 20px;
                    flex-direction: column;
                }
            }

            & .other-projects__content {
                & .other-projects__items {
                    & .other-projects__item {
                        width: calc(50% - 20px);
                        position: relative;
                        border-radius: 15px;
                        transition: .1s linear;
                    }
                }
            }
        }
    }

    .contact {
        flex-direction: column;

        & img {
            display: none;
        }

        & .contact-form{
            width: 100%;
        }
    }

    .best-works {
        & .container {
            & h1 {
                font-size: 100px;
            }
        }

        & img {
            display: none;
        }
    }
}

@media screen and (max-width: 480px) {
    .case-start, .mission, .positions, .impulse-in-numbers, .other-projects {
        padding: 40px 15px 0;
        margin: 0;
    } .breadcrumbs {
        padding: 20px 15px 0;
    }

    .ellipse{
        display: none;
    }

    .pick-hashtag{
        font-size: 16px;
    }

    /* .container{
        max-width: 343px;
    } */

    .breadcrumbs {
        margin-top: 20px;

        & a{
            font-size: 14px;
        }
    }

    header{
        & img{
            width: 200px;
            height: 16px;
        }

        & .container{
            & .header-left{
                align-items: center;
            }

            & .mobile-box{
                top: 44px;
            }
        }
    }

    .case-start, .mission {
        padding-top: 40px;

        /* & .container {
            max-width: 343px;
        } */

        & h1{
            font-size: 32px;
        }

        & .case-start__mission{
            flex-direction: column-reverse;
        }

        & .mission_content {
            & .content_hashtags {
                row-gap: 10px;
            }

            & .content_command{
                display: none ;
            }
        }

        & .planet1{
            display: block;
        }

        & .planet2{
            display: none;
        }
    }

    .positions{
        padding-top: 40px;
        & .container {
            grid-template-columns: repeat(2, minmax(163px, 1fr));
            grid-template-rows: repeat(1, minmax(166px, 1fr));
            gap: 15px;

            h2 {
                font-size: 30px;
            }

            & > div{
                gap: 20px;
            }

            & p{
                grid-column: span 2;
                font-size: 16px;
                text-align: left;
            }

            & .image-cont {
                & img{
                    max-height: fit-content;
                }
            } & .image-cont.big{
                grid-column: unset;
                grid-row: unset;
                max-height: unset;
            }

            & .positions__end-text{
                grid-column: span 2;
                margin: 0;
                max-width: 100%;
            }

        }

        & .star{
            display: none;
        }
    }

    .impulse-in-numbers {
        padding-top: 40px;
        & .container {
            & h2 {
                font-size: 30px;
            }

            & .impulse-in-numbers__content{
                & .content_block{
                    padding: 20px 22px;

                    &.exclusive{
                        padding: 20px 22px;
                    }

                    & h3{
                        font-size: 100px;
                    }

                    & .absolute_box, .absolute_arrow{
                        display: none;
                    }

                    & p{
                        font-size: 16px;
                        line-height: 20px;
                    }

                    & span{
                        font-size: 20px;
                        padding: 7px 12px;
                        line-height: 14px;
                    }

                    .absolute_first {
                        top: 62px;
                        right: 28px;
                    }

                    .absolute_second {
                        bottom: -15px;
                        right: 11px;
                    }

                    & .absolute_third {
                        left: 53px;
                        bottom: 10px;
                        transform: rotate(2.20deg);
                    }

                    .absolute_fourth {
                        bottom: 8px;
                        right: 40px;
                    }

                    .absolute_fifth {
                        top: 40px;
                        left: 100px;
                    }

                    &:nth-child(5){
                        grid-area: 3;
                    }
                }
            }
        }

        & .pen{
            display: none;
        }
    }

    .photos {
        padding: 40px 15px 0;
        /* padding-top: 40px; */
        & h2 {
            font-size: 30px;
            text-align: center;
        }

        & .photos__content {
            & .swiper-pagination {
                gap: 10px;
            }

            & .swiper-slide{
                max-height: 300px;
                height: 100%;
                & span{
                    font-size: 12px;
                    bottom: 10px;
                    left: 15px;
                }
                
                & img{
                    width: 100%;
                    max-height: 300px;
                    height: 100%;
                    min-height: 300px;
                }
            }
        }
    }

    .other-projects {
        padding-top: 40px;
        & .container {
            gap: 40px;
            & .other-projects__title {
                & h2 {
                    font-size: 30px;
                    text-align: center;
                }
            }

            & .other-projects__content {
                & .other-projects__items {
                    & .other-projects__item {
                        /* max-width: 310px; */
                        max-width: 47%;
                        width: 100%;
                        height: fit-content !important;
                        position: relative;
                        border-radius: 15px;
                        transition: .1s linear;

                        & span {
                            font-size: 15px;
                            line-height: 18px;
                        }
                    }
                }
            }
        }
    }

    .contact {
        & .contact-form {
            padding: 40px 30px;
            gap: 40px;
            & .contact-form__title {
                & h2 {
                    font-size: 30px;
                }
            }

            & form {
                & div {
                    grid-template-columns: unset;
                    grid-template-rows: unset;

                    & .big{
                        grid-column: unset;
                    }
                }
            }
        }
    }

    footer {
        padding: 30px;
        gap: 40px;
        flex-direction: column;

        & .footer__left-content{
            gap: 20px;
        }

        & .footer__right-content {
            & .menu-and-contacts {
                display: flex;
                gap: 20px;

                & div {
                    gap: 20px;
                    & ul {
                        & li {
                            font-size: 14px;
                            font-weight: 400;
                        }
                    }

                    & p{
                        font-size: 18px;
                    }
                }
            }
        }
    }

    .best-works {
        padding: 15px;
        & .container {
            & h1 {
                font-size: 64px;
            }

            & p{
                font-size: 14px;
            }
        }
    }
}

#footer .footer__right-content {
    margin-left: 100px;
} #footer .footer__right-content:last-of-type {
    margin-left: 30px;
} #footer .main-company-info {
    display: flex;
    flex-direction: column;
    margin-left: 193px;
} #footer .main-company-info span {
    color: #5C5C5C;
} #footer .footer__right-content:last-of-type .main-company-info {
    margin-left: 0;
} #footer .main-company-info .break {
    display: none;
} @media (max-width: 1240px) {
    footer.footer#footer {
        flex-direction: column;
        align-items: start;

        & .main-company-info {
            margin-left: 0;
        }

        & .footer__right-content {
            margin-left: 0;

            & .menu-and-contacts {
                flex-direction: column;
                gap: 60px;

                & div {
                    gap: 10px;
                }
            }
        }
    }
}

.copyright {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0 15px;
    margin-bottom: 30px;
} .copyright p,
  .copyright p a {
    font-family: 'Inter';
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
    color: var(--white);
    transition: 0.3s;
} .copyright p a:hover {
    color: var(--primary2);
}