/* General Body and Typography */
body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f7f6;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Header Styling */
header {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 15px 0;
    border-bottom: 5px solid #1abc9c;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

header h1 {
    margin: 0;
    font-size: 2.2em;
    font-weight: 700;
    color: #ecf0f1;
}

header nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

header nav ul li {
    margin-left: 25px;
}

header nav ul li a {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

header nav ul li a:hover,
header nav ul li a.active {
    color: #1abc9c;
}

/* Main Content Area */
main {
    flex: 1;
    padding: 40px 0;
}

.blog-post {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.article-title {
    color: #2c3e50;
    font-size: 2.5em;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.2;
}

.blog-post p {
    font-size: 1.1em;
    margin-bottom: 1.5em;
    color: #555;
    text-align: justify;
}

.blog-post p a {
    color: #1abc9c;
    text-decoration: none;
    font-weight: bold;
}

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

/* Footer Styling */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 5px solid #1abc9c;
}

footer p {
    margin: 0;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    header nav ul {
        margin-top: 15px;
    }

    header nav ul li {
        margin: 0 10px;
    }

    .article-title {
        font-size: 2em;
    }

    .blog-post {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.8em;
    }

    header nav ul li {
        margin: 0 5px;
    }

    header nav ul li a {
        font-size: 1em;
    }

    .article-title {
        font-size: 1.8em;
    }

    .blog-post p {
        font-size: 1em;
    }

    .container {
        width: 95%;
    }
}
