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

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

body {
    overflow-x: hidden;
    background: var(--background-color);
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    display: block;
    filter: grayscale(1);
}

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

button {
    font-family: inherit;
}

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

[id] {
    scroll-margin-top: 96px;
}

:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: 6px;
}

.is-hidden {
    display: none !important;
}

::-webkit-scrollbar {
    width: 11px;
    height: 11px;
}

::-webkit-scrollbar-track {
    background: var(--background-color);
}

::-webkit-scrollbar-thumb {
    background: #d6d6d6;
    border-radius: 999px;
    border: 2px solid var(--background-color);
}

::-webkit-scrollbar-thumb:hover {
    background: #bcbcbc;
}