HEX
Server: nginx/1.18.0
System: Linux test-ipsremont 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
User: ips (1000)
PHP: 8.0.30
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/quadcode-jobs/resources/sass/components/_office-info.scss
.office-info {
    --office-info-section-template: 100%;
    --office-info-image-size: 37rem;
    --office-info-cell-size: 28rem;
    --office-info-align: center;

    @include breakpoint-up('lg') {
        --office-info-section-template: 1fr 1fr;
        --office-info-align: start start;
        --office-info-cell-size: 100%;
    }

    &__heading {
        padding-top: 80px;

        @include breakpoint-down('lg') {
            padding-top: 0;
            display: grid;
            grid-template-columns: 1fr 1fr;
        }

        @include breakpoint-down('sm') {
            .office-info__description {
                p {
                    text-align: left;
                }
            }
        }
    }
    &__section {
        padding-top: 120px;
        display: grid;
        width: 100%;
        grid-template-columns: var(--office-info-section-template);
        transition: .7s all ease;

        @include breakpoint-up('sm') {
            .js-info-descr {

                //animation: info_section_descr .7s;
                //animation-play-state: paused;
            }

            &.offices-list {
                min-height: 3650px;
            }

            .js-info-img {
                //animation: info_section_img .7s;
                //animation-play-state: paused;
                transition: .5s all ease;
            }

            &.right-aligned {
                //margin-top: 300px;

                .js-info-descr {

                    //animation: info_section_descr .7s;
                    //animation-play-state: paused;
                    //animation-delay: .7s;
                }

                .js-info-img {
                    //animation: info_section_descr .7s;
                    //animation-play-state: paused;
                }
            }

            &.animate-default {
                .js-info-descr, .js-info-img {
                    //animation-play-state: running;
                }
            }

            &.animate-right-next {
                //transform: translateX(50%);

                .js-info-img {
                    //opacity: 0;
                }
            }
        }

        @include breakpoint-down('lg') {
            grid-template-columns: 1fr 1fr;
            padding-top: 0;
        }

        @include breakpoint-down('sm') {
            grid-template-columns: 100%;
        }

        &--grid {
            grid-template-areas:
                'img1 desc1'
                'img1 desc2';

            @include breakpoint-down('lg') {
                grid-template-areas:
                'desc1 img1'
                'desc2 img1'
                '. img2';
            }

            @include breakpoint-down('sm') {
                grid-template-areas: 'desc1' 'img1' 'desc2' 'img2';
            }
        }
    }

    &__city {
        font-size: 50px;
        font-weight: 700;
        color: #2A3540;
        z-index: 2;
        text-align: center;

        @include breakpoint-down('lg') {
            display: none;
        }
    }

    &__description {
        width: 100%;
    }

    &__newdescription {
        position: relative;

        @media (min-width: 899px) {
            padding-top: 0 !important;
        }
    }

    &__newdescription-wrap {
        background: #fff;
        z-index: 1;
        width: 100%;

        @include breakpoint-down('lg') {
            padding-top: 0;
            padding-left: 0;
        }

        &__p {
            @media (min-width: 899px) {
                max-width: 325px;
            }

            @include breakpoint-down('lg') {
                max-width: 203px;
            }
        }
    }

    @media screen and (min-width: 899px) {
        .office-info__heading {
            box-sizing: content-box;

            .office-info__description {
                height: auto;
                padding: 0;
                margin-top: 30px;
            }
        }

        .js-inner-anim {
            transition: .7s all ease;
            width: 100%;

            &.animate {
                position: fixed;
                top: 0;
                opacity: 1;
            }

            &.animate-end {
                animation: hide_scroll_anim .7s ease;
            }
        }

        .office-info__city {
            position: relative;
            height: 55rem;

            span {
                position: absolute;
                top: 0;
                left: 100%;
                font-size: 55rem;
                line-height: 1;
                font-weight: 700;
                color: #2A3540;
                will-change: left;
                -webkit-transform: translateZ(0);
                -webkit-backface-visibility: hidden;
            }
        }

        .js-info-heading-img-1 {
            position: absolute;
            z-index: 2;
            top: 150vh;
            right: calc(44% + 116px);
            will-change: top;
            -webkit-transform: translateZ(0);
            -webkit-backface-visibility: hidden;

            img {
                max-width: 480px;
                z-index: 3;
            }
        }

        .js-info-heading-img-2 {
            //opacity: 0;
            z-index: 0;
            position: absolute;
            top: 100%;
            left: 50px;
            max-width: 53%;
            will-change: top;

            img {
                z-index: 1;
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }

        .js-info-heading-img-3 {
            width: 50%;
            max-width: 792px;
            z-index: 1;
            transition: transform .1s ease;
            will-change: transform;
            transform: translate3d(0, 0, 0);
        }

        .office-info__description {
            &--double1,
            &--double2 {
                height: auto;
                padding-top: 0;
                padding-bottom: 0;
            }

            &--double1 {
                align-self: flex-end;
            }
        }
    }

    &__description {
        display: grid;
        place-items: var(--office-info-align);
        height: var(--office-info-cell-size);
        padding: 5rem;
        padding-top: max(30rem, 20%);
        padding-bottom: max(7rem, 20%);
        font-size: 32px;

        @include breakpoint-down('lg') {
            display: block;
            height: auto;
            position: static;
            order: -1;
            padding: 171px 35px 70px 18.7%;
        }

        @include breakpoint-down('sm') {
            padding: 72px 27px;

            p {
                text-align: center;
            }
        }

        &--double1 {
            grid-area: desc1;

            @include breakpoint-up('lg')  {

                @include breakpoint-down('lg') {
                    padding-top: 0;
                }
            }
        }

        &--double2 {
            grid-area: desc2;

            @include breakpoint-up('lg') {

                @include breakpoint-down('lg') {
                    padding-top: 0;
                }
            }
        }

        &--right {
            justify-content: flex-end;
        }

        .is-big {
            font-weight: bold;
            font-size: 200px;

            @include breakpoint-down('lg') {
                font-size: 80px;
            }
        }

        .is-medium {
            font-weight: 600;
            font-size: var(--typo-headline2);

            @include breakpoint-down('lg') {
                font-size: 48px;
                line-height: 58px;
                font-weight: bold;
            }
        }

        .is-bold {
            font-size: 42px;
            line-height: 51px;
            font-weight: bold;

            @include breakpoint-down('lg') {
                font-size: 48px;
                line-height: 58px;
            }
        }

        [class*="is-"] {
            line-height: 1;
        }
    }

    &__description-wrap {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        text-align: right;
        -webkit-transform: translateZ(0);
        -webkit-backface-visibility: hidden;

        &_left {
            align-items: flex-start;
            text-align: left;
        }

        @include breakpoint-down('lg') {
            margin-left: 0;
            text-align: left;
            font-size: 20px;
            line-height: 26px;
            align-items: flex-start;
        }

        @include breakpoint-down('sm') {
            align-items: center;
        }
    }

    &__imageset {
        position: relative;
        flex-shrink: 0;

        &--grid-column1 {
            grid-area: img1;
            grid-row-start: 1;
            grid-row-end: 3;

            @include breakpoint-down('lg') {
                grid-area: img1;
                grid-row-start: 1;
                grid-row-end: 3;
            }

            @include breakpoint-down('sm') {
                grid-row-start: auto;
                grid-row-end: auto;
            }
        }

        &--grid-column2 {
            grid-area: img1;
            grid-row-start: 1;
            grid-row-end: 3;

            @include breakpoint-down('lg') {
                grid-area: img2;
                grid-row-start: auto;
                grid-row-end: auto;
            }
        }

        &--slider {
            min-height: calc(100vh - 120px);
            overflow: hidden;

            @include breakpoint-down('lg') {
                min-height: auto;
            }

            &__image {
                min-height: calc(100vh - 120px);
                overflow: hidden;

                @include breakpoint-down('lg') {
                    min-height: auto;
                }
            }
        }
    }

    &__image {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        -webkit-transform: translateZ(0);
        -webkit-backface-visibility: hidden;

        @include breakpoint-down('lg') {
            position: static;
        }

        &--1 {
            height: 75rem;
            top: 0;
        }

        &--2 {
            height: 75rem;
            top: 29%;
        }

        &--3 {
            height: 75rem;
            top: 59%;
        }

        &--scroll {
            overflow: hidden;

            img {
                position: relative;
                min-width: 150%;
                left: -50%;
            }
        }

        &--static {
            position: static;
            margin-bottom: 64px;
        }

        @include breakpoint-down('lg') {
            margin-bottom: 0;
        }

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    &__first {
        margin-left: 56%;
        top: 60rem;
        width: 26%;
        text-align: left;
        color: #000;

        @include breakpoint-down('lg') {
            margin-left: 0;
            width: auto;
            max-width: 270px;
        }
    }
}

.offices {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    font-weight: 600;
    font-size: 4rem;
    color: #BCC6CF;
    padding-right: 92px;
    will-change: top;
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;

    @include breakpoint-down('lg') {
        display: none;
    }

    p {
        text-align: right;
        position: relative;
        margin-bottom: 6rem;

        sup {
            top: -16px;
            font-size: 2rem;
            font-weight: normal;
            right: -24px;
            position: absolute;
            text-align: left;
        }
    }
}

.description-is-fixed {
    left: 33%;
    top: 50%;
}

.office-info__spacer {
    max-height: 0;
    box-sizing: border-box !important;
}

.js-info-heading-img-1 {
    @include breakpoint-down('lg') {
        max-height: 431px;
    }
}

@keyframes hide_scroll_anim {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(-200px);
        opacity: 0;
    }
}

@keyframes info_section_descr {
    0% {
        transform: translateX(-200px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes info_section_img {
    0% {
        transform: translateX(200px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes info_section_hide_right {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50vw);
    }
}

@keyframes info_section_show_right {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(-200px);
        opacity: 0;
    }
}