

/* General Container */


.container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

}

/* Sidebar */
.sidebar {
    width: 40%;
    padding: 10px;
}

.course-card {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
    padding: 20px;
}

.course-image {
    width: 100%;


}

.course-card h2 {
    font-size: 24px;
    margin-top: 10px;
}

/* Main Content */
.content {
    width: 60%;
    padding: 10px;
    -webkit-box-align: center;
      -ms-flex-align: center;
       align-items: center;
}

.section {

    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 20px;
}

.section h3 {
    font-size: 22px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Lesson List */
.lesson-list {
    list-style-type: none;
    padding: 0;
}

.lesson-list li {
    margin-bottom: 15px;
}

.lesson-link {
    text-decoration: none;
    color: inherit;
}

.lesson-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 18px;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: background-color 0.3s;
}

.lesson-button:hover {
    background-color: #e9ecef;
}
.footer_section{
position:fixed;
right:0;
bottom:0;
left:0;

}
.footer_section>p{
margin:0 auto}
.foot{
width:100%;
text-align:center;
}


@media (max-width: 450px) {
    html, body {
        height: 100%;
        margin: 0;
        padding: 0;
    }

    body {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }

    .container {
        flex: 1; /* make container grow and push footer down */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
    }

    .sidebar,
    .content {
        width: 100%;
        max-width: 100%;
        padding: 10px;
        box-sizing: border-box;
    }

    .course-card,
    .section {
        margin-bottom: 15px;
        width: 100%;
    }

    .footer_section {
        margin-top: 20px; /* spacing from content */
    }
}
