/* CSS Reset - Сброс стилей браузера */

/* Сброс всех элементов */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Сброс для HTML и body */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    background-color: inherit;
}

/* Сброс для заголовков */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

/* Сброс для параграфов */
p {
    margin: 0;
    padding: 0;
}

/* Сброс для списков */
ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Сброс для ссылок */
a {
    margin: 0;
    padding: 0;
    text-decoration: none;
    color: inherit;
    background-color: transparent;
}

/* Сброс для изображений */
img {
    max-width: 100%;
    height: auto;
    border-style: none;
    vertical-align: middle;
}

/* Сброс для форм */
button,
input,
optgroup,
select,
textarea {
    margin: 0;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    background-color: transparent;
    border: none;
    outline: none;
}

/* Сброс для кнопок */
button {
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
}

/* Сброс для таблиц */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Сброс для цитат */
blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

/* Сброс для кода */
code, kbd, pre, samp {
    font-family: inherit;
    font-size: inherit;
}

/* Сброс для деталей */
details {
    display: block;
}

/* Сброс для summary */
summary {
    display: list-item;
}

/* Сброс для template */
template {
    display: none;
}

/* Сброс для скрытых элементов */
[hidden] {
    display: none;
}

/* Сброс для фокуса */
:focus {
    outline: none;
}

/* Сброс для placeholder */
::placeholder {
    color: inherit;
    opacity: 1;
}

/* Сброс для disabled элементов */
:disabled {
    cursor: default;
    opacity: 1;
} 