/* ==========================================================================
   Reset — глобальный. Подключать ПЕРВЫМ, до style.css.
   ========================================================================== */

/* ===== box-sizing ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* ===== База документа ===== */
html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Verdana', Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    background-color: #f4f0e6;;
}

/* ===== Типографика ===== */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
}

p {
    margin: 0;
}

/* ===== Списки ===== */
ul, ol, menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ===== Ссылки ===== */
a {
    color: inherit;
    text-decoration: none;
    background: transparent;
}

/* ===== Медиа ===== */
img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

img {
    border: 0;
}

svg:not(:root) {
    overflow: hidden;
}

/* ===== Формы ===== */
button,
input,
select,
optgroup,
textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
}

button {
    cursor: pointer;
    text-transform: none;
    overflow: visible;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    padding: 0;
    border: 0;
}

textarea {
    resize: vertical;
    overflow: auto;
    vertical-align: top;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/* ===== Таблицы ===== */
table {
    border-collapse: collapse;
    border-spacing: 0;
    text-indent: 0;
}

/* ===== Фокус ===== */
*:focus {
    outline: 0;
}

*:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* ===== HTML5-блоки ===== */
article, aside, details, figcaption, figure,
footer, header, hgroup, main, nav, section, summary {
    display: block;
}

[hidden] {
    display: none;
}