:root {
    --main-bg: #f9f9f9;
    --main-color: #1d1d1d;
    --grey-bg: #6e6e6e;

    --h1: 28px;
    --h2: 24px;
    --h3: 22px;
    --h4: 20px;
    --h5: 18px;

    --p: 14px;

    --small: 8px;
    --medium: 16px;
    --large: 32px;

}

@media (min-width: 768px) {
    :root {
        --h1: 34px;
        --h2: 30px;
        --h3: 26px;
        --h4: 22px;
        --h5: 18px;

        --p: 14px;

        --small: 8px;
        --medium: 16px;
        --large: 32px;
    }
}

@media (min-width: 1920px) {
    :root {
        --h1: 48px;
        --h2: 42px;
        --h3: 36px;
        --h4: 28px;
        --h5: 20px;

        --p: 16px;

        --small: 10px;
        --medium: 30px;
        --large: 50px;
    }
}


@media (min-width: 2560px) {
    :root {
        --h1: 60px;
        --h2: 48px;
        --h3: 32px;
        --h4: 26px;
        --h5: 20px;

        --p: 18px;

        --small: 30px;
        --medium: 50px;
        --large: 90px;
    }
}

*,
*::after,
*::before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1;
    margin: 0;
}

h1,
.h1 {
    font-size: var(--h1);
}

h2,
.h2 {
    font-size: var(--h2);
}

h3,
.h3 {
    font-size: var(--h3);
}

h4,
.h4 {
    font-size: var(--h4);
}

h5,
.h5 {
    font-size: var(--h5);
}

p {
    margin-top: 0;
    line-height: 1.6;
}

p:not(:last-child) {
    margin-bottom: 1rem;
}

.p1 {
    font-size: var(--p1);
}

.p2 {
    font-size: var(--p2);
}

.p3 {
    font-size: var(--p3);
}

.pt-small {
    padding-top: var(--small);
}

.pt-medium {
    padding-top: var(--medium);
}

.pt-large {
    padding-top: var(--large);
}

.pb-small {
    padding-bottom: var(--small);
}

.pb-medium {
    padding-bottom: var(--medium);
}

.pb-large {
    padding-bottom: var(--large);
}

.mt-small {
    margin-top: var(--small);
}

.mt-medium {
    margin-top: var(--medium);
}

.mt-large {
    margin-top: var(--large);
}

.mb-small {
    margin-bottom: var(--small);
}

.mb-medium {
    margin-bottom: var(--medium);
}

.mb-large {
    margin-bottom: var(--large);
}


html.lenis,
html.lenis body {
    height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
    overflow: clip;
}

.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch],
.lenis [data-lenis-prevent-vertical],
.lenis [data-lenis-prevent-horizontal] {
    overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
    pointer-events: none;
}

.lenis.lenis-autoToggle {
    transition-property: overflow;
    transition-duration: 1ms;
    transition-behavior: allow-discrete;
}



body {
    overflow-x: hidden;
    padding: 0;
    margin: 0;
    color: var(--main-color);
    background-color: #4d4d4d;

    font-family: system-ui, sans-serif;
    font-size: var(--p);
}

.main-container {
    perspective: 2000px;
    /* Слабая перспектива — объект кажется далеко для 3д */
    position: relative;
    height: 100vh;
}




/*      экран с логотипом     */
.loader {
    overflow: hidden;
    top: 0;
    left: 0;
    position: absolute;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    width: 100vw;
    height: 100vh;
    background: var(--main-bg);
}

.loader p {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: var(--p3);
    color: #4d4d4d;
    display: flex;
    align-items: center;
    white-space: nowrap;
}
.loader__container img {
    width: 100%;
    height: 100%;
}
.loader__container {
    position: relative;
    left: calc(50% - 150px);
    top: calc(50% - 80px);
    width: 300px;
    height: 161px;
}
@media (min-width: 768px) {
    .loader__container {
        position: relative;
        left: calc(50% - 300px);
        top: calc(50% - 162.5px);
        width: 600px;
        height: 325px;
    }
}

.rotation-panel {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    perspective-origin: left;
    transform: scale(0.05) rotateY(-45deg);
    opacity: 0;
    background-color: var(--grey-bg);
}

.rotation-panel img {
    object-fit: cover;
    width: 100%;
    height: 100vh;
}




.title {
    text-transform: uppercase;
}

.info-container {
    padding: 0px 0 0 var(--large);
    display: flex;
    flex-wrap: nowrap;
    height: 100vh;
    justify-content: space-between;
}

