/* Основные стили */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-image: url('../img/img.jpg'); /* Путь к картинке фона */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
}

/* Основной стиль для header */
header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  text-align: center;
  position: relative;
  width: 100%;
}

/* Логотип по центру */
.header-logo {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 10px;
}

.header-logo img {
  max-width: 300px;
  height: auto;
}

/* Кнопки Вход и Регистрация */
.header-auth {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
}

.header-auth button {
  background-color: rgba(70, 70, 70, 0.8);
  color: white;
  border: 1px solid #555;
  padding: 8px 12px;
  margin-left: 10px;
  cursor: pointer;
}

/* Стиль для описания под логотипом */
.header-description {
  margin-top: -10px;
  max-width: 600px;
  color: #ccc;
}

/* Прозрачный фон для контента */
.server-status, .top-players, footer, .sidebar-left nav {
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  border-radius: 5px;
  padding: 15px;
}

/* Центральный блок - информационный */
.news {
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border-radius: 5px;
  padding: 15px;
}

/* Основная структура */
main {
  display: flex;
  flex: 1;
  padding: 20px;
  gap: 20px;
}

/* Левая колонка */
.sidebar-left {
  flex: 1;
}

.sidebar-left nav ul {
  list-style: none;
}

.sidebar-left nav ul li {
  margin-bottom: 10px;
}

.sidebar-left nav ul li a {
  color: #fff;
  text-decoration: none;
}

/* Центральная колонка */
.main-content {
  flex: 2;
}

.news-item {
  margin-bottom: 15px;
  color: #ddd;
}

.news-date {
  font-size: 0.8em;
  color: #888;
}

/* Правая колонка */
.sidebar-right {
  flex: 1;
}

.top-players ul {
  list-style: none;
  padding-left: 0;
}

/* Footer */
footer {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 5px 0;
  color: #fff;
  text-align: center;
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-icons .icon {
  color: #fff;
  text-decoration: none;
  font-size: 24px;
}

/* Адаптивность */
@media (max-width: 768px) {
  header {
    padding: 15px;
    text-align: center;
  }
  
  .header-auth {
    position: static;
    margin-top: 10px;
  }
  
  main {
    flex-direction: column;
    padding: 10px;
  }
}

table 
{
  width: 50%; /* Ширина таблицы */
  margin: 20px auto; /* Центрирование таблицы */
  border-collapse: collapse; /* Убираем промежутки между ячейками */
  background-color: rgba(1, 1, 1, 0.6); /* Белый фон с прозрачностью */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Легкая тень для эффекта */
}

table th, table td {
  padding: 10px; /* Просторные отступы внутри ячеек */
  text-align: center; /* Выравнивание текста по центру */
}

table th {
  background-color: rgba(51, 51, 51, 0.9); /* Темный фон для заголовка */
  color: #fff; /* Белый текст в заголовке */
}

table tr:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.05); /* Легкий фон для четных строк */
}

table tr:hover {
  background-color: rgba(100, 100, 100, 0.3); /* Подсветка строки при наведении */
}

table td.name { /* Выравнивание текста в столбце "name" по левому краю */
    text-align: left; /* Выравнивание по левому краю */
}

table img {
    width: 25px; /* Ширина значков */
    height: 25px; /* Высота значков */
    object-fit: contain; /* Сохраняет пропорции значков */
}

/* Основной контейнер регистрации */
.container-login100 {
    width: 100%;
    display: flex;
    justify-content: center;
    /*align-items: center;*/
    
}

/* Обертка формы регистрации*/
.wrap-login100 {
    width: 400px;
    /*background-color: rgba(0, 0, 0, 0.5);*/
    /*border-radius: 10px;*/
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 30px 30px;
}

/* Заголовок формы регистрации*/
.login100-form-title {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}

/* Поля ввода регистрации*/
.wrap-input100 {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.input100 {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 16px;
    color: #333;
    transition: border-color 0.3s ease;
}

.input100:focus {
    border-color: #6a11cb;
    outline: none;
    box-shadow: 0 0 5px rgba(106, 17, 203, 0.5);
}

/* Иконки внутри полей */
.focus-input100::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 18px;
    color: #6a11cb;
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
}

/* Кнопка отправки */
.login100-form-btn {
    width: 100%;
    padding: 10px 15px;
    background: linear-gradient(to right, #6a11cb, #2575fc);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.login100-form-btn:hover {
    background: linear-gradient(to right, #2575fc, #6a11cb);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* Текстовые элементы */
.text-center {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

/* РеКапча */
.g-recaptcha {
    margin: 20px auto;
}

/* Для мобильных устройств */
@media (max-width: 480px) {
    .wrap-login100 {
        width: 90%;
        padding: 30px 20px;
    }

    .login100-form-title {
        font-size: 20px;
    }

    .input100 {
        font-size: 14px;
        padding: 8px 12px;
    }
} /* До сюда поля регистрация border: none;*/

.text-center.input100 {
  border: none;
}