/* Убираем внешние и внутренние отступы, задаем правильный box-sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Настройки для всего документа */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Убираем отступы у списков, где задан role="list" */
ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Базовые настройки для body */
body {
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Упрощаем работу с заголовками и элементами ввода */
h1, h2, h3, h4, button, input, label {
  line-height: 1.1;
}

/* Красивое оформление баланса текста для заголовков */
h1, h2, h3, h4 {
  text-wrap: balance;
  margin: 0;
}

/* Стилизация ссылок без классов */
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

/* Улучшение работы с изображениями */
img,
picture,
canvas,
svg,
video {
  max-width: 100%;
  display: block;
}

/* Наследование шрифтов для элементов форм */
input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

pre{
  margin-bottom: 0;
}

/* Удаление анимаций для пользователей, которые их отключили */
/* @media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
} */
