@media (max-width: 1160px) {
    html {
        overflow-x: hidden;
    }

    body {
        overflow-x: hidden !important;
        -webkit-overflow-x: hidden !important;

        position: relative;
    }

    header {
        display: none;
    }

    .nav-link {
        cursor: pointer;
    }

    #hello_video,#new_year_video{
        width: 100%;
        height: 300px;
        max-width: 600px;
    }

    #mobile_header {
        display: block;
        width: 100%;

        font-family: RobotoMedium;
        background-color: #001428 !important;

    }

    #offcanvasDarkNavbar {
        background-color: #083360 !important;
    }

    #offcanvasDarkNavbarLabel {
        font-family: MontserratExtraBold;
    }

    .tel_header_button {
        margin-top: 20px;
    }

    .navbar-brand {
        font-family: MontserratExtraBold;
        font-size: 14px !important;
    }

    #offcanvasDarkNavbar {
        width: 220px;
    }

    #main_banner_container {
        position: relative;
    }

    .slider {
        object-fit: cover;
        height: 100% !important;
    }

    #banner {
        height: auto;

        padding: 70px 30px 0px 30px;

        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    #banner_content_container {
        width: 100%;
        height: auto;
        min-height: auto;

        display: flex;
        justify-content: center;
        flex-wrap: wrap;

        margin-bottom: 30px;

        padding: 40px 35px 45px 35px;

        border-radius: 50px;
    }

    #banner_content_desktop_img_mobile {
        width: 100%;
        height: 50%;
        object-fit: cover;
        margin: 15px 0px 30px 0px;
        display: flex;
    }

    #banner_head {
        display: none;
        line-height: normal;
        font-size: 30px;
    }

    #banner_text_content {
        width: auto;
        height: auto;
        min-height: auto;
    }

    #banner_text {
        font-size: 14px;
    }

    #banner_content_desktop_img {
        display: none;
    }

    #bunner_more_button {
        margin-left: auto;
        margin-right: auto;
    }

    #fond_image {
        position: static;
        width: 360px;
    }

    .main_head {
        font-size: 30px;
        line-height: normal;
        margin-bottom: 25px;
    }

    .in_main_block {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    #about_content_container {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;

        padding: 10px 5px 0px 5px;

        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    #about_content_container>img {
        margin-left: 0px;
        margin-top: 0px;
        margin-bottom: 40px;
        width: 80%;
    }

    #about_text {
        font-size: 14px;
    }

    #project_in_numbers {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    #project_in_numbers>div {
        display: flex;
        flex-direction: column;
    }

    #project_in_numbers>div>div {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .category_number_value {
        line-height: normal;
        font-size: 95px;
    }

    .category_name_value {
        line-height: normal;
        font-size: 22px;
    }

    .teacher_card>img {
        width: 240px;
    }

    #roadmap_img {
        width: 100%;
    }

    #map_img {
        width: 100%;
    }

    #project_geography>p {
        line-height: normal;
        font-size: 14px;
    }

    .news_card {
        min-width: 340px;
        min-height: 150px;
        height: auto;

        width: 340px;
    }

    #directions_cards_container>a>img {
        margin-top: 10px;
        margin-bottom: 10px;
        width: 270px;
    }

    #partners_cards_container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #partners_cards_container>img {
        margin-top: 15px;
        margin-bottom: 15px;
    }

    #regions_cards {
        display: flex;
        flex-direction: column;
        align-items: center;

        margin-top: 0;
    }

    #regions_cards>img {
        margin-top: 15px;
        margin-bottom: 15px;
    }

    footer {
        padding-top: 70px;
    }

    #footer_content_container {
        display: flex;
        flex-direction: column;
        align-items: center;

        width: 100%;
    }

    #footer_content_container>div,
    #footer_content_container>img {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    #footer_content_container>img {
        max-width: 350px;
    }

    #contact_links {
        margin-left: 0;
        margin-right: 0;
    }

    #all_rights_reserved {
        text-align: center;
        padding-left: 10px;
        padding-right: 10px;
    }

    #tsu_logo {
        height: 100px !important;
    }

    #departament {
        height: 150px !important;
    }

    #design_logo {
        height: 170px !important;
    }

    #regions_cards>img {
        height: 150px;
    }

    #commands_videos>div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #commands_videos {
        width: 100%;
        flex-direction: column;
    }
    
    .command_video {
        margin: 10px;
        width: 100%;
        max-width: 540px;
        height: 300px;
    }

    #gazprom_logo {
        height: 100px;
    }

}

#commands_list>li {
    font-size: 18px;
}
