* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

li a {
    color: var(--white);
    transition: all 0.4s;
}

@font-face {
    font-family: "Commissioner";
    src: url(/fonts/Commissioner-Regular.woff2);
}

html,
body {
    position: relative;
    width: 100vw;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    /*background-image: url('/img/logo_2023.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: contain;*/
    scrollbar-color: var(--dark-gray) var(--dark-turquoise);
}

body {
    overflow-x: hidden;
    background-color: var(--highlight);
    font-family: "Commissioner", sans-serif;
}

html {
    scroll-behavior: smooth;
}

.scale-up-ver-top {
    animation: scale-up-ver-top 0.4s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}

@keyframes scale-up-ver-top {
    0% {
        transform: scaleY(0.4);
        transform-origin: 100% 0;
    }
    100% {
        transform: scaleY(1);
        transform-origin: 100% 0;
    }
}

.scale-down-ver-top {
    animation: scale-down-ver-top 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes scale-down-ver-top {
    0% {
        transform: scaleY(1);
        transform-origin: 100% 0;
    }
    100% {
        transform: scaleY(0);
        transform-origin: 100% 0;
    }
}

.global {
    width: 100vw;
    height: auto;
    transition: 0.6s;
    position: relative;
    overflow-x: hidden;
}

h2 {
    font-size: 36px;
    color: var(--text-turquoise);
    line-height: 44px;
    font-weight: 500;
    text-transform: uppercase;
}

.h2_marg60 {
    padding: 60px 0;
    text-align: center;
    padding-left: 0px;
    text-indent: 0;
    border-bottom: var(--turquoise-opacity05) 1px solid;
}

.marg_bot100 {
    margin-bottom: 100px;
}

.sect_bas {
    width: 100%;
    height: auto;
    padding-bottom: 133px;
    border-bottom: var(--turquoise-opacity05) 1px solid;
}

.marg_top60 {
    margin-top: 60px;
}

.no_border_bottom {
    border-style: none;
}

.sect_bas-min {
    display: flex;
    align-items: center;
    gap: 10px;
    height: auto;
}

.marg_min {
    margin-top: 13px;
}

.min_text {
    font-size: 12px;
    color: var(--turquoise);
    text-transform: uppercase;
}

h3 {
    color: var(--text-turquoise);
    margin-top: 20px;
}

.entrant_doc_stud {
    display: flex;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
    column-gap: 10px;
    gap: 30px;
}

.radius_bot_left,
.radius_bot_left a {
    border-bottom-left-radius: 20px;
}

.radius_top_left,
.radius_top_left a {
    border-top-left-radius: 20px;
}

.radius_bot_right,
.radius_bot_right a {
    border-bottom-right-radius: 20px;
}

.radius_top_right,
.radius_top_right a {
    border-top-right-radius: 20px;
}

.marg_bot20 {
    margin-bottom: 20px;
}

.entrant_doc-text {
    line-height: 20px;
    max-width: 262px;

    padding-right: 5px;
    text-transform: uppercase;
    color: var(--white);
    opacity: 0.8;
    margin-bottom: 25px;
    margin-left: 17px;
}

.em_stud {
    display: block;
    width: 20.5vw;
    max-width: 295px;
    height: 20.5vw;
    max-height: 296px;
    margin-bottom: 20px;
}

.marg_top60 svg {
    margin-left: 10px;
}

.background_ornament {
    position: absolute;
    top: 15%;
    left: 0;
    width: 100vw;
    height: 300px;
    background: url("/img/orn_2.svg") repeat-x;
    z-index: -1;
}

.entrant_doc-item a {
    width: 20.5vw;
    max-width: 295px;
    height: 20.5vw;
    max-height: 296px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: var(--bg-turquoise);
    transition: all 0.5s;
    margin-bottom: 20px;
}

.entrant_doc-item svg {
    margin-left: 78%;
    margin-top: 14px;
}

.entrant_directions_bakalavr {
    background-color: var(--bg-turquoise);
    margin-top: 20px;
}

.but1 {
    width: 30px;
    min-width: 30px;
    height: 30px;
    position: relative;
}
.but1 span {
    position: absolute;
    transition: 300ms;
    background: var(--white);
}

.but_color span {
    background: var(--turquoise);
}

.but1 span:first-child {
    top: 25%;
    bottom: 25%;
    width: 10%;
    left: 45%;
}
.but1 span:last-child {
    left: 25%;
    right: 25%;
    height: 10%;
    top: 45%;
}

.rotat {
    transform: rotate(90deg);
}

.checkmark {
    transition: all 0.6s;
}

.checkmark_trans {
    transform: rotate(180deg);
}

.faculty_block {
    width: 100%;
    height: auto;
    min-height: 80px;
    color: var(--white);
    border-bottom: var(--white-opacity05) 1px solid;
    cursor: pointer;
    padding: 20px 20px;
}

.faculty_block-flex {
    width: 100%;
    height: 100%;
    min-height: 60px;
    color: var(--white);

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ttt {
    display: none;
}

.window_spec-block {
    display: block;
    margin-left: 10%;
}

.text1 {
    font-size: 20px;
    text-align: left;
    color: var(--text-turquoise-opacity08);
    margin-top: 30px;
    line-height: 1.5;
}

.emblema,
.entrant_doc-item a {
    width: clamp(240px, 20.5vw, 295px);
    height: clamp(240px, 20.5vw, 295px);
    margin: 0 auto 30px;
}

.emblema {
    width: clamp(248px, 21.18vw, 305px);
    height: clamp(260px, 21.18vw, 305px);
    background: url("/img/emblema.svg?2") 100% no-repeat;
    background-size: contain;
    background-position: center;
}

.faculty_block-number {
    padding-left: 15px;
    width: 85%;
}

.marg_top60 {
    margin-top: 60px;
}

@media (hover: hover) and (pointer: fine) {
    .entrant_doc-item a:hover {
        background-color: var(--dark-gray);
        transition: all 0.5s;
    }

    li a:hover {
        color: var(--dark-gray);
        transition: all 0.4s;
    }

    .mt_hov:hover {
        color: var(--dark-gray);
        transition: all 0.5s;
    }
}

@media only screen and (max-width: 990px) {
    .emblema {
        margin: 0;
    }
}

@media only screen and (max-width: 920px) {
    .entrant_doc-text {
        font-size: 14px;
    }
}

@media only screen and (max-width: 820px) {
    .entrant_doc-text {
        font-size: 16px;
        width: 200px;
        /* width: 30vw;
        height: 30vw;
        min-height: 240px;
        min-width: 240px; */
    }

    .entrant_doc-item a,
    .em_stud {
        width: 30vw;
        height: 31vw;
        min-height: 248px;
        min-width: 240px;
    }

    .emblema {
        width: clamp(248px, 21.18vw, 305px);
        height: clamp(260px, 21.18vw, 305px);
    }
}

@media only screen and (max-width: 550px) {
    .entrant_doc_stud {
        flex-direction: column;
        align-items: center;
    }

    h2 {
        font-size: 30px;
    }
}

@media only screen and (max-width: 400px) {
    .faculty_block {
        padding: 10px;
    }

    .faculty_block-number,
    .faculty_block-text,
    .ttt {
        font-size: 14px;
    }

    .text1 {
        font-size: 16px;
    }

    h2 {
        font-size: 26px;
        line-height: 1.2;
    }
}

@media only screen and (min-width: 1900px) {
    h3 {
        font-size: calc(1.17em * var(--scale));
        margin-top: calc(20px * var(--scale));
    }

    .text1 {
        font-size: calc(20px * var(--scale));
        margin-top: calc(30px * var(--scale));
    }

    .entrant_directions_bakalavr {
        margin-top: calc(20px * var(--scale));
    }
}

@media (prefers-color-scheme: dark) {
    .emblema {
        background-image: url("/img/emblema_white.svg");
    }

    .background_ornament {
        background: url("/img/dark_orn_2.svg") repeat-x;
    }
}
