/* Сброс базовых отступов */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Основные стили для страницы */
body {
  font-family: Arial, sans-serif;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url(#);
  background-size: cover;
  background-blend-mode: multiply;
  min-height: 10vh; /* страница будет иметь минимальную высоту в 200% от высоты окна */
}

/* Стили для видеофона */
#bgVideo {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1; /* видео будет позади всего контента */
  background-size: cover;
}

/* Стили для основного содержимого */
.content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 50px;
}

/* Шапка сайта и меню */
.main-header {
  background-color: #ffffff;
  border-bottom: 1px solid #eee; /* тонкая нижняя граница */
}

.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center; /* меню по центру */
  gap: 20px;
  padding: 15px 0;
  margin: 0;
}

.navbar li a {
  text-decoration: none;
  color: #333;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.9rem;
}

.navbar li a:hover {
  color: #ffffff; /* при наведении */
}

/* Секция с заголовками и описанием */
.hero {
  max-width: 800px; /* ограничиваем ширину, чтобы текст был удобочитаем */
  margin: 50px auto; /* центрируем секцию по горизонтали и задаём отступ сверху/снизу */
  text-align: center; /* выравниваем заголовки и текст по центру */
  padding: 0 20px; /* небольшой внутренний отступ слева и справа */
}

.hero h2 {
  font-size: 1rem;
  color: #f25c5c; /* выделяем дополнительный заголовок */
  margin-bottom: 10px;
}

.fade-in-text {
  font-size: 2.5rem;
  margin-bottom: 20px;
  opacity: 0; /* по умолчанию невидим */
  animation: fadeIn 8s forwards; /* анимация появления */
  color: #b7b7b7;
}

.hero p {
  line-height: 1.6;
  font-size: 1rem;
  color: #999999;
}

/* Анимация плавного появления */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Секция с тремя колонками */
.features {
  max-width: 1000px;
  margin: 40px auto; /* центрируем секцию, отступы сверху и снизу */
  display: flex;
  gap: 30px; /* расстояние между колонками */
  justify-content: center; /* выравниваем колонки по горизонтали */
  padding: 0 20px;
}

.feature-box {
  flex: 1;
  text-align: center;
  padding: 0 10px;
  transition: transform 0.3s ease;
}
.feature-box:hover {
  transform: scale(1.2);
}

.feature-box a {
  text-decoration: none; /* Убираем подчеркивание */
  color: #ce6c6c; /* Задаём желаемый цвет ссылки, например, темно-серый */
}

/* Для посещённых ссылок */
.feature-box a:visited {
  color: #bcbcbc; /* Задаём тот же цвет, чтобы не было фиолетового оттенка */
}

.feature-box h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #aeaeae;
}

.feature-box p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #777;
}
.navi {
  text-align: center;
  color: #00ffcb;
}

.wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Стиль самой кнопки */
.button {
  min-width: 100px;
  min-height: 100px;
  display: inline-flex;
  font-family: "Nunito", sans-serif;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 1.9px;
  font-weight: 700;
  color: #313133;
  background: linear-gradient(
    90deg,
    rgba(129, 151, 230, 0.5) 0%,
    rgb(79, 209, 192) 100%
  );
  border: none;
  /* Если хотите, чтобы кнопка была строго квадратной, можно задать border-radius: 0;
     Если же хотите немного скруглить углы, оставьте небольшое значение */
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  outline: none;
  position: relative;
  padding: 10px;
}

/* Псевдоэлемент для подсветки - квадратный */
.button::before {
  border-radius: 10px;
  content: "";
  width: 120px; /* чуть больше, чем кнопка */
  height: 120px;
  border: 6px solid #00ffcb;
  box-shadow: 0 0 60px rgba(0, 255, 203, 0.64);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

.button:hover,
.button:focus {
  transform: translateY(-6px);
}

.button:hover::before,
.button:focus::before {
  opacity: 1;
}

/* Псевдоэлемент для дополнительного эффекта (анимированное "кольцо") — делаем его квадратным */
.button::after {
  content: "";
  width: 30px;
  height: 30px;
  border-radius: 10px; /* квадрат */
  border: 6px solid #00ffcb;
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ring 1.5s infinite;
}

footer hr {
  width: 40%; /* длина линии - 40% от ширины контейнера */
  border: none;
  border-top: 2px solid #ff0000; /* толщина и цвет линии */
  margin: 20px auto; /* центрирование и отступы сверху/снизу */
}

.meme {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
  /* background: rgba(2, 2, 2, 0.5); опционально: фон, чтобы текст читался */
  padding: 10px 0;
  z-index: 100; /* чтобы элемент был поверх остальных */
  color: #b0b0b0;
}
.meme::before {
  content: "";
  display: block;
  width: 50%; /* Длина линии – 50% от ширины контейнера, можно менять */
  margin: 0 auto 10px; /* Центрирование линии и отступ снизу */
  color: #333;
  border-top: 1px solid #333; /* Толщина и цвет линии, можно настроить */
}

/* .button:hover::after,
.button:focus::after {
  animation: none;
  display: none;
} */

@keyframes ring {
  0% {
    width: 10px;
    height: 10px;
    opacity: 1;
  }
  100% {
    width: 300px;
    height: 300px;
    opacity: 0;
  }
}
