body {
    margin: 0;
    padding: 0;
    font-family: 'Times New Roman', Times, serif;
    background-color: #ffffff;
    color: #333;
}


.header-content1{
        background: #375879;
    display: flex;
    justify-content: space-around;
}

.branding1 {
    display: flex;
    align-items: center;
}

.header-img{
    width: 140px;
}
#customNav-nav-container-base{
    display: flex;
    align-items: center;
    justify-content: center;
}
.site-header {
 display: grid;
  grid-template-columns: auto auto auto;
    background-color:#c7e3ff;
    /* Темно-синий цвет фона */
    /*padding: 20px 0;
    /* Внутренние отступы сверху и снизу */
    color: #fff;
    /* Цвет текста */
    text-align: center;
    /* Выравнивание текста по центру */
    position: relative;   
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    /* Внутренние отступы по бокам */
}
.header-right1{
    width: 20%;
    display: flex;
}

.branding {
    display: flex;
    align-items: center;
}
.brandingText {
    display: flex;
    align-items: center;
    justify-content: space-between;
width: 60%;
    margin: auto;
}
h4 {
font-style: italic;
    font-weight: lighter;
    text-align: justify;
}

.logo {
    height: 100px;
    /* Высота логотипа */
    margin-right: 20px;
    /* Отступ справа от логотипа */
}

h1 {
    font-size: 24px;
    /* Размер текста заголовка */
    margin: 0;
    /* Убираем отступы */
}

nav {
background-color: #ffffff;
    padding: 10px 0;
    width: 100%;
    height: 25%;
    /* position: absolute; */
    right: 0;
        margin: auto;
    /* transform: translateY(-50%); */
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
}

.customNav-nav-menu-base {
    list-style-type: none;
    /* Убираем маркеры списка */
    display: flex;
    justify-content: right;
    /* Выравнивание элементов списка по центру */
    padding: 0;
    /* Убираем отступы */
    margin: 0;
    /* Убираем отступы */
}

.customNav-dropdown-base {
    margin: 0 10px;
    /* Отступы между элементами списка */
}

.customNav-dropdown-toggle-base {
    color: #417087;
    /* Цвет текста */
    text-decoration: none;
    /* Убираем подчеркивание */
    padding: 5px 10px;
    /* Внутренние отступы */
    display: block;
    /* Делаем элементы блочными */
    font-size: 20px;
}

.customNav-dropdown-toggle-base:hover {
    background-color: #f28e00;
    /* Оранжевый цвет при наведении */
}


/*--------------container:---------------------*/
.container {
    border-radius: 10px;
width: 60%;
    margin: 0 auto;
    background: #efefef;
    padding: 10px;
}


/*-------search bar-------*/

.ld-search {
    display: flex;
    justify-content: center;

    /* Отступ сверху, если нужно */
}

.ld-search__form {
    width: 100%;
    max-width: 600px;
    /* Максимальная ширина формы */
}

.ld-search__form-wr {
    display: flex;
    align-items: center;
    /*border: 2px solid #ccc;
    /* Рамка формы */
    /*border-radius: 25px;
    /* Радиус закругления */
    overflow: hidden;
}

.ld-search__form-input {
    width: 100%;
}

.ld-search__form-input input {
    border: none;
    /* Убираем рамку у input */
    width: 94%;
    padding: 10px 15px;
    font-size: 24px;
    /* Размер текста */
    flex: 1;
    /* Заполнение оставшегося пространства */
    border-top-left-radius: 25px;
    /* Левый верхний радиус */
    border-bottom-left-radius: 25px;
    /* Левый нижний радиус */
}

.ld-search__form-input input:focus {
    outline: none;
    /* Убираем обводку при фокусе */
}

