/* Ein bisschen CSS. Nicht mehr, als nötig. */

:root {
    --text: #1a1a1a;
    --muted: #666;
    --accent: #0a5;
    --bg: #fff;
    --line: #e5e5e5;
    --space: 1.5rem;
}

@media (prefers-color-scheme: dark) {
    :root {
        --text: #e5e5e5;
        --muted: #999;
        --accent: #3c9;
        --bg: #161616;
        --line: #333;
    }
}

body {
    font-family: system-ui, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    max-width: 42rem;
    margin: 0 auto;
    padding: var(--space);
}

.intro {
    display: flex;
    align-items: center;
    gap: var(--space);
}

.avatar {
    flex: none;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 0.9rem;
}

.tagline {
    color: var(--muted);
}

.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0 calc(var(--space) * 2);
}

.grid section {
    flex: 1 1 14rem;
}

h1 {
    margin-bottom: 0;
}

h2 {
    font-size: 1.1rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid var(--line);
}

section {
    margin-top: calc(var(--space) * 1.5);
}

ul {
    padding-left: 1.2rem;
}

a {
    color: var(--accent);
}

footer {
    margin-top: calc(var(--space) * 2);
    padding-top: var(--space);
    border-top: 1px solid var(--line);
    color: var(--muted);
}