body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.sidebar {
    width: 250px;
    background-color: #2c3e50; /* Sidebar background */
    color: #f4f4f4;
    padding: 15px;
    position: fixed; /* Fixed sidebar */
    height: 100vh; /* Full viewport height */
    overflow-y: auto; /* Scrollable content */
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
}

.sidebar h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #ecf0f1; /* Sidebar header text color */
    border-bottom: 1px solid #7f8c8d;
    padding-bottom: 10px;
}

.sidebar a {
    display: block;
    color: #bdc3c7; /* Link color */
    text-decoration: none;
    font-size: 16px;
    margin: 5px 0;
    padding: 10px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.sidebar a:hover {
    background-color: #34495e;
    color: #ecf0f1;
}

.nested-menu {
    margin-top: 10px;
}

.nested-menu ul {
    list-style-type: none;
    padding-left: 15px;
    margin: 5px 0;
}

.nested-menu ul li {
    margin: 5px 0;
}

.nested-menu a.has-submenu::after {
    content: ' ▸';
    float: right;
    transition: transform 0.3s ease;
}

.nested-menu a:hover::after {
    transform: rotate(90deg);
}

.nested-menu ul li a {
    font-size: 14px;
    padding: 8px;
}

.nested-menu ul li a:hover {
    background-color: #3c566d;
}

.content {
    margin-left: 270px; /* Leaves space for the sidebar */
    padding: 30px;
}

h1, h2, h3 {
    color: #2c3e50;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px 0;
}

pre {
    background-color: #f4f4f4;
    padding: 10px;
    border-left: 4px solid #2c3e50;
    overflow-x: auto;
}

code {
    font-family: monospace;
    color: #c0392b;
}

ul, ol {
    margin: 10px 0;
    padding-left: 20px;
}

ul li, ol li {
    margin: 5px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    .content {
        margin-left: 0;
    }
}