:root {
    /* Light theme variables (default) */
    --background-color: #ffffff;
    --text-color: #333333;
    --link-color: #0066cc;
    --section-header-color: #444444;
}

@media (prefers-color-scheme: dark) {
    :root.theme-auto {
        --background-color: #121212;
        --text-color: #e0e0e0;
        --link-color: #4da6ff;
        --section-header-color: #cccccc;
    }
}

/* Manual theme classes */
:root.theme-dark {
    --background-color: #121212;
    --text-color: #e0e0e0;
    --link-color: #4da6ff;
    --section-header-color: #cccccc;
}

:root.theme-light {
    --background-color: #ffffff;
    --text-color: #333333;
    --link-color: #0066cc;
    --section-header-color: #444444;
}

body {
    font-family: Inter, Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
    padding: 15px;
    background-color: var(--background-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    padding: 5px;
    font-size: 16px;
}

.section-header {
    margin-top: 20px;
    font-weight: bold;
    color: var(--section-header-color);
}

ul {
    padding-left: 20px;
    margin-top: 5px;
    margin-bottom: 5px;
}

li {
    margin-bottom: 1px;
}

.link {
    color: var(--link-color);
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

.footer {
    margin-top: 2px;
}