.section1 {
    position: relative;
    width: 100%; /* Ширина на всю страницу */
    height: 1080px; /* Высота на весь экран */
    background-image: url('/img/banner.jpg');
    background-position: center;
    background-size: cover;
    margin-bottom: 60px;
}

.header-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Общие стили для контейнера */
.auth-container {
    position: relative; /* Для позиционирования authOptions */
    max-width: 400px;
    margin: 20px auto;
    text-align: center;
}

/* Контейнер для основных кнопок */
.auth-main-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* Основные кнопки */
.auth-main-button {
    flex: 1;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background-color: #4285F4;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.auth-main-button:hover {
    background-color: #357ABD;
    transform: scale(1.05);
}

.auth-main-button:active {
    transform: scale(0.95);
}

/* Скрытый блок с вариантами авторизации */
.auth-options {
    position: absolute; /* Позиционируем поверх контента */
    top: 100%; /* Располагаем под кнопками */
    left: 0;
    right: 0;
    margin-top: 10px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000; /* Убедимся, что блок поверх всего */
    display: none; /* Скрываем блок по умолчанию */
}

.auth-options.visible {
    display: block; /* Показываем блок */
}

/* Кнопка закрытия */
.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #333;
}

.close-button:hover {
    color: #000;
}

/* Стили для кнопок авторизации */
.auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.auth-button:hover {
    transform: scale(1.05);
}

.auth-button:active {
    transform: scale(0.95);
}

.auth-button.google {
    background-color: #4285F4;
}

.auth-button.vk {
    background-color: #4C75A3;
}

.auth-button.mailru {
    background-color: #168DE2;
}
.logo {
    position: absolute;
    top: 66px;
    left: 50%; /* Центрирование по горизонтали */
    transform: translate(-50%, -50%); /* Точное центрирование */
    height: 20%;
    max-width: 100%; /* Максимальная ширина */
    width: 900px; /* Начальная ширина */
    height: auto; /* Сохраняем пропорции */
    object-fit: contain; 
}

.title {
    position: absolute;
    top: 450px;
    font-size: 64px;
    color: white;
    line-height: 64px;
}

.no-wrap {
    white-space: nowrap; /* Запрет на перенос строки */
}

.social-icons {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
}

.social-icons img {
    width: 24px;
    height: 24px;
}

/* Стили для модального окна */
.modal {
    display: none; /* Скрыто по умолчанию */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 1);
}

.vibor {
    font-size: 24px;
    margin: 2% auto;
    font-weight: bold;
    color: #0a0a0a;
    z-index: 1001; /* Убедитесь, что кнопка поверх других элементов */
}

.modal-content {
    background-color: white;
    margin: 25% auto;
    padding: 0px;
    border-radius: 5px;
    width: 100%;
    max-width: 580px;
    position: relative;
}

.camera-image {
    position: relative;
}

.camera-image img {
    width: 100%;
    height: auto;
}

/* Стили для эффекта свечения */
.highlight-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 0, 0.3); /* Желтый цвет с прозрачностью */
    pointer-events: none; /* Чтобы не блокировать клики на <area> */
    opacity: 0; /* По умолчанию невидим */
    transition: opacity 0.3s ease; /* Плавное появление */
}

.highlight-overlay.visible {
    opacity: 1; /* Видимый при наведении */
}

/* Заголовок модального окна */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

/* Кнопка закрытия */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #0a0a0a;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1001; /* Убедитесь, что кнопка поверх других элементов */
}

.close:hover {
    color: red;
}

/* Стили для таблицы */
.task-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
}

th, td {
  padding: 12px;
  text-align: left;
  border: 1px solid #ddd;
}

th {
  background-color: #808080;
  color: white;
  text-align: center;
}

.center {
  text-align: center;
}

/* Стили для кнопок */
.select-button {
  padding: 8px 16px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.select-button:hover {
  background-color: #333;
}

#payButton {
  display: block;
  width: 100%;
  padding: 10px;
  margin-top: 20px;
  background-color: #6441a5;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

#payButton:hover {
  background-color: #333;
}

@media (max-width: 930px) {
  .title {
    font-size: 48px;
    line-height: 56px;
  }

  .logo {
    width: 750px; /* Максимальная ширина */
}
}

@media (max-width: 768px) {
  .logo {
    max-width: 600px; /* Максимальная ширина */
}

  .title {
    font-size: 40px;
    line-height:42px;
  }
}

@media (max-width: 640px) {
  .logo {
  width: 500px; /* Максимальная ширина */
}
}

@media (max-width: 520px) {
  .logo {
  width: 330px; /* Максимальная ширина */
}
}

@media (max-width: 480px) {
  .title {
    font-size: 32px;
    line-height:34px;
  }

  .section1 {
    margin-bottom: 30px;
}
}