@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
    text-decoration: none;
    list-style: none;
}

body {
    overflow-x: hidden; /* Скрывает горизонтальный скролл */
}

.header_language {
    overflow: hidden; /* Это скрывает возможный скролл родительского элемента */
}
/* Общие стили для флагов */
.lang-flag {
    width: 30px;  /* Размер флага */
    height: 30px;
    object-fit: cover; /* Подгонка изображения */
}


/* Стили для ПК */
.header_language.desktop-lang {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;  /* Промежутки между флагами */
}

.header_language.desktop-lang form {
    display: inline-block;
}



header {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: #FEED01;
}

.header_container {
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 170px;
}

.header_logo {
    height: 100%; /* или конкретное значение, например 150px */
    display: flex;
    align-items: center; /* центрирует по вертикали */
    justify-content: center; /* центрирует по горизонтали */
    box-sizing: border-box;
}

.header_logo img {
    max-height: 200%;
    width: auto;
    object-fit: contain; /* сохраняет пропорции */
}

.header_navigation {
    width: 50%;
    display: flex;
    justify-content: center;
}

.header_navigation ul {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.header_navigation a {
    font-size: 22px;
    font-family: "Roboto";
    font-weight: bold;
    color: #0000FE;
    transition: all 0.3s;
}

.header_navigation a:hover {
    color: red;
}

.header_language img {
    width: 50px;
}

.content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url(../img/Group\ 93.png);
}

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

.header_banner_container {
    width: 90%;
}

.header_h1_h2 {
    width: 100%;
}

.header_h1_h2 h1 {
    font-family: "Roboto";
    font-size: 45px;
    width: 560px;
    margin-top: 100px;
    color: #FEED01;
}

.header_h1_h2 h2 {
    font-family: "Roboto";
    font-size: 25px;
    width: 560px;
    margin-top: 50px;
    color: #aaaaaa;
}

