/* CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Убираем отступы у списков */
ul,
ol {
  list-style: none;
}

/* Убираем подчеркивание у ссылок */
a {
  text-decoration: none;
  color: inherit;
}

/* Убираем стили кнопок */
button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

/* Убираем стили форм */
input,
textarea,
select {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

/* Убираем обводку при фокусе */
*:focus {
  outline: none;
}

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

/* Убираем наследование шрифтов для полей ввода */
input,
textarea,
button,
select {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

/* Убираем дефолтные стили таблиц */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Убираем дефолтные стили заголовков */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  font-size: inherit;
}

/* Убираем стили для параграфов */
p {
  margin: 0;
}