::-webkit-scrollbar {
    width: var(--scrollbar-width);
}
::-webkit-scrollbar-thumb {
    background-color: var(--scrollbar-color);
    border-radius: 10px;
}
::-webkit-scrollbar-track {
    background: var(--scrollbar-track-color);
}

body { 
    font-weight: 500;
    color: var(--text-color);
    background-color: var(--primary-color);
    overflow: overlay;
}

hr {border: 1px solid #b8b8b8;}

button {
    outline: none;
}

a, button, select, textarea {
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.178);
}

/* Remove ugly tap highlight (mobile) */
a, button, select, textarea {
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.15);
}

/* Buttons: clean base */
button {
    outline: none;
    border: none;
    background: none;
    cursor: pointer;
}

/* Restore accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Links */
a {
    text-decoration: none;
    color: inherit;
}

/* Form elements */
input, textarea, select {
    font: inherit;
    outline: none;
}

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

/* Lists */
ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Headings reset */
h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
}

/* Body defaults */
body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}