.ld-search__form-btn input {
    background-color: #ffa500;
    /* Цвет фона кнопки */
    color: #fff;
    /* Цвет текста кнопки */
    border: none;
    /* Убираем рамку */
    font-size: 20px;
    padding: 13px 20px;
    /* Отступы внутри кнопки */
    cursor: pointer;
    /* Курсор при наведении */
    border-top-right-radius: 25px;
    /* Правый верхний радиус */
    border-bottom-right-radius: 25px;
    /* Правый нижний радиус */
}

.ld-search__form-btn input:hover {
    background-color: #444;
    /* Цвет фона кнопки при наведении */
}

.ld-search__form-wr button {
    background-color: #375879;
    /* Цвет фона кнопки */
    color: #fff;
    /* Цвет текста кнопки */
    border: none;
    /* Убираем рамку */
    font-size: 14px;
    padding: 13px 20px;
    /* Отступы внутри кнопки */
    cursor: pointer;
    /* Курсор при наведении */
    border-top-right-radius: 25px;
    /* Правый верхний радиус */
    border-bottom-right-radius: 25px;
    /* Правый нижний радиус */
    border-top-left-radius: 25px;
    /* Правый верхний радиус */
    border-bottom-left-radius: 25px;
    /* Правый нижний радиус */
}



.result-meta { color:#475569; font-size:13px; margin-left:12px; width: 80%; text-align: left }

/*--------------audio:---------------------*/
.audio{
    display: flex;
    align-items: center;
}

.audioANDorfoepia{
    display: flex;
}


#audio-player {
    display: flex;
    align-items: center;
    border-radius: 5px;

}

.round-button {
    width: 42px;
    height: 42px;
    background-color: #007bff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
}

.round-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 15px solid white;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.round-button.playing::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 5px;
    height: 5px;
    background-color: white;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/*--------------Орфоэпиясы:---------------------*/
.orfoepia-text {
font-weight: bold;
    color: #469977;
}

/*--------------орфограмма---------------------*/

/*--------------Идиомалар-Термин сөздік--------------------*/


.button-container {
            display: flex;
            gap: 10px; /* Пробел между кнопками */
        }

        .button {
            display: inline-flex;
            align-items: center;
            padding: 10px 20px;
            border-radius: 25px;
            background-color: #f0f0f0;
            color: #333;
            text-decoration: none;
            font-family: Arial, sans-serif;
            font-size: 16px;
            border: 2px solid #adadad;
            text-align: center;
        }

        .button .icon {
            margin-left: 10px;
        }



/*--------------Лексика:---------------------*/

.lecsikaFon{
    background: #ffffff;
    padding: 10px;
}

#lecsika {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

#lecsika th,
#lecsika td {
    border: 1px solid #cbcbcb;
    padding: 8px;
    text-align: left;
}

#lecsika th {
    background-color: #f2f2f2;
    width: 150px;
}


/*--------------Идиома:---------------------*/

#idomaText {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: #f9f9f9; /* Фон для всей таблицы */
}

#idomaText th,
#idomaText td {
    border: none;
    padding: 8px;
}

/* Заголовки */
#idomaText th {
    background-color: #f2f2f2;
    text-align: center; /* Выравнивание по центру */
    font-weight: bold;
    font-size: 16px;
}

/* Разделение заголовков на две равные части */
#idomaText th[data-key="tirkess"],
#idomaText th[data-key="definisias"] {
    width: 50%; 
}

/* Четные строки */
#idomaText tr.even {
    background-color: #ffffff; /* Цвет фона для четных строк */
    border: 1px solid #cbcbcb;
}

