:root {
    --font-scale: 3px;  /* Adjust this single value to scale all fonts */
}

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

body {
    font-family: 'Courier New', Courier, monospace;
    font-size: calc(18px + var(--font-scale));
    line-height: 1.6;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
    color: #000;
    background: #fffff8;
}

/* Header and Navigation */
header {
    margin-bottom: 40px;
    padding-bottom: 10px;
}

header h1 {
    font-size: calc(24px + var(--font-scale));
    font-weight: normal;
    margin-bottom: 10px;
}

nav {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 5px 0;
}

/* Navigation links */
nav a {
    margin-right: 15px;
    text-decoration: underline;
    color: #000;
    font-size: calc(18px + var(--font-scale));
    font-weight: bold;
}

nav a:visited {
    color: #000;
}

nav a:hover {
    text-decoration: underline;
}

/* Main Content */
main {
    margin-top: 20px;
}

/* Site Title */
.site-title {
    text-align: center;
    font-size: calc(26px + var(--font-scale));
    font-weight: bold;
    margin-bottom: 15px;
}

.site-title a {
    color: #000;
    text-decoration: none;
}

.site-title a:hover {
    text-decoration: none;
    color: #000;
}

h2 {
    font-size: calc(24px + var(--font-scale));
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 10px;
}

h3 {
    font-size: calc(20px + var(--font-scale));
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 8px;
}

p {
    margin-bottom: 15px;
    font-size: calc(18px + var(--font-scale));
}

/* Links */
a {
    color: #000;
    text-decoration: underline;
    font-weight: bold;
}

a:visited {
    color: #000;
}

a:hover {
    color: #000;
    text-decoration: underline;
}   

/* Lists */
ul, ol {
    margin-left: 20px;
    margin-bottom: 15px;
    font-size: calc(18px + var(--font-scale));
}

li {
    margin-bottom: 5px;
}

/* Post List Styling */
.post-list {
    list-style: none;
    margin-left: 0;
}

.post-list li {
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
    font-size: calc(18px + var(--font-scale));
}

.post-date {
    color: #666;
    min-width: 90px;
}

/* Code Blocks */
code {
    font-family: 'Courier New', Courier, monospace;
    background: #f0f0f0;
    padding: 2px 4px;
    font-size: calc(17px + var(--font-scale));
}

pre {
    background: #f0f0f0;
    padding: 10px;
    overflow-x: auto;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    font-size: calc(17px + var(--font-scale));
}

pre code {
    background: none;
    padding: 0;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px 0;
}

/* Blockquotes */
blockquote {
    border-left: 3px solid #ccc;
    padding-left: 15px;
    margin: 15px 0;
    color: #666;
    font-style: italic;
    font-size: calc(18px + var(--font-scale));
}

/* Tables */
table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 15px;
    font-size: calc(18px + var(--font-scale));
}

th, td {
    border: 1px solid #000;
    padding: 5px 10px;
    text-align: left;
}

th {
    background: #f0f0f0 ;
    font-weight: bold;
}

/* Article metadata */
.article-meta {
    color: #666;
    font-size: calc(17px + var(--font-scale));
    margin-bottom: 20px;
}

/* Horizontal rule */
hr {
    border: none;
    border-top: 1px solid #000;
    margin: 20px 0;
}

/* Contact Info */
.contact-info {
    text-align: center;
    margin-bottom: 40px;
}

.contact-info p {
    font-size: calc(16px + var(--font-scale));
    margin-bottom: 0;
}

/* Portfolio Section */
.photo-gallery {
    margin-top: 30px;
}

/* Photo Gallery - Grid Layout */
.photo-gallery {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.photo-gallery img {
    width: 100%;
    height: auto;
    display: block;
}

/* Work Links */
.work-links {
    text-align: center;
    margin-bottom: 40px;
}

.work-links p {
    font-size: calc(16px + var(--font-scale));
    margin-bottom: 0;
}

/* Center article titles */
article h1 {
    text-align: center;
}
