/* Explain: Base document styles, including typography and global element styling. - */
* {
    box-sizing: border-box;
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    margin: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    text-rendering: geometricPrecision;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

img {
    display: block;
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--font-heading);
}

::selection {
    background: var(--secondary-color);
    color: #fff;
}