/* Нечетные строки */
#idomaText tr.odd {
    background-color: #ffffff; /* Цвет фона для нечетных строк */
    border: 1px solid #cbcbcb;
}












  @media (max-width: 720px) {
      
     body {
    margin: 0;
    padding: 0;
    font-family: 'Times New Roman', Times, serif;
    background-color: #ffffff;
    color: #333;
}


/*-------header-------*/

header {
display: grid;
  grid-template-columns: auto auto;
    background-color: #417087;
    /* Темно-синий цвет фона */
    /*padding: 20px 0;
    /* Внутренние отступы сверху и снизу */
    color: #fff;
    /* Цвет текста */
    text-align: center;
    /* Выравнивание текста по центру */
    position: relative;
}

      
      .header-right1{
    
    display: none;
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    /* Внутренние отступы по бокам */
}

.branding {
    display: flex;
    align-items: center;
}
.brandingText {
    display: none;
}
h4 {
font-style: italic;
    font-weight: lighter;
    text-align: justify;
}

.logo {
    height: 50px;
    /* Высота логотипа */
    margin-right: 10px;
    /* Отступ справа от логотипа */
}

h1 {
    font-size: 14px;
    margin: 0;
    text-align: left;
}

nav {
background-color: #ffffff;
    padding: 10px 0;
    width: 100%;
    height: 80%;
    /* position: absolute; */
    right: 0;
        margin: auto;
    /* transform: translateY(-50%); */
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
}

.customNav-nav-menu-base {
    list-style-type: none;
    /* Убираем маркеры списка */
    display: flex;
    justify-content: right;
    /* Выравнивание элементов списка по центру */
    /* Убираем отступы */
    margin: 0;
    /* Убираем отступы */
    text-align: right;
            flex-direction: column;
}

.customNav-dropdown-base {
    margin: 0 10px;
    /* Отступы между элементами списка */
}

.customNav-dropdown-toggle-base {
    color: #417087;
    /* Цвет текста */
    text-decoration: none;
    /* Убираем подчеркивание */
    padding: 5px 10px;
    /* Внутренние отступы */
    display: block;
    /* Делаем элементы блочными */
    font-size: 14px;
}

.customNav-dropdown-toggle-base:hover {
    background-color: #f28e00;
    /* Оранжевый цвет при наведении */
}


/*--------------container:---------------------*/
.container {
width: 90%;
    margin: 0 auto;
    background: #d0dcea;
    padding: 10px;
}
 
   /*-------search bar-------*/

.ld-search {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    flex-direction: column;
            background: #c4ceda;
        padding: 10px;
        border-radius: 10px;
    /* Отступ сверху, если нужно */
}

.ld-search__form {
    width: 100%;
    max-width: 600px;
    /* Максимальная ширина формы */
}

.ld-search__form-wr {
    display: flex;
    align-items: center;
    /*border: 2px solid #ccc;
    /* Рамка формы */
    /*border-radius: 25px;
    /* Радиус закругления */
    overflow: hidden;
    justify-content: center;
}

.ld-search__form-input {
    width: 100%;
}

.ld-search__form-input input {
    border: none;
    /* Убираем рамку у input */
    width: 94%;
    padding: 10px 15px;
    font-size: 20px;
    /* Размер текста */
    flex: 1;
    /* Заполнение оставшегося пространства */
    border-top-left-radius: 25px;
    /* Левый верхний радиус */
    border-bottom-left-radius: 25px;
    /* Левый нижний радиус */
}

.ld-search__form-input input:focus {
    outline: none;
    /* Убираем обводку при фокусе */
}

.ld-search__form-btn input {
    background-color: #ffa500;
    /* Цвет фона кнопки */
    color: #fff;
    /* Цвет текста кнопки */
    border: none;
    /* Убираем рамку */
    font-size: 15px;
    padding: 13px 20px;
    /* Отступы внутри кнопки */
    cursor: pointer;
    /* Курсор при наведении */
    border-top-right-radius: 25px;
    /* Правый верхний радиус */
    border-bottom-right-radius: 25px;
    /* Правый нижний радиус */
}

.ld-search__form-btn input:hover {
    background-color: #444;
    /* Цвет фона кнопки при наведении */
}

.ld-search__form-wr button {
    background-color: #417087;
    /* Цвет фона кнопки */
    color: #fff;
    /* Цвет текста кнопки */
    border: none;
    /* Убираем рамку */
    font-size: 15px;
    padding: 13px 20px;
    /* Отступы внутри кнопки */
    cursor: pointer;
    /* Курсор при наведении */
    border-top-right-radius: 25px;
    /* Правый верхний радиус */
    border-bottom-right-radius: 25px;
    /* Правый нижний радиус */
    border-top-left-radius: 25px;
    /* Правый верхний радиус */
    border-bottom-left-radius: 25px;
    /* Правый нижний радиус */
            margin-top: 10px;
}
   
      /*--------------Сөз:---------------------*/
#textInput{
    font-size: 25px;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
}
#textOutput{
display: flex;
    align-items: center;
}

