/* General Styles */
body {
    font-family: 'Merriweather', 'Arial', 'Georgia', serif;
    font-size: 18px;
    line-height: 1.6;
    color: #dcdcdc; /* Light grey text */
    background-color: #121212; /* Dark background */
    padding: 20px;
    margin: 0;
}

/* Container for Blog Content */
.blog-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #1e1e1e; /* Slightly lighter background for contrast */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); /* Slightly darker shadow */
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff; /* White headings */
    margin-top: 1.2em;
    margin-bottom: 0.5em;
    line-height: 1.2;
    font-family: 'Merriweather', serif;
}

/* Paragraphs */
p {
    margin-bottom: 1.5em;
}

/* Links */
a {
    color: #4dabf7; /* Light blue links */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Lists */
ul, ol {
    margin: 1.5em 0;
    padding-left: 1.5em;
}

li {
    margin-bottom: 0.5em;
}

/* Blockquotes */
blockquote {
    border-left: 4px solid #4dabf7; /* Blue border for blockquotes */
    padding-left: 1em;
    margin-left: 0;
    color: #aaaaaa; /* Light grey text for blockquotes */
    font-style: italic;
}

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

/* Code Blocks (Terminal Style) */
pre {
    background: #2d2d2d;
    padding: 1em;
    overflow: auto;
    border-radius: 4px;
    font-size: 0.9em;
    line-height: 1.5;
    color: #dcdcdc;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Terminal Window Header */
pre::before {
    content: '';
    display: block;
    position: absolute;
    top: -1.6em;
    left: 0;
    width: 100%;
    height: 1.6em;
    background: #272822;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

/* Terminal Window Buttons */
pre::after {
    content: '● ● ●';
    font-size: 0.8em;
    position: absolute;
    top: -1.4em;
    left: 0.5em;
    color: #ff5f56;
    letter-spacing: 0.2em;
    display: flex;
    justify-content: flex-start;
    gap: 0.4em;
}

pre::after span:nth-child(2) {
    color: #ffbd2e;
}

pre::after span:nth-child(3) {
    color: #27c93f;
}

/* Monokai Syntax Highlighting */
code {
    font-family: 'Source Code Pro', monospace;
    color: #f8f8f2; /* Default text color */
}

/* Responsive Design */
@media (max-width: 600px) {
    body {
        font-size: 16px;
    }

    .blog-container {
        padding: 10px;
    }
}
