﻿:root {
    --start-screen--h-margin: 16px;
    --start-screen--s-margin: 10px;
}

.start-screen {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: auto;
    min-height: 100%;
    z-index: +10000;
    background-color: var(--seryy-700);
    color: var(--belyy);
    font-size: 16px;
    font-family: var(--font-family);
    line-height: 120%;
    background-image: url('/img/intro/pattern.png');
    background-size: 55% auto;
    background-position: top left;
    background-repeat: no-repeat;
}

    /*
    .start-screen .title::before {
        content: "";
        position: absolute;

        left: calc(-1 * var(--start-screen--h-margin));
        right: calc(-1 * var(--start-screen--h-margin));
        bottom: 0;
        top: calc(-1 * var(--pattern-offset, 96px));
        background-image: url('/img/intro/pattern.png');

        background-size: auto 100%;
        background-position: top left;
        background-repeat: no-repeat;
        z-index: -1;
        pointer-events: none;
    }
*/

    .start-screen .title {
        position: relative;
    }

    .start-screen .cd {
        margin-left: calc(-1 * var(--start-screen--h-margin));
        margin-right: calc(-1 * var(--start-screen--h-margin));
        overflow: hidden;
        /* Центрируем содержимое */
        display: flex;
        justify-content: center; /* по горизонтали */
        align-items: center; /* по вертикали (если нужно) */
    }


.start-screen-on > *:not(.start-screen) {
    display: none;
}

.start-screen-on .start-screen {
    display: flex;
    flex-direction: column;
    gap: 30px;
    overflow-x: clip;
}


.start-screen .container-fluid::after,
.start-screen .container-fluid::before {
    display: none !important;
}

.start-screen .header {
    position: relative;
    padding-top: var(--start-screen--s-margin);
}

    .start-screen .header .container-fluid {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding-right: var(--start-screen--h-margin);
        padding-left: var(--start-screen--h-margin);
        max-width: 1530px;
    }

    .start-screen .header .lsec {
        align-self: flex-end;
    }

    .start-screen .header img.logo {
        display: block;
        width: 116px;
    }

    .start-screen .header img.logo_org {
        display: block;
        width: 100%;
    }

    .start-screen .header img.logos_spaced_org {
        display: none;
        width: 100%;
    }

.start-screen .middle-content {
    flex: 1;
}

    .start-screen .middle-content .container-fluid {
        display: flex;
        flex-direction: column;
        padding-right: var(--start-screen--h-margin);
        padding-left: var(--start-screen--h-margin);
        max-width: 1530px;
        margin: 0 auto;
        /* gap: 30px; */
    }



.start-screen h1 {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 18px;
    line-height: 110%;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--belyy);
    margin-top: 15px;
    margin-bottom: 0;
    max-width: 300px;
}

    .start-screen h1.t {
        margin-top: 3px;
        font-size: 28px;
        line-height: 100%;
        /* margin-bottom: 30px; */
    }


.start-screen h2 {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 18px;
    line-height: 120%;
    color: var(--belyy);
    margin-top: 42px;
}

.btn-place {
    margin-top: 33px;
}

.start-screen h3 {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 20px;
    line-height: 100%;
    color: var(--belyy);
    margin-top: 26px;
    margin-bottom: 0;
}

.start-screen .place {
    font-family: var(--font-family);
    font-size: 14px;
    line-height: 100%;
    color: var(--belyy);
    margin-top: 5px;
}

.start-screen .logo_cd {
    display: block;
    width: 132%;
    max-width: none;
    margin: 10px auto;
}

.start-screen .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 4px;
    border-radius: 10px;
    padding: 12px 24px;
    background: var(--osnovnoy);
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 14px;
    line-height: 120%;
    text-align: center;
    color: var(--belyy);
}

.start-screen .footer {
    padding-top: var(--page--marge-vertical);
    padding-bottom: var(--page--marge-vertical);
    background-color: var(--seryy-700);
}

    .start-screen .footer .container-fluid {
        color: black;
        position: relative;
        font-size: 13px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding-left: var(--page-header--marge-horizontal);
        padding-right: var(--page-header--marge-horizontal);
        color: white;
        width: 100%;
        max-width: 1530px;
        margin: 0 auto;
    }

    .start-screen .footer a {
        color: white;
        text-decoration: none;
    }

        .start-screen .footer a:hover {
            color: white;
            text-decoration: underline;
        }

    .start-screen .footer .media-br {
        display: none;
    }

    .start-screen .footer .container-fluid .dev {
        margin-top: 6px;
    }

@media (min-width: 400px) {
    .start-screen .header .lsec {
        flex-grow: 0;
        width: 33%;
    }

    .start-screen .header img.logo {
        width: 100%;
    }
}

