/* General Body Styling */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #fff; /* White background */
    color: #000; /* Black text */
}

/* Centered Container */
.container {
    max-width: 800px;
    margin: 40px auto; /* Increased vertical margin */
    padding: 20px;
    background-color: #fff;
}

/* Header */
header {
    padding-bottom: 20px;
    margin-bottom: 40px; /* Increased margin */
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2.8em; /* Slightly larger */
    color: #000;
}

header p {
    margin: 10px 0 0;
    color: #555;
    font-size: 1.1em;
}

/* Main Content */
main h2 {
    padding-bottom: 10px;
    margin-bottom: 30px; /* Increased margin */
    color: #000;
    font-size: 1.8em;
}

/* Blog Post List on Index Page */
.post-list {
    list-style: none;
    padding: 0;
}

.post-list li {
    margin-bottom: 40px; /* Increased margin for separation */
    padding: 0; /* No padding */
    transition: opacity 0.3s;
}

.post-list li:hover {
    opacity: 0.7; /* Simple hover effect */
}

.post-list h3 {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 1.5em;
}

.post-meta {
    color: #555;
    font-size: 0.9em;
    margin-bottom: 10px;
}


/* General Link Styling */
a {
    text-decoration: none;
    color: inherit;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

.post-list p {
    margin-bottom: 10px;
    color: #333;
}

/* Blog Post Article */
.blog-post h1 {
    color: #000;
    font-size: 2.2em;
    margin-bottom: 10px;
}

.post-meta {
    color: #555;
    font-size: 0.9em;
    margin-bottom: 40px; /* Increased margin */
}

.blog-post p {
    margin-bottom: 1.2em;
    font-size: 1.1em;
}

/* Code Blocks */
pre {
    background-color: #f5f5f5;
    color: #000;
    padding: 20px;
    margin: 20px 0;
    overflow-x: auto;
    font-family: "Fira Code", "Courier New", monospace;
}

code {
    font-family: "Fira Code", "Courier New", monospace;
    background-color: #eee;
    padding: 2px 5px;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 60px; /* Increased margin */
    padding-top: 20px;
    color: #555;
    font-size: 0.9em;
}

/* Back link */
.back-link {
    display: inline-block;
    margin-top: 40px;
    font-weight: bold;
}
