/* General Body Styles */
body {
    font-family: 'Georgia', serif;
    line-height: 1.8;
    color: #333;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

/* Header Styles */
header {
    background: #fff;
    padding: 1rem 2rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 a {
    text-decoration: none;
    color: #333;
    font-size: 1.5rem;
}

header nav a {
    text-decoration: none;
    color: #555;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: #007bff;
}

/* Main Content Styles */
.blog-post {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.blog-post article h2 {
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.blog-post .date {
    color: #777;
    margin-bottom: 2rem;
    font-style: italic;
}

.blog-post p {
    margin-bottom: 1.5rem;
}

.blog-post h3 {
    font-size: 1.8rem;
    color: #333;
    margin-top: 3rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5rem;
}

.blog-post ul {
    list-style-type: none;
    padding-left: 0;
}

.blog-post ul li {
    background: #f0f7ff;
    margin-bottom: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-left: 4px solid #007bff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post ul li:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.blog-post a {
    color: #007bff;
    text-decoration: none;
    transition: text-decoration 0.3s ease;
}

.blog-post a:hover {
    text-decoration: underline;
}

.blog-post pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.blog-post code {
    font-family: 'Courier New', Courier, monospace;
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
    background: #333;
    color: #fff;
}
