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

body {
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #f5f5f5;
    line-height: 1.6;
}

.site-header {
    background-color: #333;
    color: #fff;
    padding: 1rem;
    text-align: center;
}

.main-nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
}

.main-nav li {
    margin: 0 1rem;
}

.main-nav a {
    color: #fff;
    padding: 0.5rem 1rem;
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.3s ease;
}

/* Hover effect */
.main-nav a:hover {
    color: #333;
    background-color: #fff;
    border-radius: 4px;
}

.content {
    display: flex;
    flex-wrap: wrap;
    padding: 1rem;
    justify-content: center;
}

/* Other styling for posts, footer, etc. */
.post {
    width: 100%;
    max-width: 600px;
    margin: 1rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.post-title {
    font-size: 1.5rem;
    padding: 1rem;
    color: #333;
}

.post-image img {
    width: 100%;
    height: auto;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.post-content {
    padding: 1rem;
    font-size: 1rem;
}

.site-footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}


/* General styling for content */
.content {
    max-width: 800px;
    margin: 0 auto; /* Centers the content */
    padding: 1rem; /* Adds space around the content */
    line-height: 1.6; /* Improves readability */
    font-size: 1rem;
}

.content h1, .content h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.content p {
    margin-bottom: 1rem; /* Adds space between paragraphs */
}

/* Adjust header and footer alignment for narrow page */
.site-header, .site-footer {
    max-width: 800px;
    margin: 0 auto;
}

/* Optional: Adding subtle shadow to differentiate the content area */
.content {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

/* Styling for the last updated date */
.last-updated {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #555;
}

/* Ensure headings have space above them */
.content h2 {
    margin-top: 2rem;
    font-weight: bold;
}

/* General styling for content */
.content {
    max-width: 800px;
    margin: 0 auto; /* Centers the content */
    padding: 1rem; /* Adds space around the content */
    line-height: 1.6; /* Improves readability */
    font-size: 1rem;
}

/* Optional: Adding subtle shadow to differentiate the content area */
.content {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}
