/* Общие стили */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    display: flex; /* Используем flexbox */
    flex-direction: column; /* Элементы располагаются вертикально */
    min-height: 100vh; /* Минимальная высота страницы */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex: 1; /* Контент занимает всё доступное пространство */
}

.header {
    background-color: #ffffff;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-left, .logo-right {
    max-height: 50px;
}

.menu {
    background-color: #30464b;
    padding: 10px 0;
}

.menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.menu-button {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.menu-button:hover {
    background-color: #c3930e;
}

.main-content {
    padding: 20px 0;
    flex: 1; /* Основной контент растягивается */
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.data-table th, .data-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.data-table th {
    background-color: #f4f4f4;
}

footer {
    background-color: #30464b;
    color: white;
    text-align: center;
    padding: 10px 0;
    flex-shrink: 0; /* Футер не сжимается */
}


.menu-list {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Общие стили таблицы */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.data-table th,
.data-table td {
    border: 1px solid #ddd;
    padding: 8px;
    vertical-align: middle;
}

.data-table th {
    background-color: #f8f9fa;
    text-align: center;
}

/* Выравнивание по центру */
.center {
    text-align: center;
}

/* Зеленая точка для текущей даты */
.today-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: green;
    border-radius: 50%;
    margin-left: 5px;
    position: relative;
    top: 2px;
    cursor: pointer;
}

.today-indicator:hover::after {
    content: attr(title);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: black;
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
    white-space: nowrap;
}

/* Стиль ссылок */
.menu-button1 {
    text-decoration: none;
    color: #000000; /* Цвет текста белый */
    border: 1px solid #30464b; /* Цвет границы */
    font-size: 16px;
    margin: 2px;
    padding: 8px 16px;
    background-color: #ffffff; /* Цвет фона кнопки */

    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: inline-block;
    text-align: center;
}

.menu-button1:hover {
    background-color: #c3930e; /* Цвет фона при наведении */
    color: #fff; /* Цвет текста при наведении */
}

.today-indicator:hover::after {
    content: attr(title);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: black;
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
    white-space: nowrap;
}

.center {
    text-align: center;
}

/* Общие стили таблицы */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.data-table th,
.data-table td {
    border: 1px solid #ddd;
    padding: 8px;
    vertical-align: middle;
}

.data-table th {
    background-color: #f8f9fa;
    text-align: center; /* Заголовки выровнены по центру */
}

/* Выравнивание по центру */
.center {
    text-align: center !important; /* Добавлено !important для приоритета */
}

/* Стиль ссылки на видео */
.video-link {
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

/* Стиль видео */
video {
    cursor: pointer;
    transition: transform 0.3s ease;
}

video:hover {
    transform: scale(1.05); /* Небольшое увеличение при наведении */
}