.info-container a {
    color: #fff;
}

.info-1 {
    padding: var(--large);
    max-width: 100vw;
}
@media (min-width: 768px) {
   .info-1 {
        padding: var(--large);
        max-width: 1000px;
    } 
}

.info-2 {
    margin-right: var(--large);
    display: flex;
    align-items: flex-end;
    flex-basis: content;
}

.info-3 {
    padding: var(--large);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}


.columns {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.columns .column {
    padding-right: var(--large);
    padding-top: var(--large);
    width: 50%;

    height: 100vh;
}

@media (min-height: 900px) {
    .columns .column {
        height: 50vh;
        padding-top: 0;
    }
}

.info-3 .columns .column {
    display: flex;
    align-items: end;
}


.horizontal-scroll {
    display: flex;
    background-color: #1d1d1d;


}

.panel {
    flex-shrink: 0;
    width: 100%;
    height: 100vh;
    /* vh обязательно */
    overflow: hidden;
}

.panel1 {
    background: transparent;
}

.panel2 {
    background: var(--grey-bg);
    color: #fff;
    width: 300vw;
}
@media (min-width: 768px) {
    .panel2 {
    width: calc(50vh * 4.6);
}
}

.panel3 {
    width: 120%;
    width: calc(50vh * 1.77 * 3);
    /* 3 столбика с видео */
    background-color: #4d4d4d;

}

.panel4 {
    width: 100vw;
    background-color: #fff;
    padding: 0px var(--large);

}
@media (min-width: 768px) {
    .panel4 {
        width: calc(100vh * 1);
        min-width: 900px;
    }
}

.panel5 {
    width: 100vw;
    background-color: #f0f0f0;
}
@media (min-width: 768px) {
    .panel5 {
        width: 30vw;
        min-width: 700px;
    }
}


.fc1 {
    width: 100vw;
}

.fc2 {
    width: 100vw;
}

.fc4 {
    width: 100w;
}
@media (min-width: 768px) {
.fc1 {

    width: 20vw;
}

.fc2 {
    width: 50vw;
}

.fc4 {
    width: 30vw;
}
}

.fc2 .fc_content {
    max-width: 100vw;
    padding-top: var(--large);
}
@media (min-width: 768px) {
    .fc2 .fc_content {
        max-width: 50vw;
        padding-left: var(--large);
        padding-top: 0;
    }
}

.video-container {
    display: flex;
    flex-wrap: wrap;
    align-content: stretch;
    height: 100%;
}

.video-container .quarter {
    width: 100%;
    height: 50vh;
    max-width: 33.3333333333%;

    display: flex;
}

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

.video-container .video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quarter p.text {
    color: #fff;
    margin: var(--large);
    max-width: 100vw;
}
@media (min-width: 768px) {
    .quarter p.text {
        max-width: 60%;
    }
}
.quarter p.text.bottom {
    align-self: end;
}


.link_earth {
    display: flex;
    align-items: center;
}

.link_earth a {
    margin-left: 8px;
}

.link_earth a svg {
    margin-right: 8px;
}

svg.icon {
    width: 4rem;
    height: 4rem;
    stroke: #fff;
}






.footer {
    width: 100%;
    height: 600px;
    background-color: #4d4d4d;
    color: #fff;

    margin: var(--large) 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: nowrap;
}


.footer .column {
    padding-right: var(--large);
}

.footer .column:not(:last-child) {
    padding-left: var(--large);
}

.footer a {
    color: #c9c9c9;
    font-weight: normal;
}

.footer svg {
    stroke: #fff;
    fill: currentColor;
}

.footer_logo {
    height: 60px;
    width: auto;
    margin-top: var(--large);
}
@media (min-width: 768px) {
    .footer_logo {
        height: 4vw;
        min-height: 60px;
        width: auto;
        margin-top: 0;
    }
}

.footer_content {
    display: flex;
    flex-direction: column;
}
@media (min-width: 768px) {
    .footer_content {
            flex-direction: row;
    }
}




.footer-company {
    margin: 0 var(--large);
}

.footer-socials {
    text-align: left;
    padding-left: var(--large);
    padding-top: var(--large);
}

.footer-socials svg {
    width: 3em;
    height: 3em;
}

.footer-socials a {
    color: #b9b9b9;
    margin-right: 20px;
    text-decoration: none;
}

.footer-socials a:hover {
    color: #fff;
}

@media (min-width: 768px) {
    .footer-socials {
        text-align: right;
        padding-left: 0;
        padding-top: 0;
    }
}