* {
    box-sizing: border-box;
}
.first_img {
    height: 535px;
    background-color: var(--dark-turquoise);
    display: flex;
    align-items: end;
    background-image: url("/img/ornam.svg");
    background-repeat: repeat-x;
    background-position: -35px 360px;
    margin-bottom: 0px;
}

.first_img img {
    height: clamp(280px, 46vw, 500px);
    margin-left: calc(50vw - 600px);
    margin-right: 14px;
    margin-bottom: 19px;
    transform: translateX(-100px);
    animation: ani_left 2s forwards;
}

@keyframes ani {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes ani_left {
    0% {
        transform: translateX(-100px);
    }
    100% {
        transform: translateX(0);
    }
}

.first_text {
    width: 48.3vw;
    font-size: 100px;
    line-height: 122px;
    text-transform: uppercase;
    color: var(--white);
}
.first_img-text {
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 100%;
}

.ft2 {
    margin-left: 15vw;
}

.backgr_blue {
    border-radius: 40px;
}

.padding_top50 {
    padding-top: 50px;
}

.faculty_block {
    border-bottom: rgba(154, 202, 219) 1px solid;
}

.faculty_block + .faculty_block {
    border-top: none;
}

.faculty_block-flex {
    padding: 25px 0;
}

.marg_top15 {
    margin-top: 15px;
}

.but1 {
    min-width: 30px;
}

.incognito_orn {
    background: url("/img/incognito_orn.svg") repeat-x,
        url("/img/incognito_orn.svg") 0px 70% repeat-x;
    height: 1600px;
    width: 1570px;
    position: absolute;
    z-index: -1;
    left: -200px;
    margin-top: 35px;
}

.incognito {
    background: url("/img/incognito_fon.svg") 10px 0 no-repeat;
}

.incognito_div {
    opacity: 0;
}

.bmi_gr {
    min-height: 60px;
    height: auto;
    padding: 5px 0;
}

.slide_button_graph {
    color: var(--turquoise);
}

.entrant_doc {
    width: 100%;
    height: auto;
    margin-top: 70px;
    /* display: grid;
    grid-template-columns: 22.3% 30px 22.3% 30px 22.3% 30px 22.3%; */
    display: flex;
    justify-content: space-between;
}

.kurs_flex-item {
    min-width: 188px;
}

.grafik-flex {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    margin-top: 75px;
    gap: 20px;
}

.grafik-flex-item {
    width: 50%;
    height: 510px;
}

.graph_spisok {
    width: 100%;
    height: 510px;
    background-color: var(--bg-turquoise);
    border-radius: 20px;
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 10px;
    padding-top: 10px;
    overflow-y: scroll;
}

.sbg-start {
    background-color: var(--bg-turquoise);
    color: var(--white);
}

.spisok_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 60px;
    color: var(--white);
    font-size: 16px;
    line-height: 23px;
    margin-top: 20px;
    border-bottom: solid 1px var(--white-opacity05);
}

.sp_i {
    height: auto;
    width: 100%;
    /*    border-bottom: solid 1px var(--white-opacity05);*/
    display: flex;
    align-items: center;
    padding-right: 10px;
}

.spi_bord-top {
    border-top: solid 1px var(--white-opacity05);
}

.spi-1 {
    line-height: 20px;
    text-transform: uppercase;
    padding-left: 30px;
    text-wrap: nowrap;
}

/*.spi-2 {
    display: flex;
    justify-content: center;
}*/

.spi-3 {
    display: flex;
    justify-content: start;
    width: 200%;
}

.dop {
    display: none;
}

/* #app_modal{
        display: flex;
        position: absolute;
        top:50px;
        left:50%;
        transform: translateX(-50%);
        z-index: 30;
    }*/

.close_graph {
    position: absolute;
    top: 20px;
    right: calc(20px + 2vw);
    z-index: 30;
}

.graph_spo {
    display: none;
    width: 50%;
    height: 100%;
    background-color: var(--bg-turquoise);
    border-radius: 20px;
    padding: 10px;
}

.graph_spo_item {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--white);
    text-align: center;
}

.graph_spo_item img {
    object-fit: cover;
    width: 100%;
}

.grafik-flex-item-spo {
    height: 300px;
}

.but_menu-item {
    background-color: var(--snow);
    padding-left: 10px;
    padding-right: 5px;
}

.bmi_start {
    background-color: var(--contrast-turquoise-opacity05);
}

.graph_item {
    height: auto;
    max-height: 420px;
}

.sect_bas-min svg {
    min-width: 15px;
}

.nd_close {
    min-width: 23px;
    margin-left: 98%;
}

.flfif60top div {
    height: auto;
    padding: 10px 0;
}

