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

html {
    background: var(--background-color);
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--text-color);
    background: var(--background-color);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    padding-bottom: 9.5rem;
}

@media (min-width: 640px) {
    body {
        padding-bottom: 0;
    }
}

button,
a,
input {
    font: inherit;
}

a {
    text-decoration: none;
}

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

[x-cloak] {
    display: none !important;
}

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

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
