/* Explain: Base reset and typography defaults for the application. */
* {
    box-sizing: border-box;
}

html {
    background: var(--background-color);
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-color);
}

p,
li,
a,
span,
label,
legend,
input,
select,
textarea,
button,
dt,
dd {
    font-family: var(--font-body);
}

img {
    max-width: 100%;
    height: auto;
}

::selection {
    background: var(--primary-color);
    color: #FFF9F1;
}

@media (max-width: 1023px) {
    body {
        padding-bottom: 3.5rem;
    }
}