/* Основные стили */
body {
    margin: 0;
    font-family: "Comfortaa", sans-serif;
    height: 100%; /* Убираем фиксированную высоту */
    overflow: auto; /* Включаем прокрутку */
    overscroll-behavior: none;
    transition: opacity 0.5s ease-in;
}

body.loaded {
    opacity: 1; /* Показываем контент */
}

html, body {
    overscroll-behavior: none; /* Отключает "пружину" */
    -webkit-overflow-scrolling: touch;
    overflow: auto;
    margin: 0;
    padding: 0;
    height: 100%;
}

/* Контент страницы */
.content {
    min-height: calc(100vh + 1px); /* Контент растягивается минимум на высоту экрана */
    padding-bottom: 80px; /* Добавляем отступ, чтобы нижнее меню не перекрывало контент */
    /*padding-top: 110px;*/
    flex: 1;
    overflow: auto;
    box-sizing: border-box;
    background-color: #19bffc;
    height: 100%;
    z-index: 10;
}

::-webkit-scrollbar {
    display: none; /* Для WebKit браузеров (iOS, Safari, Chrome) */
}


/* Шапка */
#top-header {
    /*position: fixed; !* Шапка прокручивается вместе с контентом *!*/
    width: 100%;
    height: 110px;
    background-color: #19bffc; /* Убедитесь, что фон соответствует текущему стилю страницы */
    border-bottom: 1px solid currentColor; /* Линия под шапкой */
    /*z-index: 100;*/
    color: #041f40; /* Цвет текста и элементов шапки */
    transition: border-color 0.3s ease; /* Плавное изменение цвета линии */
    z-index: 10;
}

/*.header-content {*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*    height: 13%;*/
/*    !*height: 110px; !* Высота шапки *!*!*/
/*    background-color: #38383e; !* Фон шапки *!*/
/*    color: inherit; !* Цвет текста в шапке *!*/
/*}*/

.header-content {
    flex: 1;
    flex-direction: row;
    gap: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    /*margin-top: 36px;*/
    /*height: 110px; !* Высота шапки *!*/
    background-color: #19bffc; /* Фон шапки */
    color: #041f40; /* Цвет текста в шапке */
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 1px;
    font-family: "Comfortaa", sans-serif;
    margin-top: 10px;
}

.centered-logo {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 8px;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #19bffc;
    color: #041f40;
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 1px;
    font-family: "Comfortaa", sans-serif;
}

.text-test {
    color: #041f40;
    font-weight: bold;
}

.spinner-container {
    display: flex;
    justify-content: center; /* горизонтальное центрирование */
    align-items: center;     /* вертикальное центрирование */
    height: 60%;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #19bffc; /* Светлый цвет фона */
    border-top: 4px solid #041f40; /* Основной цвет */
    border-radius: 100%; /* Круг */
    animation: spin 1s linear infinite; /* Анимация вращения */
}

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