html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*, *::before, *::after {
    box-sizing: inherit;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family-sans);
    color: var(--color-text);
    background: var(--color-background);
}

img,
video,
canvas,
audio,
iframe {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Keep inline SVG icons from collapsing when height:auto is applied globally */
svg {
    max-width: 100%;
}

button,
input,
textarea,
select,
a {
    font: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

input,
textarea,
select,
button {
    outline: none;
}
