.main_courses_cl {

    width: 100vw;
    height: auto;

    padding-top: 15vh;
    padding-left: 10vw;
    padding-right: 10vw;
    padding-bottom: 20vh;

}

/* =============== ФАЙЛОВАЯ СИСТЕМА =============== */

.course_file_system_cl {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
}

.course_file_system_cl {
    font-size: 2vh;
    color: var(--gray_text_color);
    gap: 0.5vw;
}

/* =============== ТИТУЛНЫЙ ТЕКСТ =============== */

.course_title_text_cl {
    width: calc(100vw - 20vw);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5vh;
}

.course_title_text_cl>span {
    font-size: 6vh;
    font-weight: 700;
    color: white;
    text-align: center;
    text-shadow: 0 0 2px white, 0 0 4px white;
}

.cou_anim_1_cl>svg {
    position: absolute;
    left: 10vw;
    width: 7vh;
    height: 7vh;
    color: #554b19;
    transform: rotateZ(0deg);
    animation: cou_anim_1 5s infinite ease-in-out;
}




@keyframes cou_anim_1 {
    0% {
        transform: rotateZ(0deg);
    }

    50% {
        transform: rotateZ(180deg);
    }

    100% {
        transform: rotateZ(0deg);
    }
}

.cou_anim_2_cl>svg {
    position: absolute;
    right: 47vw;
    width: 6vh;
    height: 6vh;
    color: #4169e1;
    transform: translateY(5vh);
    animation: cou_anim_2 3s infinite ease-in-out;
}

@keyframes cou_anim_2 {
    0% {
        transform: translateY(5vh);
    }

    50% {
        transform: translateY(7vh);
    }

    100% {
        transform: translateY(5vh);
    }
}

.cou_anim_3_cl>svg {
    position: absolute;
    right: 10vw;
    width: 7vh;
    height: 7vh;
    color: #2a418e;
    transform: rotateZ(0deg);
    animation: cou_anim_3 5s infinite ease-in-out;
}

@keyframes cou_anim_3 {
    0% {
        transform: rotateZ(0deg);
    }

    50% {
        transform: rotateZ(-180deg);
    }

    100% {
        transform: rotateZ(0deg);
    }
}

/* =============== ПАНЕЛЬ УПРАВЛЕНИЯ =============== */

.course_dashboard_cl {
    width: 100%;
    height: 10vh;
    display: none;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.tab_button_course_cl {
    width: 48%;
    height: 100%;
    border-radius: 1vw;
    background: linear-gradient(90deg, var(--accent), blueviolet);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1vw;
    font-size: 3vh;
    font-weight: bold;
    color: white;
    transition: 300ms all;
}

.tab_button_course_cl:hover {
    cursor: pointer;
    filter: brightness(150%);
    box-shadow: 4px 4px 8px blueviolet;
}

.no_tab_button_course_cl {
    width: 48%;
    height: 100%;
    border-radius: 1vw;
    background: var(--secondary);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1vw;
    font-size: 3vh;
    font-weight: bold;
    color: white;
    transition: 300ms all;
}

.no_tab_button_course_cl:hover {
    cursor: pointer;
    filter: brightness(150%);
    box-shadow: 4px 4px 8px blueviolet;
}

/* =============== КАТАЛОГ =============== */

.catalog_course_cl {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 4vh;
}

.catalog_course_cl>section {
    width: 100%;
    height: auto;
    border-radius: 1vw;
    overflow: hidden;
    background-color: var(--secondary);
}

.catalog_course_cl>section>div {
    width: 100%;
    height: 10vh;
    border-bottom: 1px solid var(--gray_line_color);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-left: 2vw;
    padding-right: 4vw;
    font-size: 3vh;
    font-weight: bold;
    color: var(--gray_text_color);
    transition: 300ms all;
}

.catalog_course_cl>section>div>span:nth-child(1) {
    width: 80%;
}

.catalog_course_cl>section>div>span:nth-child(2) {
    width: 10%;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog_course_cl>section>div:hover {
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1);
}

.catalog_course_cl>section>div:hover>span:nth-child(1) {
    transition: 300ms all;
    color: var(--accent);
}

/* =============== ОТЗЫВЫ =============== */



/* =============== ПОДРОБНОЕ ОПИСАНИЕ =============== */



@media (max-width: 800px) {
    .main_courses_cl {
        padding-top: 25vh;
    }

    .course_title_text_cl>span {
        font-size: 4vh;
    }

    .course_title_text_cl {
        width: 95vw;
    }

    .main_courses_cl {
        padding-left: 2.5vw;
        padding-right: 2.5vw;
    }

    .tab_button_course_cl {
        border-radius: 2vw;
    }

    .no_tab_button_course_cl {
        border-radius: 2vw;
    }

    .catalog_course_cl>section {
        border-radius: 2vh;
    }

    /* .catalog_course_cl > section > div {
        height: 10vh;
    } */

    .catalog_course_cl>section>div>span {
        padding-right: 1vh;
    }

}

@media (max-width: 600px) {

    .catalog_course_cl>section {
        border-radius: 1vh;
        /* height: 8vh; */
        align-items: center;
    }

    .catalog_course_cl>section>div {
        /* padding-top: 2vh; */
        padding-bottom: 1.5vh;
        grid-template-columns: 50% 25% 25%;
        grid-template-rows: 50% 50%;
        /* height: 14vh; */
        font-size: 2.5vh;
    }

    .catalog_course_cl>section>div>span:nth-child(2) {
        height: 100%;
        /* align-items: start; */
    }

}

/* =============== ПОДРОБНОЕ ОПИСАНИЕ =============== */

#detailed_course_description_id {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    padding-top: 15vh;
    padding-bottom: 5vh;
    padding-left: 12.5vw;
    padding-right: 12.5vw;
    height: 100vh;
    background-color: var(--primary);
    z-index: 1000;
    overflow-x: hidden;
    overflow-y: scroll;
    display: none;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transition: 500ms all;
}

