/* Указываем box sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Убираем внутренние отступы b  */
ul,
ol{
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6{
  font-size: inherit;
  font-weight: 400;
}

/* Убираем внешние отступы */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

/* Выставляем основные настройки по-умолчанию для body */
body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}


/* Предотвращение изменения размеров блоков и шрифтов */
html,
body{
  height: 100%;
  width: 100%;
  font-size: 100%;
  line-height: 1;
  font-size: 14px;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

/* Элементы a сбрасываем до дефолтных стилей */
a{
  display: inline-block;
  text-decoration-skip-ink: auto;
  text-decoration: none;
}
a:hover{
  text-decoration: none;
}

/* Упрощаем работу с изображениями */
img {
  max-width: 100%;
  vertical-align: top;
}

/* Указываем понятную периодичность в потоке данных у article*/
article > * + * {
  margin-top: 1em;
}

/* Наследуем шрифты для инпутов и кнопок */
input,
button,
textarea,
select {
  font: inherit;
}



/* Делает кнопку кликабельной и убирает отступы в Fire Fox */
button{cursor: pointer;}
button::-moz-focus-inner {padding:0;border:0;}

/* Убирает крестик в Explorer в input */
input::-ms-clear{display: none;}

/* Удаляем все анимации и переходы для людей, которые предпочитай их не использовать */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}