/* 1. Используем более интуитивную модель размеров (border-box) */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Убираем внутренние и внешние отступы */
* {
  margin: 0;
  padding: 0;
}

/* 3. Устанавливаем базовые значения для высоты и плавной прокрутки */
html {
  height: 100%;
  scroll-behavior: smooth;
}

/* 4. Делаем body блочным и растягиваем на всю высоту */
body {
  min-height: 100%;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 5. Упрощаем работу с медиа-элементами */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 6. Убираем встроенные стили для списков */
ul,
ol {
  list-style: none;
}

/* 7. Наследование шрифтов для форм */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* 8. Убираем стандартные стили ссылок */
a {
  text-decoration: none;
  color: inherit;
}

/* 9. Убираем подчеркивание у кнопок */
button {
  background: none;
  border: none;
  cursor: pointer;
}

/* 10. Сбрасываем таблицы */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 11. Избегаем разрывов слов */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* 12. Убираем стандартное поведение у fieldset */
fieldset {
  border: 0;
}

/* 13. Сбрасываем стили для цитат */
blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}