.header_text_logo {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.herader_baner_grid {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 150px;
}

.herader_baner_grid img {
    width: 280px;
}

.content {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.forus_container {
    width: 90%;
}

.forus_title h1 {
    font-family: "Roboto";
    font-size: 65px;
    width: 560px;
    margin-top: 150px;
    color: #fff;
}

.forus_content {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    width: 100%;
    margin-bottom: 150px;
}

.forus_img img {
    width: 100%;
}

.forus_img {
    width: 40%;
}

.forus_text {
    width: 55%;
}

.forus_text p {
    font-family: "Roboto";
    font-weight: bold;
    line-height: 1.5;
    font-size: 24px;
    width: 90%;
    color: #aaaaaa;
    text-align: justify;
}

.forus_download {
    margin-top: 100px;
    width: 90%;
    display: flex;
    justify-content: space-between;
}

.forus_download a {
    font-size: 18px;
    font-family: "Roboto";
    font-weight: bold;
    color: #FEED01;
    transition: all 0.3s;
}

.forus_download a:hover {
    color: #0000FE;
}

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

.curses_title {
    width: 90%;
    display: flex;
    justify-content: flex-end;
}

.curses_title h1 {
    font-size: 55px;
    font-family: "Roboto";
    font-weight: bold;
    color: #FEED01;
    margin-top: -100px;
}

.woman_courses {
    width: 100%;
    display: flex;
    justify-content: center;
    background-image: url(../img/Group\ 94.png);
}

.woman_courses_container {
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.woman_title {
    width: 100%;
}

.woman_title h1 {
    font-size: 40px;
    font-family: "Roboto";
    font-weight: bold;
    color: #FEED01;
    margin-top: 50px;
}

.woman_courses_content {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.woman_course_block {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px;
    color: #fff;
    transition: all 0.3s;
}

.woman_course_block img {
    width: 350px;
}

.woman_course_block span {
    font-size: 18px;
    font-family: "Roboto";
    font-weight: bold;
    /* color: #fff; */
    margin-top: 20px;
}

.woman_course_block:hover {
    cursor: pointer;
    color: #FEED01;
}


.lessons {
    width: 100%;
    display: flex;
    justify-content: center;
    background-image: url(../img/Group\ 95.png);
}

.lessons_container {
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lessons_title {
    width: 100%;
    display: flex;
    justify-content: center;
}

.lessons_title h1 {
    font-size: 40px;
    font-family: "Roboto";
    font-weight: bold;
    color: #FEED01;
    margin-top: 50px;
    margin-bottom: 50px;
}

.lessons_content {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
}

.lessons_block {
    width: 300px;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.a1 {
    background-image: url(../img/image\ 83.png);
}

.a2 {
    background-image: url(../img/image\ 89.png);
}

.a3 {
    background-image: url(../img/image\ 87.png);
}

.a4 {
    background-image: url(../img/image\ 85.png);
}

.a5 {
    background-image: url(../img/image\ 83\ \(1\).png);
}

.a6 {
    background-image: url(../img/image\ 87\ \(1\).png);
}

.a7 {
    background-image: url(../img/image\ 89\ \(2\).png);
}

.a8 {
    background-image: url(../img/image\ 85\ \(1\).png);
}

.a9 {
    background-image: url(../img/image\ 83\ \(2\).png);
}

.a10 {
    background-image: url(../img/image\ 89\ \(3\).png);
}

.a11 {
    background-image: url(../img/image\ 87\ \(2\).png);
}

.a12 {
    background-image: url(../img/image\ 85\ \(2\).png);
}

.lessons_block_title {
    width: 100%;
    text-align: center;
    padding: 5px;
    /* height: 30px; */
    background-color: rgb(255, 238, 0, 0.5);
    font-size: 22px;
    font-family: "Roboto";
    font-weight: bold;
    color: #fff;
}

.lessons_block:hover .lessons_block_title {
    color: #0000FE;
    cursor: pointer;
}

.courses_man {
    width: 100%;
    display: flex;
    justify-content: center;
    background-image: url(../img/Group\ 96.png);
}

.courses_man_continer {
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.courses_man_title {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.courses_man_title h1 {
    width: 100%;
    text-align: right;
    font-size: 44px;
    font-family: "Roboto";
    font-weight: bold;
    color: #FEED01;
    margin-top: 50px;
}

.courses_man_grid {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 50px;
    margin-bottom: 100px;
}

.courses_man_elem {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
    transition: all 0.3s;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

.courses_man_elem img {
    width: 300px;
    margin: 0 50px 0 50px;
}

.courses_man_elem span {
    font-size: 22px;
    font-family: "Roboto";
    font-weight: bold;
    /* color: #fff; */
}

.courses_man_elem:hover {
    color: #FEED01;
}

footer {
    width: 100%;
    background-color: black;
    display: flex;
    justify-content: center;
}

.footer_container {
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin-top: 100px;
    margin-bottom: 100px;
}

.footer_information {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.adres {
    text-align: right;
    color: white;
    font-size: 24px;
    font-family: "Roboto";
    font-weight: bold;
}

.number {
    text-align: right;
    color: white;
    font-size: 24px;
    font-family: "Roboto";
    font-weight: bold;
    margin-top: 100px;
}

.links {
    margin-top: 100px;
}

.links img {
    width: 80px;
}

.burger {
    display: none;
}

/* Для десктопных устройств (по умолчанию) */
.desktop-lang {
    display: block;  /* Элемент видим на десктопах */
}

.mobile-lang {
    display: none;  /* Элемент скрыт на десктопах */
}

@media (max-width: 1367px) {
    

    .woman_courses_content {
        margin: 50px 0 50px 0;
    }
    .woman_course_block {
        margin: 0;
    }
}

@media (max-width: 1101px) {
    .desktop-lang {
        display: none !important;  /* Добавьте !important, если нужно повысить приоритет */
    }
    .mobile-lang {
        display: block !important;
    }
    .mobile-lang .lang-select {
        font-size: 20px;  /* Увеличение размера шрифта */
        width: 30%;      /* Растягивает список на всю ширину контейнера */
        padding: 10px;    /* Увеличение внутреннего отступа для лучшего восприятия */
        border-radius: 5px; /* Скругление углов */
        min-width: 100px;  /* Минимальная ширина для предотвращения обрезки */
    }

    .herader_baner_grid img {
        width: 200px;
    }
    .woman_course_block img {
        width: 400px;
    }
    .courses_man_elem img {
        margin: 0;
    }
    .adres {
        font-size: 18px;
    }
    .number {
        font-size: 18px;
    }
    .forus_download a {
        font-size: 12px;
    }
}

@media (max-width: 1025px) {
    .desktop-lang {
        display: none !important;  /* Добавьте !important, если нужно повысить приоритет */
    }
    .mobile-lang {
        display: block !important;
    }
    .mobile-lang .lang-select { 
        font-size: 20px;  /* Увеличение размера шрифта */
        width: 30%;      /* Растягивает список на всю ширину контейнера */
        padding: 10px;    /* Увеличение внутреннего отступа для лучшего восприятия */
        border-radius: 5px; /* Скругление углов */
        min-width: 100px;  /* Минимальная ширина для предотвращения обрезки */
    }
 
    
    .lessons_block {
        width: 400px;
    }
}


@media (max-width: 991px) {
    .desktop-lang {
        display: none;  /* Добавьте !important, если нужно повысить приоритет */
    }
    .mobile-lang {
        display: block;
    }
    
    .mobile-lang .lang-select {
        font-size: 20px;  /* Увеличение размера шрифта */
        width: 20%; 
        height: 20%;      /* Растягивает список на всю ширину контейнера */
        padding: 10px;    /* Увеличение внутреннего отступа для лучшего восприятия */
        border-radius: 5px; /* Скругление углов */
        min-width: 100px;  /* Минимальная ширина для предотвращения обрезки */
    }

    .courses_man_elem img {
        width: 280px;
    }
    .footer_container {
        flex-direction: column;
        align-items: center;
        margin: 50px 0 50px 0;
    }
    .map {
        width: 90%;
    }
    .map iframe {
        width: 100%;
    }
    .footer_information {
        width: 100%;
    }
    .adres {
        width: 100%;
        justify-content: flex-end;
        margin-top: 30px;
    }
    .number {
        margin-top: 30px;
    }
    .links {
        width: 100%;
    }
    .woman_courses_content {
        justify-content: center;
    }
    .lessons_content {
        justify-content: center;
    }
    .lessons_content {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .desktop-lang {
        display: none !important;  /* Добавьте !important, если нужно повысить приоритет */
    }
    .mobile-lang {
        display: block !important;
    }
    .mobile-lang .lang-select {
        font-size: 10px;  /* Увеличение размера шрифта */
        width: auto !important;
        height: 40px !important;       /* Растягивает список на всю ширину контейнера */
        padding: 10px;    /* Увеличение внутреннего отступа для лучшего восприятия */
        border-radius: 5px; /* Скругление углов */
        min-width: 100px;  /* Минимальная ширина для предотвращения обрезки */
    }
    

    .header_text_logo img {
        width: 350px;
        margin-top: 30px
    }
    .herader_baner_grid {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    .herader_baner_grid img {
        margin: 10px;
    }
    .forus_title h1 {
        margin-top: 50px;
    }
    .forus_text p {
        font-size: 18px;
    }
    .forus_download {
        flex-direction: column;
        margin-top: 0;
    }
    .woman_course_block {
        width: 100%;
    }
    .woman_course_block img {
        width: 100%;
        margin-top: 30px;
    }
    .lessons_block {
        width: 100%;
        height: 320px;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }
    .courses_man_elem {
        width: 100%;
    }
    .courses_man_elem img {
        width: 100%;
    }
    .header_navigation {
        width: 40%;
    }
    .header_navigation a {
        font-size: 16px;
    }
    .navigation {
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }
    .navigation li {
        margin: 30px 0 30px 0;
    }
    .navigation.active {
        opacity: 1;
        visibility: visible;
        flex-direction: column;
        margin-top: 375px;
        z-index: 999;
        border: 2px solid #0000FE;
        background-color: #FEED01;
        text-align: center;
    }
    .burger {
        display: flex;
        align-items: center;
        position: absolute;
        width: 45px;
        height: 20px;
        top: 60px;
        z-index: 100;
        cursor: pointer;
    }
    .burger .burger__rotate {
        top: 10px;
        right: 10px;
        width: 100%;
        height: 3px;
        background-color: #d39800;
        border-radius: 10px;
        transition: all 0.5s ease 0s;
        margin-bottom: 5px;
        margin-top: 5px;
    }
    .burger::after {
        content: "";
        width: 100%;
        left: 0;
        height: 3px;
        background-color: #d39800;
        border-radius: 10px;
        position: absolute;
        bottom: 0;
        transition: all 0.5s;
    }
    .burger::before {
        content: "";
        width: 100%;
        background-color: #d39800;
        border-radius: 10px;
        position: absolute;
        top: 0;
        height: 3px;
        transition: all 0.5s;
    }
    .burger .burger__rotate.active {
        display: none;
    }
    .burger.active::after {
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
        top: 3px;
    }
    .burger.active::before {
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(45deg);
        top: 3px;
    }
    .forus_title h1 {
        width: 100%;
    }
}

@media (max-width: 577px) {
    .desktop-lang {
        display: none !important;  /* Добавьте !important, если нужно повысить приоритет */
    }

    .mobile-lang {
        display: blnock !important;
        width: 100%;  /* Ограничьте ширину */
        max-width: 100%;  /* Убедитесь, что элемент не превышает ширину экрана */
    }
    .mobile-lang .lang-select {
        font-size: 10px;  /* Увеличение размера шрифта */
        width: 50px !important;
        height: 35px !important;      /* Растягивает список на всю ширину контейнера */
        padding: 10px;    /* Увеличение внутреннего отступа для лучшего восприятия */
        border-radius: 5px; /* Скругление углов */
        min-width: 200px;  /* Минимальная ширина для предотвращения обрезки */
    }
    
    
    .herader_baner_grid {
        margin-top: 50px;
    }
    .forus_content {
        flex-direction: column;
        align-items: center;
    }
    .forus_img {
        width: 100%;
    }
    .forus_text {
        width: 100%;
    }
    .forus_text p {
        width: 100%;
    }
    .header_h1_h2 h1 {
        font-family: "Roboto";
        font-size: 30px;
        width: 90%;
        margin-top: 50px;
        color: #FEED01;
    }
    .header_h1_h2 h2 {
        font-family: "Roboto";
        font-size: 23px;
        width: 100%;
        margin-top: 21px;
        color: #aaaaaa;
    }
    .header_logo img {
        width: 150px;
    }
    .header_language img {
        width: 30px;
    }
    .header_text_logo img {
        width: 280px;
        margin-top: 30px;
    }
    .curses_title h1 {
        font-size: 35px;
    }
}