.sv {
    padding-left: 0;
    color: #fff;
}

.svz {
    color: #eff1f9;
    font-weight: 700;
}

.window_spec {
    padding-left: 0;
}

.window_spec ul li {
    padding-left: 35%;
}

.button_flex {
    justify-content: space-around;
}

.switch_drop_down ul li {
    cursor: pointer;
}

.h2_graph {
    text-align: center;
    padding-left: 0;
}

@media (hover: hover) and (pointer: fine) {
    .slide_button_graph:hover {
        cursor: pointer;
        transition: all 0.5s;
        background-color: var(--dark-gray);
        color: var(--white);
    }

    .entrant_doc-item:hover {
        cursor: pointer;
        transition: all 0.5s;
        background-color: var(--dark-gray);
        color: var(--white);
    }
}

@media only screen and (min-width: 1240px) {
    .sect_bas_text,
    .incognito {
        margin-left: 295px;
    }
}

@media only screen and (max-width: 1300px) {
    .first_text {
        font-size: 70px;
        line-height: 80px;
    }
}

@media only screen and (max-width: 1240px) {
    .first_img img {
        margin-left: 20px;
    }

    .kurs_flex {
        flex-wrap: wrap;
    }

    .kurs_flex-item {
        padding-bottom: 30px;
        border-left: var(--text-turquoise) solid 1px;
    }

    .kurs_flex-item-num {
        margin-bottom: 15px;
    }
}

@media only screen and (max-width: 1150px) {
    .ft2 {
        margin-left: 10vw;
    }

    .sp_i {
        height: 150px;
    }

    .graph_spisok {
        padding-top: 30px;
    }

    .window_spec ul li {
        padding-left: 20%;
    }
}

@media only screen and (max-width: 1050px) {
    .window_spec ul li {
        padding-left: 10%;
    }
}

