* {
    margin: 0;
    padding: 0;
}

.container {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    min-height: 100vh;
}

/* For devices larger than 400px */

@media (min-width: 400px) {
    .container {
        width: 85%;
        padding: 0;
    }
}


/* For devices larger than 550px */
@media (min-width: 550px) {
    .container {
        width: 80%;
    }
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: whitesmoke;
    padding: 0 2em 0 2em;
}

.nav__logo a {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}

.content_container {
    display: flex;
    min-height: calc(100vh - 60px);
    /* Adjust based on nav height */
}

.sidebar {
    width: 30%;
    background: #f8f9fa;
    padding: 2rem;
    border-right: 1px solid #dee2e6;
}

.content {
    width: 70%;
    padding: 2rem;
}

.layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 30%;
    background: #f8f9fa;
    padding: 2rem;
    border-right: 1px solid #dee2e6;
}

.sidebar a {
    display: block;
}

.sidebar a:hover::before {
    content: ">";
}

.sidebar a.active {
    color: black;
}

.content {
    width: 70%;
    padding: 2rem;
    overflow-y: scroll;
    height: auto;
}

.content h1 {
    margin-bottom: 1rem;
    color: #333;
}

.content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #555;
}

.content p {
    margin-bottom: 1rem;
}

.content code {
    background: #f1f3f4;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
}

.content pre {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
    margin: 1rem 0;
}

.about_list{
    margin-top: 2em;
    margin-left: 2em;
    word-wrap: normal;
}

@media (max-width: 768px) {
    .layout {
        flex-direction: column;
    }

    .sidebar,
    .content {
        width: 100%;
    }
}

.footer {
    width: 100%;
    background-color: whitesmoke;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 2.5rem;
    display: flex;
    align-items: center; 
    justify-content: center;
}