:root {
    --bg: light-dark(#ffffff, #000000);
    --red: #ff0000;
    --selection-bg: light-dark(#eeeeee, #333333);

    color-scheme: light dark;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

::selection {
    color: inherit;
    background-color: var(--selection-bg);
}

html,
body {
    min-height: 100%;
    background-color: var(--bg);
    font-size: 12px;
    line-height: 18px;
}

html {
    text-rendering: optimizelegibility;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body,
pre,
code {
    font-family: var(--font-commit-mono);
}