@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;600;700&display=swap');

:root {
    --background: #121212;
    --foreground: #e0e0e0;
    --card-foreground: #ffffff;
    --primary: #6366f1;
    --primary-foreground: #ffffff;
    --muted: #2a2a2a;
    --muted-foreground: #a0a0a0;
    --accent: #2d2d2d;
    --accent-foreground: #ffffff;
    --radius: 0.5rem;
}

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

html, body {
    height: 100%;
}

body {
    font-family: 'Fira Code', 'Courier New', Courier, monospace;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.container {
    width: 100%;
    max-width: 800px;
    padding: 4rem 2rem;
    background-color: transparent;
}

h1 {
    color: var(--card-foreground);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    padding-bottom: 0.5rem;
    position: relative;
}

h1::after {
    content: '';
    position: absolute;
    left: 0; /* Changed from 20px to 0 */
    bottom: 0;
    width: 33%; /* Changed from calc(33% - 20px) to 33% */
    height: 1px; /* Changed from 2px to 1px */
    background-color: #D2691E; /* Subtle burnt orange */
}

h2, h3, h4, h5, h6 {
    color: var(--card-foreground);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    text-align: left;
    font-size: 1rem;
}

code {
    background-color: var(--muted);
    color: var(--primary);
    padding: 0.2rem 0.4rem;
    border-radius: var(--radius);
    font-size: 0.9em;
}

pre {
    background-color: var(--muted);
    padding: 1rem;
    border-radius: var(--radius);
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

pre code {
    background-color: transparent;
    padding: 0;
    color: var(--muted-foreground);
}

a {
    color: var(--muted-foreground);
    text-decoration: none;
    border-bottom: 1px solid var(--muted-foreground);
    transition: color 0.2s ease, border-bottom-color 0.2s ease;
}

a:hover {
    color: var(--foreground);
    border-bottom-color: var(--foreground);
}