
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


html {
    font-size: 16px;
    scroll-behavior: smooth;
}

* { 
    margin: 0;
    padding: 0;
    outline: none;
    border: none;
    background-color: transparent;
}

*, *::before, *::after {
    box-sizing: border-box;
}

.body-main {
    position: relative;
    max-width: 100%;
    min-width: 300px;
    width: 100%;
    min-height: 100vh;
    margin: 0 auto;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    display: flex;
    flex-direction: column;
}

body footer {
    margin-top: auto;
}

input,
button,
select,
optgroup,
textarea {
    font: inherit;
    min-width: 0; /* для FF */
}

::-webkit-search-decoration,
::-webkit-search-cancel-button,
::-webkit-search-results-button,
::-webkit-search-results-decoration {
    display: none;
}

::-webkit-file-upload-button {
    font: inherit;
}

::file-selector-button {
    font: inherit;
}

::-webkit-file-upload-button {
    font: inherit;
    -webkit-appearance: button;
}

::-webkit-outer-spin-button,
::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

[type=number] {
    -moz-appearance: textfield;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus { 
    -webkit-text-fill-color: var(--color-text);
    transition: background-color 5000s ease-in-out 0s;
}

textarea {
    resize: vertical;
}

select {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    white-space: normal;
}

label, button, .button, [role=button] {
    user-select: none;
    cursor: pointer;
}

img,
svg {
    flex: none;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

img {
    object-fit: cover;
}

svg {
    fill: currentColor;
}

iframe {
    max-width: 100%;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

a[href^="tel:"] {
    white-space: nowrap;
}

table {
    border-collapse: collapse;
}

iframe {
    border: 0;
}