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

/* Set font and background */
body {
    /* font-family: 'Arial', sans-serif; */
    font-family: "Helvetica Neue", sans-serif;
    font-size: 18px;
    background-color: #f4f4f4;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure full height of viewport */
}

ul {
    padding-inline-start: 30px;
}

/* Header styles */
header {
    /* background-color: #333; */
    /* color: white; */
    padding: 1rem 0;
}

header .container {
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 2rem;
}

header nav ul {
    list-style-type: none;
    display: flex;
    gap: 1rem;
}

header nav a {
    /* color: white; */
    text-decoration: none;
}

/* Main content styles */
main {
    /* padding: 2rem 0; */
    /* background-color: #fff; */
    flex: 1; /* Allows main to expand and take available space */
}

main .container {
    width: 80%;
    margin: 0 auto;
}

.blog-post {
    max-width: 80ch;
    background-color: #f9f9f9;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 2rem auto;
}

.blog-post h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.blog-post .date {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 1rem;
}

.blog-post .content {
    font-size: 1rem;
    line-height: 1.6;
}

a {
    display: inline-block;
    margin-top: 1rem;
    color: #007BFF;
    text-decoration: none;
}

/* Footer styles */
footer {
    /* background-color: #333; */
    color: white;
    padding: 1rem 0;
    text-align: center;
}
