/*HEADER*/
header {
    width: 100%;
    padding: 10px 10px 80px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #00000080;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    box-sizing: border-box;
    pointer-events: none;
}

.header_img {
    width: 90px;
    height: auto;
}

.header_logo {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    pointer-events: auto;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav_bar ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav_bar a {
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    color: #ffffff;
    pointer-events: auto;
}

.header-social {
    display: flex;
    align-items: center;
    gap: 16px;
    pointer-events: auto;
}

.burger-button {
    pointer-events: auto;
}


.header-social img {
    height: 24px;
    width: auto;
    display: block;
}

.logo_font_1 {
    font-family: "Montserrat", sans-serif;
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #ffffff;
    padding: 0;
    margin: 0;
}

.logo_font_2 {
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 3px;
    color: #ffffff;
    padding: 0;
    margin: 0;
}

/*ABOUT US*/
.about_us {
    padding: 200px 100px 40px 100px;
    height: 1000px;
    align-content: center;
    text-align: center;
}
.about_center{
    margin-bottom: 130px;
}

.Font_1 {
    font-family: "Montserrat", sans-serif;
    font-size: 60px;
    font-weight: 600;
    color: #ffffff;
    padding: 0 0 30px 0;
    margin: 0;
}

.Font_2 {
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 300;
    color: #ffffff;
    padding: 10px 0;
    margin: 0;
    line-height: 1.6;
}

.support_btn {
    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: #46d9ff;
    margin-top: 15px;
    padding: 12px 32px;
    background: none;
    border: 2px solid #46d9ff;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;

    cursor: pointer;
    transition:
            color 0.3s ease,
            background-color 0.3s ease,
            box-shadow 0.4s ease,
            transform 0.2s ease;
}

.support_btn:hover {
    color: #000013;
    background-color: #46d9ff;

    box-shadow: 0 0 15px #46d9ff;
    transform: scale(1.05);
}

/*PROJECTS*/
.projects {
    padding: 120px 100px 50px 100px; /* заменяет margin-top */
    text-align: center;
    background-color: #40415A;
}

.projects_inner {
    width: 80%;
    padding: 0 40px 40px 40px;
    border: 2px solid #737373;
    background-color: #00000057;
    border-radius: 20px;
    margin: 0 auto; /* оставить можно: это не внешний отступ секции */
}

.projects_title {
    font-family: "Montserrat", sans-serif;
    font-size: 40px;
    font-weight: 500;
    color: #ffffff;
    padding-bottom: 50px;
}

.projects_container {
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.project_link,
.projects_container > .project_card {
    flex: 1 1 0;
    max-width: 600px;
}

.project_link {
    display: flex;
    text-decoration: none;
    color: inherit;
}

.project_card {
    position: relative;
    width: 100%;
    aspect-ratio: 12 / 7;
    height: auto;
    border: 2px solid #737373;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background-color: #0f1220;
}

.project_img {
    width: 100%;
    height: 100%;
}

.project_overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;

    color: white;
    opacity: 0;
    transition: 0.3s ease;
}

.project_name {
    font-family: "Montserrat", sans-serif;
    font-size: 26px;
    font-weight: 600;
    padding-bottom: 6px;
    margin: 0;
}

.project_desc {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 300;
    padding: 0 12px;
    margin: 0;
    line-height: 1.4;
}

.project_card:hover .project_overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.76);
}
.aditional{
    margin-top: 40px;
}

/*FOOTER*/
footer {
    padding: 20px;
    background-color: #2a2b3b;
    border-top: 2px solid #737373;
    text-align: center;
}

footer p {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #ffffff;
    padding: 4px 0;
    margin: 0;
    line-height: 2;
}

/*BODY + BACKGROUND*/
body {
    margin: 0;
    padding: 0;
    position: relative;
}

/* body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-image: url("images/main_page/about_us_back.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

    z-index: -1;
} */


/* ============================
   PARALLAX BACKGROUND SYSTEM
   ============================ */

/* Контейнер всего параллакса */
.parallax {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

@supports (height: 100svh) {
    .parallax,
    .static-bg,
    .layer,
    .layer img {
        height: 100svh;
    }
}

/* Неподвижный фон */
.static-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Двигающиеся слои (каждый — 2 копии внутри) */
.layer {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;

    display: flex;
    width: max-content;
}

.layer img {
    width: auto;
    height: 100%;
    flex: 0 0 auto;
}

/* Плавное бесконечное движение */
@keyframes scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Скорости слоёв: чем ближе к переднему плану — тем быстрее движется */
.layer1  { animation: scroll 100s linear infinite; }
.layer2  { animation: scroll 70s linear infinite; }
.layer3  { animation: scroll 50s linear infinite; }
.layer4  { animation: scroll 22s linear infinite; }
.layer5  { animation: scroll 17s linear infinite; }

.layer51 { animation: scroll 16s linear infinite; }
.layer52 { animation: scroll 15s linear infinite; }
.layer53 { animation: scroll 14s linear infinite; }
.layer54 { animation: scroll 13s linear infinite; }
.layer55 { animation: scroll 12s linear infinite; }
.layer56 { animation: scroll 11s linear infinite; }
.layer57 { animation: scroll 9s linear infinite; }

@media (max-width: 900px), (prefers-reduced-motion: reduce) {
    .layer {
        animation: none;
        display: none;
    }
}

@media (max-width: 2559px) {
    .about_us {
        padding: 150px 75px 30px 75px;
        height: 750px;
    }

    .about_center {
        margin-bottom: 98px;
    }

    .Font_1 {
        font-size: 45px;
        padding: 0 0 23px 0;
    }

    .Font_2 {
        font-size: 15px;
        padding: 8px 0;
    }

    .support_btn {
        font-size: 16.5px;
        margin-top: 11px;
        padding: 9px 24px;
        border-radius: 5px;
    }

    .projects {
        padding: 90px 75px 38px 75px;
    }

    .projects_inner {
        padding: 0 30px 30px 30px;
        border-radius: 15px;
    }

    .projects_title {
        font-size: 30px;
        padding-bottom: 38px;
    }

    .projects_container {
        gap: 30px;
    }

    .project_link,
    .projects_container > .project_card {
        max-width: 450px;
    }

    .project_card {
        border-radius: 9px;
    }

    .project_name {
        font-size: 20px;
        padding-bottom: 5px;
    }

    .project_desc {
        font-size: 12px;
        padding: 0 9px;
    }

    .aditional {
        margin-top: 30px;
    }
}