html,
body {
    width: 100%;
    min-height: 100%;
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    tab-size: 4;
    font-feature-settings: normal;
    font-variation-settings: normal;
    box-sizing: border-box;
    scroll-behavior: initial;

    @media (prefers-reduced-motion: reduce) {
        scroll-behavior: auto;
    }
}

body {
    margin: 0;
    line-height: inherit;

    &.fixed-body {
        position: fixed;
        height: 100vh;
        height: calc(var(--vh, 1vh) * 100);
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: currentColor;
}

*:focus {
    outline: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: inherit;
    font-size: inherit;
    margin: 0;
}

blockquote,
body,
figure,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
li,
ol,
p,
pre,
ul {
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
}

button,
input,
select,
textarea {
    color: inherit;
    letter-spacing: inherit;
    font: inherit;
}

input[type="number"] {
    appearance: textfield;

    &::-webkit-outer-spin-button,
    &::-webkit-inner-spin-button {
        display: none;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    padding: 0;
    margin: 0;
    border-radius: 0;
    border: 0;
    appearance: none;
    background-color: transparent;
}

button * {
    pointer-events: none;
}

button:hover,
a:hover {
    cursor: pointer;
}

fieldset {
    padding: 0;
    border: none;
}