:root {
  /* 🎨 Основные цвета */
  --gradient-header: linear-gradient(to bottom, #6b6b6b 0px, #2c2c2c 100%);
  --color-accent-bright: #ffcc33;
  /* background-image: var(--gradient-header); */
  /* color: var(--color-accent-bright); */

  --color-bg-light: #f5f5f7;
  --color-bg-dark: #1f2937;

  --color-text-main: #111827;
  --color-text-muted: #6b7280;

  --color-border: #d1d5db;

  --color-accent: #ffcc33;
  --color-accent-hover: #facc15;

  --color-success: #10b981;
  --color-error: #ef4444;

  /* 💡 Пример размеров и шрифтов (если нужно) */
  /* --font-base: 'Inter', sans-serif;
  --radius-md: 0.5rem;
  --transition-fast: 0.3s ease; */
}

/* body {
  background-color: var(--color-bg-light);
  color: var(--color-text-main);
  font-family: var(--font-base);
} */

/* === Reset CSS === */
/* Убираем стандартные отступы, поля и стили браузера */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* === HTML и Body === */
html {
  font-size: 16px;
  /* Базовый размер шрифта (1rem = 16px) */
  scroll-behavior: smooth;
  /* Плавный скроллинг */
}

body {
  /* font-family: 'Roboto', sans-serif; */
  /* font-family: 'Poppins', sans-serif; */
  /* font-family: 'Inter', sans-serif; */
  /* font-family: 'Josefin Sans', sans-serif; */
  /* font-family: 'Playfair Display', serif; */
  font-family: "Libre Baskerville", serif;

  /* Основной шрифт */
  font-size: 16px;
  /* Размер шрифта по умолчанию */
  line-height: 1.6;
  /* Оптимальная высота строки */
  color: #333;
  /* Основной цвет текста */
  background-color: #e3e9f5;
  /* Цвет фона */
}

/* === Ссылки === */
a {
  text-decoration: none;
  color: #007BFF;
  transition: color 0.3s ease;
}

a:hover {
  color: #0056b3;
}

/* === Списки === */
ul,
ol {
  list-style: none;
}

/* === Изображения и медиа === */
img,
video {
  max-width: 100%;
  height: auto;
  /* Сохранение пропорций */
  display: block;
}

/* === Таблицы === */
table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.5rem;
  text-align: left;
  border: 1px solid #ddd;
}

/* === Заголовки === */
h1,
h2,
h3,
h4,
h5,
h6 {
  /* margin-bottom: 1rem; */
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

/* === Формы === */
input,
textarea,
button,
select {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

input:focus,
textarea:focus,
button:focus,
select:focus {
  outline: none;
  border-color: #007BFF;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

button {
  cursor: pointer;
  background-color: #007BFF;
  color: #fff;
  border: none;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #0056b3;
}

/* === Контейнер === */
/* .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
} */

/* === Медиа-запросы === */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .container {
    padding: 0 0.5rem;
  }
}