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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #b9b26c;
    color: #576d2c;
}

.container {
    max-width: 960px;
    margin: 20px auto;
    display: flex;
    flex-wrap: wrap;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header {
    background-color: #576d2c;
    padding: 10px 0;  /* Reduced vertical padding for a smaller header */
    text-align: center;
}

.logo {
    display: inline-flex;       /* Arrange logo image and text in one line */
    align-items: center;        /* Vertically center the items */
    justify-content: center;
}

.logo img {
    max-width: 100px;           /* Adjust image size as needed */
    margin-right: 10px;         /* Space between the logo image and the text */
}

.logo-text {
    font-size: 1.5rem;          /* Adjust text size as needed */
    color: #fff;
    font-weight: bold;
}

.intro {
    flex: 2;
    padding: 20px;
}

.intro h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #576d2c;
}

.intro p {
    font-size: 1.1em;
    color: #576d2c;
}

.image {
    flex: 1;
    padding: 20px;
    text-align: center;
}

.image img {
    max-width: 100%;
    height: auto;
    border: 2px solid #576d2c;
    border-radius: 4px;
}

.posts {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.post {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.post img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.post h3 {
    color: #576d2c;
    margin: 10px 0;
}

.post p {
    color: #576d2c;
}

.post a {
    display: inline-block;
    margin-top: 10px;
    color: #cc6633;
    text-decoration: none;
    font-weight: bold;
}

.post a:hover {
    color: #e78169;
}

footer {
    background-color: #576d2c;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    width: 100%;
}

footer p {
    font-size: 0.9em;
    margin-bottom: 10px;
}

.social a {
    display: inline-block;
    color: #fff;
    margin: 0 10px;
    font-size: 1.2em;
    text-decoration: none;
}

.social a:hover {
    color: #e78169;
    text-decoration: none;
}

h2 {
    color: #576d2c;
    width: 100%;
    padding: 0 20px;
    margin-top: 20px;
}
/* Ensure text stays within the container */
.container p, .container ul, .container h1, .container h2, .container h3 {
    max-width: 100%;
    word-wrap: break-word;
}

/* Main container for a blog post */
.blog-post {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: #576d2c;
}

/* Header/title of the blog post */
.blog-post h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #576d2c;
}

/* Secondary headings in the post */
.blog-post h2 {
    font-size: 2em;
    margin-top: 20px;
    margin-bottom: 15px;
    color: #576d2c;
}

/* Tertiary headings in the post */
.blog-post h3 {
    font-size: 1.75em;
    margin-top: 15px;
    margin-bottom: 10px;
    color: #576d2c;
}

/* Paragraph styling within the post */
.blog-post p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Image class for blog post images */
.blog-post-image {
    display: block;
    max-width: 100%;
    margin: 20px auto; /* Centers the image and adds blank space */
    border: 2px solid #576d2c;
    border-radius: 4px;
    padding: 5px;
}