<?php
$backgroundColor = '#f0f0f0'; // Пример значения переменной
?>

body {
    background-color: <?php echo $backgroundColor; ?>;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

form {
    border: 2px solid gold;
    padding: 20px;
    margin-bottom: 20px;
    max-width: 700px;
    margin-right: auto;
    margin-left: auto;
    color: gold;
    background-color: black;
}


input[type="text"],
input[type="password"],
input[type="number"],
select,
input[type="color"] {
    width: 100%;
    padding: 2px;
    margin: 2px 0;
    display: inline-block;
    border: 1px solid gold;
    box-sizing: border-box;
}

h3 {
    text-align: center;
}

table {
    border-collapse: collapse;
    width: 100%;
}

th, td {
    border: 1px solid gold;
    padding: 8px;
    text-align: left;
   background-color: black;
color: gold;
}

#backgroundColor {
    width: 10px;
    margin-top: 8px;
}

.buttons a {
    text-decoration: none;
    color: gold;
    background-color: black;
    padding: 10px;
    border-radius: 0px;
    display: block;
    margin-bottom: 1px;
    text-align: center;
z-index: 999;
}

.buttons a:hover {
    background-color: black;
}

        .menu-btn {
    background-color: black; /* Светлый фон для кнопки */
    color: gold;
            display: flex;
            flex-direction: column;
            cursor: pointer;
            padding: 10px;
        }

        .line {
            height: 3px;
            width: 25px;
    background-color: gold;
            margin: 3px 0;
        }

        .hidden-menu {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 200px;
            height: 100vh;
    background-color: none; /* Белый фон с небольшой прозрачностью */
            padding-top: 60px;
            z-index: 999;
        }

/* Изменение цвета всех ссылок */
a {
  color: gold; /* Цвет ссылок в обычном состоянии */
}

/* Изменение цвета ссылок при наведении курсора */
a:hover {
  color: gold; /* Цвет ссылок при наведении */
}

/* Изменение цвета посещенных ссылок */
a:visited {
  color: gold; /* Цвет посещенных ссылок */
}

        .hidden-menu a {
            display: block;
            padding: 10px;
            text-decoration: none;
            color: gold;
        }

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
z-index: 2001;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    color: gold;
}
        .buttons, .language-switcher {
            z-index: 2000; /* Установка высокого z-index для бокового меню и переключателя языков */
        }

        .other-langs {
            z-index: 2001; /* Убедитесь, что выпадающий список языков выше других элементов */
        }