/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: black;
    color: #f0f0f0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    background-color: #393131;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Header styling */
header {
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

    nav a:hover {
        text-decoration: underline;
    }

/* Post container styling */
.post-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.post-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.post-description {
    padding: 15px;
    background-color: #2c3e50;
    color: white;
    text-align: center;
    border-radius: 8px;
}

/* Media queries for responsive design */
@media (min-width: 600px) {
    .post-container {
        flex-direction: row;
        justify-content: space-between;
    }

    .post-image {
        width: 45%;
    }

    .post-description {
        width: 45%;
        text-align: left;
    }
}

/* Add styles for "Read More" buttons */
.post-button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

    .post-button:hover {
        background-color: #3e8e41;
    }

/* Position "Read More" buttons at the bottom of each post */
.post-container .post-button {
    margin-top: 20px;
}

@media (min-width: 600px) {
    .post-container .post-button {
        width: 100%;
    }
}

.read-more-btn {
    display: inline-block;
    padding: 8px 16px;
    margin-top: 10px;
    background-color: #393131; /* Match the container background */
    color: #f0f0f0; /* Same as body text color */
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #2c3e50; /* Border to match the header */
    transition: background-color 0.3s, color 0.3s;
}

    .read-more-btn:hover {
        background-color: #2c3e50; /* Darker shade on hover */
        color: #ffffff; /* White text on hover */
    }

/* Styles specific to post.html */
.post-page .post-description {
    text-align: left; /* Align text to the left for better readability */
    max-width: 800px; /* Limit width for readability */
    margin: 0 auto; /* Center the block */
    line-height: 1.8; /* Better line spacing */
    font-size: 18px; /* Increase font size */
    color: #f0f0f0; /* Text color */
    padding: 20px; /* Padding around the text */
    background-color: #2c3e50; /* Background color matching theme */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Subtle shadow for depth */
}

    .post-page .post-description h2, .post-page .post-description h4 {
        color: #ffffff; /* Heading color */
        margin-top: 20px; /* Space above headings */
        margin-bottom: 10px; /* Space below headings */
        font-size: 26px; /* Size for H2 headings */
    }

    .post-page .post-description h4 {
        font-size: 22px; /* Size for H4 headings */
    }

    .post-page .post-description p {
        margin-bottom: 20px; /* Space between paragraphs */
    }

    .post-page .post-description ul {
        margin: 10px 0 20px 40px; /* Space and indentation for list */
        list-style-type: disc; /* Disc list style */
    }

    .post-page .post-description li {
        margin-bottom: 10px; /* Space between list items */
        line-height: 1.6; /* Line spacing for list items */
    }

.post-page .post-container {
    padding: 20px;
    background-color: #2c3e50;
    border-radius: 8px;
}

