:root {
    --special-color: #E00819;
    --gold-color: rgba(223, 157, 69, 1.00);
}
@font-face {
    font-weight: 400;
    font-family: Pobeda;
    src: url("../fonts/pobeda-regular.ttf");
}

@font-face {
    font-weight: 700;
    font-family: Pobeda;
    src: url("../fonts/pobeda-bold.ttf");
}

@font-face {
    font-weight: 400;
    font-family: Gulim;
    src: url("../fonts/gulim.ttf");
}

@font-face {
    font-weight: 400;
    font-family: BestTen;
    src: url("../fonts/BestTen-CRT.otf");
}

@font-face {
    font-weight: 400;
    font-family: Marby;
    src: url("../fonts/MabryProBlack.otf");
}

@font-face {
    font-weight: 400;
    font-family: Racama;
    src: url("../fonts/Racama.otf");
}



body {
    font-family: BestTen, serif;
}

.head-category-list {
    position: sticky;
    top: 0;
    background-color: #fff;
    border-bottom: 0.5px solid;
}

.category-list {
    overflow-x: scroll;
    overflow-y:hidden;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    margin: 0 -10px;
}
.category {
    margin: 0 10px;
    padding-top: 3px;
    font-size: 12px;
    text-decoration: none;
    color: #000;
    font-family: BestTen, serif;
    white-space: nowrap;
}

/*.category:hover {*/
/*    !*color: var(--gold-color);*!*/
/*    color: var(--special-color);*/
/*}*/

.category-list a.hover-fix {
    color: var(--special-color); /* Цвет, который используется в .category:hover */
}

.speciality {
    border: 1px solid;
    padding-left: 10px;
    padding-right: 8px;
    padding-top: 3px;
    color: var(--special-color);
}

.speciality:hover {
    color: rgb(176, 34, 21);
}


.category-title {
    display: flex;
    font-size: 18px;
    justify-content: center;
}
.dish-title {
    display: flex;
    justify-content: left;
    font-family: Marby, serif;
    font-size: 18px;
    margin-top: 10px;
    line-height: 1.15;
}
.dish-image {
    display: flex;
    justify-content: center;
}
.dish-image > img {
    pointer-events: none;
    max-width: 400px;
}
.dish-weight {
    font-family: Racama, serif;
    font-size: 10px;
}
.dish-description {
    /*margin-top: -5px;*/
    font-family: Racama, serif;
    font-size: 10px;
}
.dish-container {

    padding: 25px;
}
.dish-header {
    display: flex;
    justify-content: space-between;
}
.dish-price {
    padding-top: 5px;
    font-size: 14px;
    font-family: BestTen, serif;
    color: var(--special-color);
}
.dish {
    margin-top: 20px;
}
.importMenu-container {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.import-button-success {
    margin-top: 10px;
    width: 200px;
}

@media (min-width: 1025px) {
    .category-list {
        justify-content: center;
    }
    .head-category-list {
        border-left: 0.5px solid;
        border-right: 0.5px solid;
        border-bottom: 0.5px solid;
    }
}

.category.active {
    font-weight: bold;
    color: #E00819; /* Измените стиль по вашему усмотрению */
}

#loading-screen {
    display: flex;
    flex-direction: column; /* Логотип и спиннер будут в столбик */
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff; /* Цвет фона */
    z-index: 1000;
}

#logo-load {
    max-width: 200px; /* Размер логотипа */
    max-height: 200px;
    margin-bottom: 20px; /* Отступ между логотипом и спиннером */
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1); /* Прозрачная граница */
    border-top: 4px solid #000; /* Цвет верхней границы */
    border-radius: 50%; /* Круглая форма */
    width: 40px; /* Размер спиннера */
    height: 40px;
    animation: spin 1s linear infinite; /* Анимация */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#content {
    display: none; /* Скрываем контент до загрузки */
}

/* styles.css */
.no-scroll {
    overflow: hidden; /* Запрет прокрутки */
    height: 100%; /* Фиксируем высоту */
}

/* assets/styles/style.css */

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.category-list {
    position: relative;
    display: flex;
    align-items: center;
}

.theme-toggle-btn {
    position: sticky;
    left: 0;
    top: 0;
    z-index: 1000;
    background-color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    margin-right: 10px;
    /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);*/
    padding: 12px; /* Убедитесь, что padding равен нулю */
}

body.dark-mode .theme-toggle-btn {
    background-color: #212121;
    color: #ffffff;
}

body.dark-mode {
    /*background-color: #121212;*/
    background-color: #000;
    color: #ffffff;
}

body.dark-mode .dish-container {
    background-color: #000;
}

body.dark-mode .head-category-list {
    background-color: #000;
}

body.dark-mode .speciality {
    border-color: var(--special-color);
    color: var(--special-color);
}

body.dark-mode .category {
    color: #fff;
}

body.dark-mode .category.active {
    font-weight: bold;
    color: #E00819; /* Измените стиль по вашему усмотрению */
}

body.dark-mode .category-title,
body.dark-mode .dish-title,
body.dark-mode .dish-weight,
body.dark-mode .dish-description {
    color: #ffffff;
}

body.dark-mode .spinner {
    border-top-color: var(--special-color);
}

.logo-head {
    max-width: 400px; /* Увеличьте размер по вашему усмотрению */
    display: block;
    margin: 0 auto;
}
