* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Bahnschrift;
    user-select: none;
}

body {
    width: 100%;
}

.header {
    margin: 0;
    padding: 0;
    width: 100%;
}

.header1 {
    width: 100%;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header1_container {
    width: 80%;
    background: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.header1_logo_container {
    display: flex;
    width: 50%;
}

.header1_logo_text {
    color: gray;
    text-decoration: none;
}

.header1_menu {
    display: flex;
    width: 50%;
    justify-content: end;
}

.header1_menu_container {
    display: flex;
    width: 40%;
    min-width: 170px;
    justify-content: space-between;
}

.header1_menu_link {
    display: block;
    color: white;
    text-decoration: none;
    transition: 0.3s;
    padding: 0 10px;
    min-width: 100px;
}

.header1_menu_link:hover {
    color: gray;
}

.header1_menu_link_login:after {
    content: " →";
    margin-left: 5px;
}

.header1_menu_link_contacts {
    border-right: 0.5px solid gray;
}

.header2 {
    width: 100%;
    display: flex;
    background: #ffffff;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.header2_container {
    display: flex;
    align-items: center;
    width: 80%;
    justify-content: space-between;
}

.header2_logo_container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    transition: 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: #878787;
    min-width: 255px;
}

.header2_logo_container:hover {
    transform: scale(1.02);
}

.header2_logo_img {
    max-width: 70px;
}

.header2_logo_text {
    font-size: 35px;
}

.tube_orange {
    color: orange;

}

.header2_nav_text_container {
    font-size: 35px;
    margin-right: 22px;
    max-width: 495px;
    color: gray;
}

.header2_nav_text_container span {
    min-width: 495px;
}

.header2_search_container {
    font-size: 21px;
}

.main_title_text {
    font-size: 21px;
}

.main_container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #B8B8B8FF;
    margin-top: 20px;
    padding-bottom: 80px;
}

