﻿/* Base */
/* Default colors */
body {
    --text-color: #222;
    --code-color: #ff4200;
    --bkg-color: #fff;
    --panel-color: #ddd;
    --bkg-color-accent: #e4dae9;
    --link-color: purple;
}
    /* Dark theme colors */
    body.dark-theme {
        --text-color: #eee;
        --code-color: orange;
        --bkg-color: #171717;
        --panel-color: #252525;
        --bkg-color-accent: #333;
        --link-color: wheat;
    }

/* Styles for users who prefer dark mode at the OS level */
@media (prefers-color-scheme: dark) {
    /* defaults to dark theme */
    body {
        --text-color: #eee;
        --bkg-color: #171717;
        --panel-color: #252525;
        --bkg-color-accent: #333;
        --link-color: wheat;
    }
        /* Override dark mode with light mode styles if the user decides to swap */
        body.light-theme {
            --text-color: #222;
            --bkg-color: #fff;
            --panel-color: #ddd;
            --bkg-color-accent: #ccc;
            --link-color: purple;
        }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bkg-color);
    color: var(--text-color);
    line-height: 1.5;
}




h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h1,
h2,
h3,
h4,
h5 {
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

p {
    margin: 1rem 0 0.5rem 0;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: #146eeb;
}

    a:hover {
        text-decoration: underline;
    }

ul,
ol {
    margin: 0.5rem 0 1rem;
    padding-inline-start: 2rem;
}

    ul ul,
    ul ol,
    ol ul,
    ol ol {
        margin: 0;
    }
