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

body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
}

header {
    background-color: #333;
    color: #fff;
    padding: 1em 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1em;
}

#web_name {
    padding: 0em 0.3em;
    font-size: x-large;
    font-weight: bold;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 2em;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
}

main {
    display: flex;
    justify-content: center;
    margin: 2em 0;
}

.content {
    display: flex;
    max-width: 1200px;
    width: 100%;
    padding: 0 1em;
}

.blog-posts {
    flex: 3;
    margin-right: 2em;
}
.article {
    padding: 2em;
}
h1, h2, h3, h4, h5, h6{
    padding: 0.5em 0;
}
p{
    padding: 0.5em 0;
}

ol, ul {
    padding: 0em 1.6em;
}
li {
    padding: 0.4em 0;
}


.blog-posts {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 1em;
    margin-bottom: 2em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.sidebar {
    flex: 1;
    background-color: transparent;
    /* border: 1px solid #ddd; */
/*    padding: 1em;*/
/*    border-radius: 5px;*/
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
    /* transition: box-shadow 0.3s; */
}

.sidebar-content {
    background-color: #fff;
    padding: 1em;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
    transition: box-shadow 0.3s; 
}


footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1em 0;
    margin-top: 2em;
}

footer ul {
    list-style: none;
/*    display: flex;*/
    gap: 2em;
}
footer ul li {
    display: inline;
    padding: 0 1em;
}
footer ul li a {
    color: #fff;
    text-decoration: none;
}

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

    header nav ul {
        flex-direction: row;
        gap: 1em;
        margin-top: 1em;
    }

    .content {
        flex-direction: column;
    }

    .blog-posts {
        margin-right: 0;
    }

    .sidebar {
        order: 2;
        margin-top: 2em;
    }

}