/* === информационная зона === */

.block_course_desc_block_cl {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: space-between;
}

/* === инф.блок №1 === */

.block_course_desc_block_cl>div:nth-child(1) {
    width: 65%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    gap: 4vh;
}

.what_do_you_think_course_cl {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 2vh;
}

.what_do_you_think_course_cl>span {
    font-size: 3.25vh;
    font-weight: bold;
    color: white;
}

.what_do_you_think_course_cl>ul>li {
    margin-left: 1vw;
    font-size: 2.5vh;
    color: var(--gray_text_color);
}

.program_course_cl {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 2vh;
}

.program_course_cl>span {
    font-size: 3.25vh;
    font-weight: bold;
    color: white;
}

.program_course_cl>div {
    width: 100%;
}

.program_course_cl>div>span {
    font-size: 3vh;
    font-weight: bold;
    color: var(--accent);
}

.program_course_cl>div>ul>li {
    margin-left: 1vw;
    font-size: 2.5vh;
    color: var(--gray_text_color);
}

/* === инф.блок №2 === */

.block_course_desc_block_cl>div:nth-child(2) {
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    gap: 4vh;
}

.block_course_desc_block_cl>div:nth-child(2)>section {
    width: 100%;
    height: auto;
    border-radius: 1vw;
    padding: 2vw;
    background-color: var(--secondary);
}

/* === Стоимость === */

.sub_course_desc_value_cl {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    gap: 0.75vh;
}

.sub_course_desc_value_cl>span:nth-child(1) {
    font-size: 3vh;
    font-weight: bold;
    color: white;
}

.sub_course_desc_value_cl>span:nth-child(2) {
    font-size: 3vh;
    font-weight: bold;
    color: var(--accent);
}

.sub_course_desc_value_cl>span:nth-child(3) {
    margin-top: 1vh;
    font-size: 3vh;
    font-weight: bold;
    color: white;
}

.sub_course_desc_value_cl>span:nth-child(4) {
    font-size: 2.5vh;
    color: white;
}

.sub_course_desc_value_cl>div:nth-child(5) {
    margin-top: 2vh;
    width: 100%;
    height: 6vh;
    border-radius: 0.5vw;
    background-color: var(--accent);
    font-size: 2.5vh;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 300ms all;
}

.sub_course_desc_value_cl>div:nth-child(5):hover {
    width: 105%;
    height: 6.5vh;
    cursor: pointer;
    transform: translateX(-2.5%);
}

/* === кому подходит? === */

.sub_course_whom_suits_cl {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    gap: 0.75vh;
}

.sub_course_whom_suits_cl>span {
    font-size: 3vh;
    color: white;
}

.sub_course_whom_suits_cl>ul>li {
    margin-left: 1vw;
    font-size: 2.25vh;
    color: var(--gray_text_color);
    margin-bottom: 1.5vh;
}

/* === инструктор === */

.sub_course_instructor_cl {
    display: flex;
    align-items: start;
    gap: 1vw;
}

.sub_course_instructor_cl>div {
    width: 8vh;
    height: 8vh;
    border-radius: 50%;
    border: 2px solid blueviolet;
    background-image: url(../static/specialists/specialist_1.png);
    background-size: cover;
}

.sub_course_instructor_cl>section {
    width: 75%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
}

.sub_course_instructor_cl>section>span:nth-child(1) {
    font-size: 2.5vh;
    color: var(--accent);
}

.sub_course_instructor_cl>section>span:nth-child(2) {
    color: var(--accent);
    font-size: 2vh;
    color: white;
}

@media (max-width: 1000px) {
    #detailed_course_description_id {
        padding-left: 2.5vw;
        padding-right: 2.5vw;
    }
}

@media (max-width: 800px) {
    .block_course_desc_block_cl {
        flex-direction: column;
        align-items: center;
        gap: 4vh;
    }

    .block_course_desc_block_cl>div:nth-child(1) {
        width: 90%;
    }

    .block_course_desc_block_cl>div:nth-child(2) {
        width: 95%;
    }

    .block_course_desc_block_cl>div:nth-child(2)>section {
        border-radius: 2vw;
        padding: 5vw;
    }
}