@media only screen and (max-width: 920px) {
    .first_text {
        font-size: 45px;
    }
    .but_fak-flex {
        display: none;
    }

    .but_fak-no-flex {
        display: flex;
    }

    .graph_item {
        margin-top: 0;
        max-height: 510px;
    }

    .slide_button_graph {
        width: 25vw;
        margin-top: 60px;
    }

    .graph_spisok {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media only screen and (max-width: 820px) {
    .gfi-1 {
        width: 70%;
    }

    .gfi-2 {
        width: 30%;
    }

    .graph_spo {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .spisok_item {
        flex-direction: column;
        justify-content: center;
        height: auto;
    }
    .sp_i {
        width: 100%;
        text-align: center;
        justify-content: center;
        align-items: center;
        height: auto;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    /* .flfif60top div {
        height: 100px;
    } */

    .window_spec ul li {
        padding-left: 0;
    }
}

@media only screen and (max-width: 800px) {
    .first_img img {
        width: 45vw;
        object-fit: cover;
        margin-left: 10px;
    }

    .incognito {
        background: url("/img/incognito_fon.svg") 10px no-repeat;
        background-size: 100% auto;
    }

    .incognito_div img {
        object-fit: cover;
        width: 100%;
    }

    .h2_graph {
        padding-left: 0;
    }
}

@media only screen and (max-width: 600px) {
    .entrant_doc-item-flex {
        flex-direction: column;
    }
}

@media only screen and (max-width: 550px) {
    .first_img {
        flex-direction: column-reverse;
        align-items: center;
    }

    .first_text {
        font-size: 80px;
        width: 100%;
    }
    .first_img-text {
        height: auto;
        margin-bottom: 20px;
        margin-top: 20px;
    }

    .first_img img {
        width: 290px;
    }

    .ft2 {
        text-align: center;
        margin-left: 0;
    }

    .sect_bas_text-item {
        width: 70vw;
    }

    .grafik-flex {
        flex-direction: column;
    }

    .grafik-flex-item {
        width: 100%;
    }

    .spisok_item {
        flex-direction: row;
        justify-content: space-between;
    }

    .slide_button_graph {
        width: 30vw;
    }

    .graph_spo {
        flex-direction: row;
        width: 100%;
    }

    /* .flfif60top div {
        height: 140px;
    } */
}

@media only screen and (min-width: 480px) {
    .nd_close {
        transform-origin: top;
        transform: scale(1.5);
        margin-left: 95%;
    }
}

@media only screen and (max-width: 480px) {
    .first_text {
        font-size: 50px;
        line-height: 70px;
    }

    .but_fak-no-flex {
        flex-direction: column;
        align-items: center;
    }

    .slide_button_graph {
        width: 70vw;
        margin-top: 20px;
    }

    .grafik-flex {
        margin-top: 30px;
    }
}

@media only screen and (max-width: 460px) {
    .kurs_flex-item {
        min-width: 150px;
        font-size: 12px;
    }

    .kurs_flex-item-bold {
        font-size: 12px;
    }
}

@media only screen and (max-width: 380px) {
    .spisok_item {
        flex-direction: column;
        justify-content: center;
        border-bottom: solid 1px var(--white-opacity05);
    }

    .but_menu-item {
        font-size: 14px;
    }

    .modal_pvi {
        padding-left: 20px;
    }

    .sp_i {
        padding: 10px 0;

        border-bottom: none;
    }
}

@media only screen and (max-width: 350px) {
    .sect_bas_text-item {
        width: 90vw;
    }

    .graph_spo_item {
        font-size: 24px;
    }

    .h2_graph {
        font-size: 22px;
    }
}

@media only screen and (max-width: 340px) {
    .kurs_flex {
        justify-content: center;
    }
}

@media only screen and (max-width: 320px) {
    .grafik-flex-item-spo {
        height: 400px;
    }
}

@media (prefers-color-scheme: dark) {
    @media (hover: hover) and (pointer: fine) {
        .but_menu-item:hover {
            color: var(--white);
        }
    }

    .incognito_orn {
        background: url("/img/dark_incognito_orn.svg") repeat-x,
            url("/img/dark_incognito_orn.svg") 0px 70% repeat-x;
    }

    .incognito {
        background-image: url("/img/dark_incognito_fon.svg");
    }
}

@media only screen and (min-width: 1900px) {
    .first_img {
        height: calc(535px * var(--scale));
        background-position: calc(-35px * var(--scale))
            calc(360px * var(--scale));
        background-size: calc(200px * var(--scale)) calc(300px * var(--scale));
    }

    .first_img img {
        height: calc(500px * var(--scale));
        margin-left: calc(50vw - 600px * var(--scale));
    }

    .first_text {
        font-size: calc(100px * var(--scale));
        line-height: calc(122px * var(--scale));
    }

    .form_lern_flex-item img {
        width: calc(610px * var(--scale));
    }

    .sect_bas_text,
    .incognito {
        margin-left: calc(295px * var(--scale));
        margin-bottom: calc(60px * var(--scale));
        max-width: none;
        width: calc(916px * var(--scale));
    }

    .incognito {
        background-size: cover;
    }

    .incognito img {
        height: calc(562px * var(--scale));
    }

    .incognito_orn {
        transform-origin: top left;
        transform: scale(var(--scale));
    }

    .backgr_blue .container {
        max-width: calc(1240px * var(--scale));
    }

    .more {
        font-size: calc(18px * var(--scale));
        max-width: calc(452px * var(--scale));
        height: calc(60px * var(--scale));
    }

    .faculty_block-flex {
        max-width: none;
    }

    .window_spec_vyb ul li,
    .window_spec ul li,
    .spisok_item,
    .bmi_gr {
        font-size: calc(16px * var(--scale));
        line-height: calc(23px * var(--scale));
        padding-top: calc(5px * var(--scale));
        padding-bottom: calc(15px * var(--scale));
    }

    .ttt {
        padding-bottom: calc(20px * var(--scale));
    }

    .faculty_block-flex {
        padding: calc(25px * var(--scale)) 0;
    }

    .normat_doc {
        padding: calc(30px * var(--scale)) calc(21px * var(--scale)) 0
            calc(46px * var(--scale));
        max-width: calc(1040px * var(--scale));
    }

    .flfif60top {
        margin-left: 19% !important;
    }

    .flfif60top div {
        padding: calc(10px * var(--scale)) 0;
    }

    .nd_close {
        transform: scale(calc(2 * var(--scale)));
    }

    .slide_button_graph {
        height: calc(60px * var(--scale));
        font-size: calc(18px * var(--scale));
        line-height: calc(22px * var(--scale));
    }

    .kurs_flex-item {
        max-width: calc(205px * var(--scale));
        padding-left: calc(15px * var(--scale));
    }

    .kurs_flex-item-num {
        font-size: calc(18px * var(--scale));
        line-height: calc(22px * var(--scale));
        margin-bottom: calc(52px * var(--scale));
    }

    .kurs_flex-item-bold,
    .kurs_flex-item-text {
        font-size: calc(16px * var(--scale));
        line-height: calc(20px * var(--scale));
    }

    .padding_top50 {
        padding-top: calc(50px * var(--scale));
    }

    .big .entrant_doc-text {
        max-width: calc(262px * var(--scale));
    }

    .h2_block {
        margin: calc(15px * var(--scale)) auto 0 auto;
    }

    .marg_top15 {
        margin-top: calc(15px * var(--scale));
    }

    .button_flex {
        margin: calc(60px * var(--scale)) 0;
    }
}
