html, body {
    height: 100%;
}

body {
    font-family: Poppins;
    margin: 0;
    padding: 0;
    background-color: #fafafa;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#content {
    flex: 1 0 auto;
}

.container {
    width: 100%;
    margin: 0 auto;
}

.container p {
    color: #4b4b4b;
}

header {
    font-family: Poppins;
    /*background: linear-gradient(90deg, rgb(94, 0, 183) 0%, rgb(112, 0, 153) 100%);*/
    background: rgb(59, 0, 115);
    color: #fff;
    padding: 15px 0;
    top: 0;
    position: fixed;
    width: 100%;
    z-index: 10003;
}

header h2 {
    margin: 0 50px;
    color: #fff;
    font-size: 18px;
}

header a {
    text-decoration: none;
}

header nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

header nav ul li {
    display: inline;
    margin-right: 20px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
}

header nav .nav-logo {
    height: 40px;
}

.nav-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.nav-section {
    width: calc(100vw/3)
}

.navbar-center {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.navbar-right {
    display: flex;
    flex-direction: row;
    justify-content: right;
}

.navbar-left {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-content: center;
}

footer {
    background: #0f0f1a;
    color: #f1f1f6;
    padding: 26px 24px 18px;
}

.site-footer {
    background: #0f0f1a;
    color: #f1f1f6;
    padding: 26px 24px 18px;
    font-family: Poppins, sans-serif;
    font-size: 14px;
}

.site-footer .footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.site-footer .footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-footer .footer-copy {
    margin: 0;
    color: #cfd2e3;
    font-size: 13px;
}

.site-footer .footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.site-footer .footer-links a {
    color: #f1f1f6;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.site-footer .footer-links a:hover {
    opacity: 0.8;
}

.site-footer .footer-meta {
    max-width: 1100px;
    margin: 14px auto 0;
    color: #8a8dab;
    font-size: 12px;
    text-align: left;
}

.homework-form-wrapper {
    margin: 20px
}

.question-container {
    background-color: rgb(232, 232, 232);
    border-style: solid;
    border-width: 2px;
    border-color: rgb(212, 212, 212);
    margin: 30px 100px;
    height: 300px;
}

/* ----------------------------------
   Hamburger Menu (global nav toggle)
---------------------------------- */

.hamburger {
    display: none;
    font-size: 28px;
    line-height: 1;
    height: 40px;
    width: 40px;
    color: #fff;
    cursor: pointer;
    background: none;
    border: none;
    margin: 0 20px;
    padding: 0;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
    }

    .sidebar.sidebar-open {
        transform: translateX(0);
    }

    .dashboard-main {
        margin-left: 0 !important;
        width: 100% !important;
    }
}
