body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
}

.container {
    display: flex;
    height: 100vh;
    position: relative;
}

.sidebar {
    background-color: #333333;
    color: #ffffff;
    padding: 20px;
    width: 200px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    position: relative;
    transform: translateX(0px);
}

.sidebar.collapsed {
    transform: translateX(250px);
    /* Ensure the sidebar is fully hidden */
}

.sidebar h2 {
    font-size: 1.3em;
    margin-bottom: 10px;
}

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

.sidebar ul li {
    margin-bottom: 15px;
}

.sidebar ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1em;
}

.sidebar ul li a:hover {
    text-decoration: underline;
}

.content {
    flex: 1;
    padding: 40px;
    background-color: #ffffff;
    overflow-y: auto;
}

.header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eeeeee;
}

.header img {
    border-radius: 50%;
    border: 2px solid #ada9a9;
    width: 50px;
    height: 50px;
    margin-right: 20px;
}

.header h1 {
    font-size: 1.8em;
    color: #333333;
    margin: 0;
}

.syllabus {
    list-style-type: none;
    /* Remove default bullet points */
    padding-left: 0;
}

.syllabus>li {
    padding: 10px 0;
}

.syllabus ul {
    list-style-type: disc;
    /* Add bullet points to nested lists */
    margin-left: 20px;
    /* Indent nested list */
    padding-left: 20px;
    /* Add padding to make the list look cleaner */
}

.syllabus ul li {
    padding: 5px 0;
    /* Padding for inner list items */
}

.syllabus a {
    text-decoration: none;
    color: #007BFF;
    /* Link color */
}

.syllabus a:hover {
    text-decoration: underline;
}

/* Toggle Button */
.toggle-btn {
    display: none;
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #333;
    color: #fff;
    padding: 10px;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
}

/* Media Queries for small screens, large phone portrait: 414 */
@media (max-width: 414px) {
    .sidebar {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        transform: translateX(-250px);
        /* Sidebar hidden by default on small screens */
        z-index: 1000;
    }

    .toggle-btn {
        display: block;
    }

    .content {
        padding: 20px;
    }
}