.Lema {
    display: flex;
}

.latin-text {
    font-weight: bold;
    color: #2196F3;
    font-size: 18px;
}
/*
.converted-text{
        font-weight: bold;
    color: #469977;
}*/

.circle-text {
    display: inline-block;
    width: 40px; /* Ширина круга */
    height: 40px; /* Высота круга */
    line-height: 40px; /* Высота строки для вертикального центрирования текста */
    border-radius: 50%; /* Делает элемент круглым */
    background-color: orange; /* Цвет фона */
    color: white; /* Цвет текста */
    text-align: center; /* Выравнивание текста по центру */
    font-family: 'Times New Roman', Times, serif; /* Шрифт текста */
    font-size: 22px; /* Размер текста */
    font-weight: bold; /* Жирный текст */
}
#sozJassam{
    display: flex;
    align-items: center;
        font-weight: bold;
    color: #2196F3;
    font-size: 18px;
}

/*--------------audio:---------------------*/
.audio{
    display: flex;
    align-items: center;
}

.audioANDorfoepia{
    display: flex;
}


#audio-player {
    display: flex;
    align-items: center;
    border-radius: 5px;

}

.round-button {
    width: 42px;
    height: 42px;
    background-color: #007bff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
}

.round-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 15px solid white;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.round-button.playing::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 5px;
    height: 5px;
    background-color: white;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/*--------------Орфоэпиясы:---------------------*/
.orfoepia-text {
font-weight: bold;
    color: #469977;
}

/*--------------орфограмма---------------------*/

/*--------------Идиомалар-Термин сөздік--------------------*/


.button-container {
            display: flex;
            gap: 10px; /* Пробел между кнопками */
        }

        .button {
            display: inline-flex;
            align-items: center;
            padding: 10px 20px;
            border-radius: 25px;
            background-color: #f0f0f0;
            color: #333;
            text-decoration: none;
            font-family: Arial, sans-serif;
            font-size: 14px;
            border: 2px solid #adadad;
            text-align: center;
        }

        .button .icon {
            margin-left: 10px;
        }



/*--------------Лексика:---------------------*/

.lecsikaFon{
    background: #ffffff;
    padding: 10px;
}

#lecsika {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

#lecsika th,
#lecsika td {
    border: 1px solid #716a6a;
    padding: 8px;
    text-align: left;
}

#lecsika th {
    background-color: #f2f2f2;
    width: 150px;
}

/*--------------Идиома:---------------------*/

#idomaText {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: #f9f9f9; /* Фон для всей таблицы */
}

#idomaText th,
#idomaText td {
    padding: 8px;
    font-size: 14px;
}

#idomaText th {
    background-color: #f2f2f2;
    text-align: left;
}

#idomaText tr.even {
    background-color: #ffffff; /* Цвет фона для четных строк */
}

#idomaText tr.odd {
    background-color: #f1f1f1; /* Цвет фона для нечетных строк */
}
      
      
      
      
      .site-header {
 display: grid;
  justify-content: end;
}
     
      
      
   .result-item {
    display: flex;
    flex-direction: column;
}   
      
 .result-meta {
    color: #475569;
    font-size: 13px;
    margin-left: 12px;
    width: 100%; 
    text-align: left;
}     
      


  }

