@import url(variables.css);
@import url(animations.css);
@import url(responsive.css);
@import url(base.css);
@import url(layout.css);

/* ==========================================
   MODERN CSS RESET
   ========================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-family-base);
  background-color: var(--bg-main-black);
  color: var(--text-white);
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.theme-light {
  background-color: var(--bg-light);
  color: var(--bg-main-black);
}

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

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

/* Сбрасываем стили для кнопок */
button {
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
}

/* Медиа элементы */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Формы */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* Убираем стили для fieldset */
fieldset {
  border: none;
}

/* Скрываем спиннеры у input type="number" */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}