@media (min-width: 576px) {

    :root {
        --start-screen--h-margin: 19px;
        --start-screen--margin: 32px;
    }

    .start-screen .header .container-fluid {
        flex-direction: row-reverse;
        justify-content: space-between;
        gap: 5%;
        align-items: center;
    }

    .start-screen .header .lsec {
        width: auto;
    }

    .start-screen .header img.logo {
        width: 149px;
    }

    .start-screen .header img.logo_org {
        max-width: 331px;
    }

    .start-screen h1 {
        font-size: 24px;
        margin-top: 31px;
        max-width: 470px;
    }

        .start-screen h1.t {
            font-size: 46px;
            margin-top: 4px;
        }

    .start-screen h2 {
        font-size: 24px;
        margin-top: 66px;
    }

    .start-screen h3 {
        font-size: 32px;
        margin-top: 41px;
    }

    .start-screen .place {
        font-size: 20px;
        margin-top: 8px;
    }

    .start-screen .btn {
        display: inline-flex;
        padding: 12px 31px;
        font-size: 16px;
    }

    .start-screen .cd {
        margin-left: calc(7px + -1 * var(--start-screen--h-margin));
        margin-right: calc(7px + -1 * var(--start-screen--h-margin));
    }

    .start-screen .logo_cd {
        margin-top: 0;
        width: 100%;
    }

    .start-screen .footer .container-fluid {
        gap: 24px;
    }

        .start-screen .footer .container-fluid > div {
            text-align: center;
        }

    .start-screen .footer .media-br {
        display: block;
    }
}

@media (min-width:768px) {
    :root {
        --start-screen--h-margin: 29px;
        --start-screen--s-margin: 7px;
    }

    .start-screen .btn {
        padding: 12px 27px;
    }

    .start-screen h1 {
        font-size: 18px;
        line-height: 110%;
        margin-top: 23px;
    }

        .start-screen h1.t {
            font-size: 36px;
            margin-top: 3px;
        }

    .start-screen h2 {
        font-weight: 500;
        font-size: 18px;
        margin-top: 53px;
        width: 85%;
    }

    .start-screen h3 {
        font-size: 24px;
        margin-top: 31px;
    }

    .start-screen .place {
        font-size: 16px;
        margin-top: 6px;
    }

    .start-screen .middle-content .container-fluid {
        flex-direction: row;
        align-items: stretch;
        gap: 0;
        margin-right: 0;
        padding-right: 0;
        flex-wrap: nowrap;
    }

        .start-screen .middle-content .container-fluid > div {
            flex-basis: 50%;
        }

        .start-screen .middle-content .container-fluid .cd {
            margin-top: -28px;
            margin-left: -10%;
            flex-basis: 60%;
            display: flex;
            justify-content: start;
        }

    .start-screen .logo_cd {
        width: 120%;
        max-width: 530px;
    }

    .start-screen .footer .container-fluid {
        gap: 24px;
        flex-direction: row;
        align-items: end;
        justify-content: space-between;
    }

        .start-screen .footer .container-fluid > div {
            text-align: left;
        }
}

@media (min-width: 992px) {
    :root {
        --start-screen--h-margin: 37px;
        --start-screen--s-margin: 16px;
    }

    .start-screen .btn {
        padding: 17px 42px;
    }

    .start-screen .header img.logo {
        width: 178px;
    }

    .start-screen .header img.logo_org {
        max-width: 446px;
    }

    .start-screen h1 {
        font-size: 22px;
        margin-top: 41px;
    }

        .start-screen h1.t {
            font-size: 46px;
            margin-top: 4px;
        }

    .start-screen h2 {
        font-size: 24px;
        margin-top: 65px;
    }

    .btn-place {
        margin-top: 45px;
    }

    .start-screen .middle-content .container-fluid {
        align-items: center;
        margin: 0 auto;
    }

    .start-screen .title {
        padding-bottom: 16px;
    }

    .start-screen .logo_cd {
        max-width: 600px;
    }

    .start-screen h3 {
        font-size: 30px;
        margin-top: 42px;
    }

    .start-screen .place {
        font-size: 18px;
        margin-top: 7px;
    }

    .start-screen .middle-content .container-fluid .cd {
        margin-top: -10px;
    }

    .start-screen .btn {
        font-size: 18px;
    }
}

@media (min-width: 1300px) {
    :root {
        --start-screen--h-margin: 24px;
        --start-screen--s-margin: 43px;
    }

    .start-screen .header img.logo {
        width: 313px;
    }

    .start-screen .header img.logo_org {
        display: none;
    }

    .start-screen .header img.logos_spaced_org {
        display: block;
        max-width: 885px;
    }

    .start-screen h1 {
        font-size: 38px;
        margin-top: 62px;
        max-width: unset;
    }

        .start-screen h1.t {
            font-size: 78px;
            margin-top: 8px;
        }

    .start-screen h2 {
        font-size: 40px;
        margin-top: 113px;
        width: 80%;
    }

    .btn-place {
        margin-top: 50px;
    }

    .start-screen .logo_cd {
        max-width: 890px;
    }

    .start-screen h3 {
        font-size: 52px;
        margin-top: 76px;
    }

    .start-screen .title {
        padding-bottom: 32px;
    }

    .start-screen .place {
        font-size: 30px;
        margin-top: 14px;
    }

    .start-screen .middle-content .container-fluid .cd {
        margin-top: -35px
    }
}

@media (min-width: 1400px) {
    .start-screen .middle-content .container-fluid .cd {
        margin-top: -45px
    }
}

@media (min-width: 1500px) {
    .start-screen .middle-content .container-fluid .cd {
        margin-top: -55px
    }
}

@media (min-width: 1600px) {

    .start-screen .middle-content .container-fluid .cd {
        margin-top: -35px;
        margin-left: -7%;
        margin-right: -70px;
    }
}
