/* --------- Inter --------- */
@font-face {
  font-family: 'Inter';
  src: url("../fonts/Inter/Inter-Regular.76e872bc911c.otf") format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Inter';
  src: url("../fonts/Inter/Inter-Bold.d759e235e88e.otf") format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Inter';
  src: url("../fonts/Inter/Inter-Light.d70199471058.otf") format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Inter';
  src: url("../fonts/Inter/Inter-Italic.0f9f3b37376a.otf") format('opentype');
  font-weight: 400;
  font-style: italic;
}

/* --------- Open Sans --------- */
@font-face {
  font-family: 'Open Sans';
  src: url("../fonts/OpenSans/OpenSans.78b0c5ccb2f4.ttf") format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Open Sans';
  src: url("../fonts/OpenSans/OpenSans-Italic.b80c55e33953.ttf") format('truetype');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Leonovich';
  src: url("../fonts/Leonovich.df6f5169fba5.ttf") format("truetype");
}


/* Box sizing border-box по умолчанию */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Убираем отступы и паддинги */
body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}

/* Убираем стандартный список у ul/ol */
ul[role='list'],
ol[role='list'],
ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Наследуем шрифт и устанавливаем базовые параметры для body */
body {
  min-height: 100vh;
  line-height: 1.5;
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Убираем стандартное оформление ссылок */
a {
  text-decoration: none;
  color: inherit;
}

/* Сделать изображения гибкими */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Наследуем шрифт у форм */
input, button, textarea, select {
  font: inherit;
}

/* Убираем стилизация кнопок в разных браузерах */
button {
  all: unset;
  cursor: pointer;
}

/* Убираем фокус-блюр браузера, оставляя возможность стилизовать */
:focus {
  outline: none;
}

/* Опционально: убираем transition при уменьшении производительности */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
