/* ==========================================================
   RESET.CSS
   Базовый сброс стилей
   ========================================================== */

*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    font-size:16px;
    scroll-behavior:smooth;
    -webkit-text-size-adjust:100%;
}

body{
    min-height:100vh;
    text-rendering:optimizeLegibility;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
}

img,
picture,
svg,
video,
canvas{
    display:block;
    max-width:100%;
    height:auto;
}

input,
button,
textarea,
select{
    font:inherit;
    color:inherit;
    background:none;
    border:none;
    outline:none;
}

button{
    cursor:pointer;
}

textarea{
    resize:vertical;
}

a{
    color:inherit;
    text-decoration:none;
}

ul,
ol{
    list-style:none;
}

table{
    border-collapse:collapse;
    border-spacing:0;
    width:100%;
}

fieldset{
    border:0;
}

legend{
    display:block;
}

hr{
    border:0;
}

strong{
    font-weight:700;
}

em{
    font-style:italic;
}

iframe{
    border:0;
}

:focus-visible{
    outline:3px solid #2563eb;
    outline-offset:2px;
}

[hidden]{
    display:none !important;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled{
    cursor:not-allowed;
    opacity:.6;
}

input::-ms-clear{
    display:none;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button{
    -webkit-appearance:none;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button{
    -webkit-appearance:none;
    margin:0;
}

input[type="number"]{
    appearance:textfield;
    -moz-appearance:textfield;
}

::selection{
    background:#2563eb;
    color:#ffffff;
}