/* ===============================
   Универсальная нормализация CSS
   =============================== */

/* Базовые сбросы и улучшения рендеринга */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	line-height: 1.5;
	-webkit-text-size-adjust: 100%; /* Запрет на автоматическое изменение размера шрифта на iOS */
	-moz-tab-size: 4;
	tab-size: 4;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
		Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	background-color: #fff;
	color: #000;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 1.2rem;
  line-height: 1.6;
  /* overflow-y: hidden; */
  overflow-x: hidden;
}

/* Изображения и медиа */
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
	display: block;
	max-width: 100%;
	height: auto;
}

picture {
	display: block;
}

svg {
	fill: currentColor;
}

/* Формы и кнопки */
button,
input,
optgroup,
select,
textarea {
	font: inherit;
	color: inherit;
	background: none;
	border: none;
	margin: 0;
	padding: 0;
}

button {
	cursor: pointer;
}

:disabled {
	cursor: not-allowed;
}

/* Ссылки */
a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	/* text-decoration: underline; */
}

/* Списки */
ul,
ol {
	list-style: none;
}

/* Таблицы */
table {
	border-collapse: collapse;
	border-spacing: 0;
	width: 100%;
}

th {
	font-weight: bold;
	text-align: left;
}

/* Текстовые элементы */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: inherit;
	font-size: inherit;
}

p {
	margin: 0;
}

/* Полезные дефолты */
[hidden] {
	display: none !important;
}

:focus {
	outline: 2px solid #2684ff;
	outline-offset: 2px;
}
