html, body {
    height: 100%; /* Устанавливаем высоту для корневых элементов */
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #1e1e2e;
    color: #ffffff;
    display: flex;
    flex-direction: column;
}

p {
    margin: 0;
}

.container {
    flex: 1;
    width: 70%;
    margin: 20px auto;
    flex-direction: column;
}

/* Навигация по сайту */
nav {
    background-color: #28293e;
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.2em;
    transition: color 0.3s ease, background 0.3s ease;
    padding: 8px 16px;
    border-radius: 5px;
}

nav a.active {
    background: rgba(255, 255, 255, 0.1);
    color: #ffab00;
}

/* Наведение, исключая активные ссылки */
nav a:not(.active):hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffab00;
}

/* Убираем стандартный стиль ссылок */
a:visited,
a {
    color: inherit;
    text-decoration: none;
}

.results-summary {
    margin: 10px 0 20px; /* Отступы сверху и снизу */
    font-size: 1.2rem; /* Увеличенный текст */
    font-weight: bold; /* Полужирный текст */
    color: #ffab00; /* Цвет, чтобы выделить */
    text-align: left; /* Выравнивание текста по левому краю */
}

#reportIssueBtn {
    position: fixed;
    top: 40px;
    right: 40px;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    transition: background-color 0.3s;
    z-index: 1000;
}
#reportIssueBtn:hover {
    background-color: #c0392b;
}

.landing-container {
    margin: 20px auto;
    padding: 20px;
    background: #28293e; /* Сделано темнее, чтобы соответствовать сайту */
    color: #ffffff;
    font-family: Arial, sans-serif;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.landing-container h2 {
    text-align: center;
    font-size: 26px;
    color: #ffcc00;
    margin-bottom: 20px;
}

.landing-container h3 {
    font-size: 20px;
    color: #ff9900;
    margin-top: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.landing-container p, .landing-container li {
    font-size: 16px;
    line-height: 1.6;
}

.landing-container ul {
    list-style-type: none;
    padding: 0;
}

.landing-container ul li {
    background: rgba(255, 255, 255, 0.08);
    padding: 10px 14px;
    margin: 6px 0;
    border-radius: 5px;
    align-items: center;
    transition: background 0.3s ease-in-out;
}

.landing-container ul li:before {
    content: "▪";
    font-weight: bold;
    margin-right: 10px;
}

.landing-container a {
    color: #ffcc00; /* Жёлтый цвет ссылок */
    text-decoration: underline; /* Подчёркивание для лучшей видимости */
    font-weight: bold; /* Немного утолщаем */
    transition: color 0.3s ease-in-out; /* Плавное изменение цвета */
}

.landing-container a:hover {
    color: #ffaa00; /* Оранжевый цвет при наведении */
    text-decoration: none; /* Убираем подчёркивание при наведении */
}

#lang-switcher {
    align-content: center;
}

/* Кнопка как flex-контейнер для центрирования */
.lang-button {
    border: none;
    background-color: transparent;
    width: 32px;
    height: 24px;
    cursor: pointer;
    padding: 0;
    align-items: center; /* выравнивание по вертикали */
    justify-content: center; /* выравнивание по горизонтали */
}

/* Стили для изображения внутри кнопки */
.lang-button img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    border: 2px solid transparent;
    box-sizing: border-box;
    transition: border-color 0.3s;
    object-fit: contain;
}

/* Ховер и активное состояние для изображения */
.lang-button:hover img,
.lang-button.active img {
    border-color: rgba(255, 171, 0, 0.8);
}
