/* Color Scheme Variables - Original Dark */
:root {
    --bg-primary: #050a10;
    --bg-secondary: #151a20;
    --bg-code: #050a15;
    --text-primary: #999;
    --text-light: #bbb;
    --accent-primary: #0566bb;
    --accent-secondary: #551;
    --accent-tertiary: #441;
    --border-color: #050a10;
}

@font-face {
    font-family: 'victor mono';
    src: url('../fonts/VictorMono-VariableFont_wght.ttf');
}

html {
    background: var(--bg-primary);
    text-underline-position: under;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

body {
    color: var(--text-primary);
    margin: 0;
    font-family: 'victor mono', 'Courier New', monospace;
    font-size: 0.9em;
    padding: 20px;
    line-height: 1.5em;
    max-width: 800px;
    width: 100%;
}

h1 { margin-bottom: 0.5em; }

h3 {
    text-decoration: underline var(--accent-secondary) 3px;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    text-align: center;
}

h4 {
    text-decoration: underline var(--accent-secondary) 3px;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

hr {
    width: 86%;
    height: 0px;
    border: none;
    border-top: 4px dashed var(--border-color);
    margin: 2em auto;
}

code {
    overflow: auto;
    font-size: 1.0em;
    color: var(--text-primary);
    background-color: var(--bg-code);
    padding: 1px 4px;
    border-radius: 4px;
    font-family: 'victor mono', 'Courier New', monospace;
}

pre {
    position: relative;
    left: 2%;
    max-width: 92%;
    overflow: auto;
    font-size: 1.1em;
    padding: 16px;
    background-color: var(--bg-code);
    border-radius: 6px;
    border: 1px solid var(--border-color);
    margin: 1em 0;
}

.quote-block {
    background: var(--bg-secondary);
    padding: 40px 80px;
    border-radius: 6px;
    margin-bottom: 2em;
    box-shadow: inset 0px 0px 10px rgba(0,0,0,0.3);
    border: 1px solid var(--border-color);
}

.quote-block h3 {
    margin-top: 0;
    color: var(--text-light);
}

.attribution {
    color: var(--text-primary);
    text-decoration: underline 3px var(--accent-tertiary);
}

/* Link Styles */
a:link, a:visited {
    color: var(--accent-primary);
    background-color: transparent;
    text-decoration: underline var(--accent-primary) 2px;
}

a:hover {
    color: var(--accent-primary);
    background-color: transparent;
    text-decoration: underline var(--accent-primary) 4px;
    filter: brightness(1.2);
}

a:active {
    color: var(--text-light);
    background-color: transparent;
}

/* Header */
.header {
    margin-bottom: 2em;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1em;
}

.header h1 a {
    text-decoration: none;
    color: var(--text-light);
}

.header h1 a:hover {
    text-decoration: underline var(--accent-primary) 3px;
}

.header h4 {
    margin-top: 0.5em;
    font-style: italic;
    color: var(--text-primary);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 600px) {
    html { padding: 10px; }
    body { padding: 10px; font-size: 0.85em; }
    pre { left: 0; max-width: 100%; font-size: 1em; padding: 12px; }
}

@media (max-height: 800px) {
    html { align-items: flex-start; padding-top: 20px; }
}

/* This ensures image in your post stay contained */
article img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1em 0; /* Adds some nice spacing above and below the image */
    border-radius: 4px; /* Optional: matches your theme's soft corners */
}

