body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

.sidebar {
    width: 200px;
    background: #333;
    color: #fff;
    height: 100vh;
    position: fixed;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    padding: 1em;
    border-bottom: 1px solid #444;
}

.sidebar ul li a {
    color: #fff;
    text-decoration: none;
    display: block;
}

.sidebar ul li a:hover {
    background: #444;
}

.content {
    margin-left: 200px;
    padding: 2em;
    flex: 1;
}

header {
    background: #f4f4f4;
    padding: 1em;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

footer {
    background: #f4f4f4;
    padding: 1em;
    border-top: 1px solid #ddd;
    text-align: center;
}

section {
    margin-bottom: 2em;
}

h1 {
    font-size: 1.5em;
}

h2 {
    font-size: 1.2em;
    border-bottom: 2px solid #333;
    padding-bottom: 0.5em;
}

h3 {
    font-size: 1em;
    margin-top: 1em;
}

/* Media Queries for Mobile Devices */
@media (max-width: 768px) {
    body {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    .sidebar ul li {
        display: inline;
    }

    .sidebar ul li a {
        display: inline-block;
        padding: 1em;
    }

    .content {
        margin-left: 0;
        padding: 1em;
    }
}