html, body {
    padding: 0;
    margin: 0;
}

.blog {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px;
}

.markdown {
    max-width: 800px;
}

.markdown h1 {
    text-align: center;
}

.markdown h2,
.markdown h3,
.markdown h4,
.markdown h5,
.markdown h6 {
    text-align: left;
}

.markdown blockquote {
    background: #121212;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 5px 10px 5px 35px;
    position: relative;
    overflow: hidden;
}

.markdown blockquote:before,
.markdown blockquote:after {
    content: '“';
    position: absolute;
    left: 5px;
    top: 10px;
    line-height: 50px;
    font-size: 80px;
    color: rgba(255, 255, 255, 0.3);
    font-family: Arial, sans-serif;
}

.markdown blockquote:after {
    content: '”';
    left: initial;
    top: initial;
    line-height: 0px;
    bottom: 0px;
    right: 0px;
}

.markdown img {
    display: block;
    margin: 10px auto;
    max-width: 100%;
}

.markdown img + code {
    text-align: center;
    width: 100%;
    display: block;
    margin-bottom: 10px;
}

.markdown code {
    background: #313c51;
    color: white;
    padding: 5px;
    border-radius: 3px;
    display: inline-block;
    width: 100%;
    overflow: auto;
}


/* Base styles */
body {
    background-color: #121212; /* Dark background */
    color: #E0E0E0; /* Light grey text for readability */
    font-family: 'Arial', sans-serif; /* Modern, sans-serif font */
    margin: 0;
    padding: 20px;
}

a {
    color: #BB86FC; /* Light purple for links to stand out */
    text-decoration: none; /* No underline */
}

a:hover {
    text-decoration: underline; /* Underline on hover for better UX */
}

/* Blog container and posts */
.blog {
    max-width: 800px; /* Optimal reading width */
    margin: auto;
}

.blog-post {
    background-color: #1F1B24; /* Slightly lighter dark shade for posts */
    margin-bottom: 20px; /* Space between posts */
    padding: 20px; /* Padding inside posts */
    border-radius: 8px; /* Soften edges */
}

.blog-post h1, .blog-post p {
    margin: 0 0 10px 0; /* Adjust spacing */
}

.blog-post__date {
    display: block; /* New line for the date */
    color: #BB86FC; /* Same as links for consistency */
    margin-bottom: 10px; /* Space before the content */
}

.markdown h1, .markdown p {
    color: #FFFFFF; /* Bright white for contrast */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .blog {
        width: auto;
    }
}