/* =============== МОДАЛЬНОЕ ОКНО НАПРАВЛЕНИЕ ФАКУЛЬТЕТА =============== */

#faculty_direction_id {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10%;
    padding-top: 5%;
    padding-bottom: 0;
}

#faculty_direction_id>div {
    width: 100%;
    height: 90%;
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 700px) {

    #faculty_direction_id {
            padding: 5%;
            padding-top: 5%;
            padding-bottom: 0;
        }

    #faculty_direction_id>div {
        overflow-y: scroll;
        padding-top: 100px;
        width: 100%;
    }

    /* Для Chrome, Safari и Edge */
    #faculty_direction_id>div::-webkit-scrollbar {
        width: 8px;
        /* ширина скроллбара */
    }

    #faculty_direction_id>div::-webkit-scrollbar-track {
        background: transparent;
        /* фон дорожки (можно оставить прозрачным) */
    }

    #faculty_direction_id>div::-webkit-scrollbar-thumb {
        background-color: black;
        /* сам ползунок */
        border-radius: 4px;
        /* скругление углов */
    }

    /* При наведении курсора */
    #faculty_direction_id>div::-webkit-scrollbar-thumb:hover {
        background-color: #333;
    }
}

#sub_course_renderer_id {
    width: 100%;
    height: auto;
    border-radius: 1vw;
    overflow: hidden;
    background-color: var(--secondary);
    box-shadow: 0 0 2.5px white, 0 0 5px white;
}

#sub_course_renderer_id>div {
    width: 100%;
    height: 10vh;
    border-bottom: 1px solid var(--gray_line_color);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-left: 2vw;
    padding-right: 4vw;
    font-size: 3vh;
    font-weight: bold;
    color: var(--gray_text_color);
    transition: 300ms all;
}

#sub_course_renderer_id>div>span:nth-child(1) {
    width: 80%;
    color: var(--accent);
}

#sub_course_renderer_id>div>span:nth-child(2) {
    width: 10%;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

#sub_course_renderer_id>div:hover {
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1);
}

#sub_course_renderer_id>div:hover>span:nth-child(1) {
    transition: 300ms all;
    color: var(--accent);
}

@media (max-width: 800px) {

    #sub_course_renderer_id {
        border-radius: 2vh;
    }

    #sub_course_renderer_id>div {
        height: 10vh;
    }

    #sub_course_renderer_id>div>span {
        padding-right: 1vh;
    }

}

@media (max-width: 600px) {

    #sub_course_renderer_id {
        border-radius: 1vh;
    }

    #sub_course_renderer_id>div {
        padding-top: 2vh;
        padding-bottom: 1vh;
        grid-template-columns: 50% 25% 25%;
        grid-template-rows: 50% 50%;
        height: 14vh;
        font-size: 2.5vh;
    }

    #sub_course_renderer_id>div>span:nth-child(2) {
        height: 100%;
        align-items: start;
    }

}

/* =============== МОДАЛЬНОЕ ОКНО КУРСОВ =============== */

#course_block_render_id {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--primary);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    padding: 10%;
    padding-top: 5%;
    overflow-x: hidden;
    overflow-y: scroll;
}

@media (max-width: 700px) {
    #course_block_render_id {
        padding-top: 100px;
    }
}

.course_catalog_cl {
    width: 100vw;
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3vw;
    padding-left: 2rem;
    padding-right: 2rem;
}

.catalog_names_main_course_cl {
    font-size: 6vh;
    font-weight: bold;
    /* background: linear-gradient(to bottom, #fff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */
    color: white;
    line-height: 1.2;
    animation: titleReveal 1s ease-out;
    /* margin-top: 5vh; */
    margin-bottom: 3vh;
    margin-top: 5vh;
}

/* === заглавный текст === */
.catalog_names_main_cour_cl {
    width: 100%;
    font-size: 4vh;
    font-weight: bold;
    background: linear-gradient(to bottom, #fff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    animation: titleReveal 1s ease-out;
    margin-top: 5vh;
    margin-bottom: 3vh;
    text-shadow: 0 0 2.5px white, 0 0 5px white;
    text-align: center;
    margin-top: 25px;
    margin-bottom: 15px;
}

/* --- смотреть далее --- */

#further_thanks_id, #further_texts_id, #further_video_id {
    width: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    padding-top: 25px;
}

#further_thanks_id > div, #further_texts_id > div, #further_video_id > div {
    padding: 10px;
    padding-left: 30px;
    padding-right: 30px;
    border: 2px dashed gray;
    border-radius: 10px;
    font-size: 3vh;
    color: gray;
    transition: 300ms all;
}

#further_thanks_id > div:hover, #further_texts_id > div:hover, #further_video_id > div:hover {
    cursor: pointer;
    border-color: var(--accent);
    color: var(--accent);
}