.main_title_block {
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.main_title {
    font-size: 40px;
    text-align: center;
    color: white;
}

.main_course_container {
    display: flex;
    flex-direction: row;
    width: 80%;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.main_one_course {
    width: 48%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    background: white;
    margin-bottom: 20px;
    text-decoration: none;
    transition: 0.3s;
}

.main_one_course:hover {
    transform: scale(1.02);
}

.main_one_course_img {
    display: block;
    width: 100%;
    border-radius: 40px;
}

.price_container{
    padding: 10px;
    min-width: 220px;
}

.price_container_title {
    margin-top: 10px;
    font-size: 30px;
}

.price_container_block {
    margin-top: 10px;
    font-size: 30px;
}

.price_container_old_price {
    color: #878787;
    font-size: 25px;
}

.price_container_new_price{
    color: orange;
}

.more_details_button{
    border: 2px solid orange;
    color: #FFFFFF;
    background: orange;
    margin: 15px auto;
    padding: 10px 40px;
    transition: 0.3s;
    font-weight: bold;
    border-radius: 15px;
}

.more_details_button:hover {
    transform: scale(1.05);
}

.main_one_course_info {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 90%;
}

.main_course_duration_text {
    color: #878787;
}

.main_course_duration {
    margin: 5px 0;
}

.unique_case {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 40px 0;
    text-decoration: none;
}

.unique_case.one_course{
    margin: 0;
    width: 80%;
}

.unique_case_button {
    width: 100%;
    border: 2px solid orange;
    color: #FFFFFF;
    background: orange;
    margin: 15px auto;
    padding: 20px 40px;
    transition: 0.3s;
    font-weight: bold;
    border-radius: 15px;
    font-size: 30px;
    transform: scale(0.99);
}

.unique_case_button:hover {
    transform: scale(1.00);
    color: dimgray;
    text-decoration: underline;
}

.page_link {
    display: block;
    color: white;
}

.footer{
    text-align: center;
    display: flex;
    width: 100%;
    flex-direction: column;
}

.footer1 {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer2 {
    font-size: 12px;
    background: white;
}

.footer2_container{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: black;
}

.footer1 {
    background: black;
}

.footer1_logo_container {
    color: white;
}

.footer1_container {
    display: flex;
    width: 80%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
}

.page_link {
    text-decoration: none;
    color: #878787;
    transition: 0.3s;
    margin-bottom: 8px;
}

.page_link:hover {
    color: white;
}

.main_info_pluses {
    display: flex;
    width: 80%;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0;
    color: white;
    list-style-type: none;
    text-align: center;
}

.main_info_pluses li{
    color: white;
    font-size: 20px;
    text-align: center;
}

.main_info_pluses li:after {
    content: '\2714';
    font-weight: bold;
    color: orange;
    margin-left: 10px;
}

.main_info_photo {
    width: 80%;
}

.course_photo {
    display: block;
    width: 100%;
}

.main_course_program {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #FFFFFF;
    padding-bottom: 80px;
}

.main_course_program_inner {
    text-align: center;
    margin: 15px 0;
    font-size: 23px;
    color: gray;
}

.main_course_program_title {
    text-align: center;
    font-size: 35px;
    margin: 25px 0;
    color: orange;
    font-weight: bold;
}

.main_course_content {
    color: dimgray;
    font-size: 35px;
    font-weight: bold;
    margin: 35px 0;
}

.lessons_container {
    width: 80%;
}

.lesson_name {
    color: white;
    margin-bottom: 3px;
    align-items: center;
    text-align: center;
    font-size: 23px;

}

.lesson_video_container {
    width: 98%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin: 15px 0;
    align-items: start;
}

.video_container {
    width: 50%;
    display: flex;
    flex-direction: column;

}

.lesson_video_container {
    margin-bottom: 70px;
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.video_container,
.lesson_program {
    display: flex;
    flex-direction: column;
    width: 50%;
    padding: 15px;
    color: white;
    justify-content: start;
}

.lesson_to_cart_btn {
    text-decoration: none;
    border: 2px solid orange;
    color: #FFFFFF;
    background: orange;
    padding: 10px 20px;
    transition: 0.3s;
    font-weight: bold;
    border-radius: 10px;
    font-size: 17px;
    transform: scale(0.99);
    text-align: center;
    margin-top: 20px;
}

.lesson_to_cart_btn:hover {
    transform: scale(1.02);
    color: dimgray;
}

.lesson_program_text {
    display: block;
}

.lesson_video {
    min-height: 300px;
}

.lesson_video_iframe {
    min-height: 300px;
}

.login_main {
    width: 40%;
    margin: 125px auto;
    text-align: left;
}

.after_signup_banner {
    font-size: 18px;
    color: #007bff;
    text-align:center;
}

.pay_page_form_part {
    color: dimgray;
    margin-bottom: 25px;
}

.pay_page_form_part label {
    display: block;
    color: dimgray;
    font-size: 20px;
    margin-bottom: 5px;
}

.pay_page_customer_name_input,
.pay_page_customer_email_input,
.pay_page_customer_pass_input {
    width: 100%;
    height: 35px;
    font-size: 20px;
    padding: 2px;
}

.reg_link_title,
.reg_link {
    font-size: 18px;
}

.reg_link {
    text-decoration: none;
    color: #007bff;
    transition: 0.3s;
}

.reg_link:hover {
    text-decoration: underline;
}

.pay_page_submit_btn {
    width: 100%;
    display: inline-block;
    background-color: orange;
    color: #ffffff;
    padding: 7px 16px;
    min-width: 200px;
    font-size: 21px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s;
    font-weight: bold;
    border: 2px solid orange;
    border-radius: 15px;
}

.pay_page_submit_btn:hover {
    color: dimgray;
    transform: scale(1.01);
}

.login_main {
    width: 40%;
    margin: 125px auto;
    text-align: left;
}

.login_form {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    margin: auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: dimgray;
}

.pay_page_main {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    color: dimgray;
}

.pay_page_course_name_text {
    color: red;
    font-weight: bold;
    font-size: 20px;
}

.pay_page_price_block {
    font-size: 18px;
    margin-bottom: 40px;
}

.pay_page_course_name_title {
    font-size: 18px;
}

.personal_account_main {
    margin: 200px auto;
}

.admin_panel_link_container {
    width: 78%;
    margin: 10px auto;
}

.personal_account_users_course_block,
.personal_account_btns_block{
    width: 80%;
    margin: 40px auto;
    color: dimgray;
}

.pay_course_banner {
    font-size: 20px;
    margin: 5px 10px;
}

.personal_account_one_course_link {
    display: block;
    margin-bottom: 15px;
    text-decoration: none;
    padding: 15px;
    color: white;
    font-weight: bold;
    font-size: 22px;
    transition: 0.4s;
    border-radius: 15px;
    background: orange;
}

.personal_account_one_course_link:hover {
    transform: scale(1.02);
    color: dimgray;
    text-decoration: underline;
}

.personal_account_users_course_block h2 {
    font-size: 26px;
    padding: 5px 10px;
}

.personal_account_users_course_block h4 {
    padding: 5px 10px;
}

.personal_account_one_course_main {
    width: 90%;
    margin: 140px auto;
    color: dimgray;
}

.personal_account_description_container {
    width: 100%;
    margin: 0 auto;
    padding-bottom: 50px;
    border-bottom: 2px solid #e6e6e6;
}

.personal_account_course_name_container {
    width: 50%;
    margin: 85px auto 0 auto;
}

.personal_account_course_lessons_container {
    margin: 50px auto;
    width: 50%;
}

.personal_account_course_section {
    margin-top: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e6e6e6;
}

.personal_account_course_section span {
    font-weight: bold;
    font-size: 20px;
}

.personal_account_course_description_container {
    margin: 18px 0;
}

.personal_account_course_lesson {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 10px;
}

.personal_account_course_lesson img {
    display: block;
}

.personal_account_course_lesson_container {
    margin-left: 10px;
}

.personal_account_course_lesson_link {
    color: dodgerblue;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
}

.personal_account_course_lesson_link:hover {
    text-decoration: underline;
}

.personal_account_one_lesson_main {
    width: 80%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    margin: 35px auto;
}

.personal_account_course_section_menu {
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 21px;
}

.personal_account_course_lesson_menu {
    margin-bottom: 10px;
}

.personal_account_course_lesson_link_menu {
    text-decoration: none;
    color: #007bff;
    font-size: 15px;
}

.personal_account_course_lesson_link_menu:hover {
    cursor: pointer;
    text-decoration: underline;
}

.admin_panel_link_container {
    width: 78%;
    margin: 10px auto;
}

.admin_panel_link {
    text-decoration: none;
    color: dodgerblue;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    margin-right: 5px;
}

.admin_panel_link:hover {
    text-decoration: underline;
}

.personal_account_one_lesson_main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.personal_account_course_section_menu {
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 21px;
}

.personal_account_course_lesson_menu {
    margin-bottom: 10px;
}

.personal_account_course_lesson_link_menu {
    text-decoration: none;
    color: #007bff;
    font-size: 15px;
}

.personal_account_course_lesson_link_menu:hover {
    cursor: pointer;
    text-decoration: underline;
}

.course_lesson_name_container {
    color: dimgray;
}

.course_program_close_imgs_block {
    margin: 10px auto;
}

.course_video_container_iframe {
    height: 600px;
}

.admin_one_course,
.admin_one_landing{
    display: block;
    width: 100%;
    margin: 10px auto;
    text-decoration: none;
    color: #000000;
    font-weight: bold;
    padding: 15px;
    box-shadow: rgba(0, 0, 0, 0.35) 0 5px 15px;
    border-radius: 15px;
    transition: 0.2s;
}

.admin_one_course:hover,
.admin_one_landing:hover{
    transform: scale(1.01);
}

.admin_main_container {
    display: flex;
    flex-direction: column;
    width: 97%;
    margin: 0 auto;
}

.admin_main {
    width: 98%;
    margin: 40px auto;
}

.admin_add_course_link {
    text-decoration: none;
    color: dodgerblue;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
    margin-right: 30px;
    font-size: 24px;
}

.admin_add_course_link:hover {
    text-decoration: underline;
    transform: scale(1.01);
}

.admin_add_course {
    width: 100%;
    text-align: center;
    margin-top: 35px;
    margin-bottom: 15px;
}

.add_course_form {
    display: flex;
    flex-direction: column;
    width: 98%;
    margin: 0 auto;
}
.add_course_form label {
    display: block;
    font-weight: bold;
    font-size: 20px
}

.admin_form_part {
    width: 100%;
    margin-bottom: 25px;
}

.admin_form_part_double {
    display: flex;
    flex-direction: row;
    gap: 40px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    width: 98%;
}

.admin_submit_btn {
    display: block;
    background-color: #fff;
    padding: 10px 80px;
    border-radius: 40px;
    font-size: 18px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s;
    font-weight: bold;
    margin: 10px auto;
}

.admin_submit_btn_update{
    color: dodgerblue;
    border: 2px solid dodgerblue;
}

.admin_submit_btn_add{
    color: green;
    border: 2px solid green;
}

.admin_submit_btn_delete {
    color: red;
    border: 2px solid red;
}

.admin_submit_btn:hover {
    box-shadow: rgba(0, 0, 0, 0.4) 2px 9px 20px;
    transform: scale(1.001);
}

.summernote_course_program {
    min-height: 500px;
}


.admin_lesson_title,
.admin_lecturers_title {
    font-weight: bold;
    font-size: 32px;
}

.form_lesson_name,
.form_lesson_link,
.form_lesson_lecturer,
.form_lesson_duration,
.form_lecturer_name {
    width: 100%;
    display: block;
    height: 30px;
    font-size: 15px
}

.admin_form_part_double_column {
    width: 30%;
    min-width: 220px;
}

.add_lesson_title,
.add_lecturer_title,
.add_description_title {
    color: dodgerblue;
    font-weight: bold;
    font-size: 18px;
    transition: 0.2s;
    cursor: pointer;
}

.add_lesson_title:hover,
.add_lecturer_title:hover,
.add_description_title:hover {
    text-decoration: underline;
}

.div_number_lesson {
    display: flex;
    width: 100%;
    margin: 10px auto;
    justify-content: space-between;
    align-items: center;
}

.div_number_lesson_close {
    cursor: pointer;
}

.div_number_lesson_close:hover {
    transform: scale(1.2);
}

.admin_buttons_block {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
}

.form_course_name,
.form_page_name {
    width: 100%;
    display: block;
    height: 50px;
    font-size: 20px
}

.admin_search_input {
    width: 100%;
    height: 29px;
    font-size: 16px;
    padding: 3px;
    border-radius: 10px;
}

.landing_list_container,
.course_list_container {
    width: 45%;
}

.select_course_for_landing {
    width: 100%;
}

.dynamic-form {
    margin: 0 auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.add-button {
    background-color: #007bff;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 10px 15px;
    cursor: pointer;
    margin: 10px 0;
    font-size: 14px;
}
.add-button:hover {
    background-color: #0056b3;
}
.section-container {
    margin-top: 20px;
    padding: 15px;
    background: #f9f9fb;
    border: 1px solid #ddd;
    border-radius: 8px;
    position: relative;
}
.lesson-container {
    margin-top: 10px;
    padding: 10px;
    background: #ffffff;
    border: 1px solid #ccc;
    border-radius: 4px;
    position: relative;
}
.input-field, .textarea-field {
    display: block;
    width: calc(100% - 20px);
    margin: 10px 0;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f9f9fb;
}
.textarea-field {
    resize: none;
    height: 60px;
}
.section-title, .lesson-title {
    font-weight: bold;
}
.delete-button {
    border: none;
    width: 24px;
    height: 24px;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
}

.form_gift {
    margin: 13px !important;
    transform: scale(3);
}

.err {
    color: red;
    font-weight: bold;
}

.red {
    color: red;
}

.gray {
    color: gray;
}

.dimgray {
    color: dimgray;
}

.underline {
    text-decoration: underline;
}

.br {
    display: none;
}