css
/* ===========================
   MOBILE TOGGLES
=========================== */

.mobile-toggle {

    display: none;

    position: fixed;

    width: 48px;
    height: 48px;

    padding: 8px;

    border: 2px solid var(--brown-dark);
    border-radius: 14px;

    background: var(--cream);

    color: var(--brown-dark);

    font-family: var(--body-font);

    appearance: none;
    -webkit-appearance: none;

    box-shadow: none;

    z-index: 10000;

    cursor: pointer;

    transition:
        transform .2s ease,
        background-color .2s ease;

}

.mobile-toggle:hover {

    transform: translateY(-2px);

    background: var(--orange-light);

}

.mobile-toggle:active {

    transform:
        translateY(1px)
        scale(.96);

}

.mobile-toggle img {

    width: 100%;
    height: 100%;

    object-fit: contain;

}


/* ===========================
   SIDEBAR
=========================== */
#layout {

    display:contents;

}


.sidebar {

    width: 260px;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 24px;
    

}


/* ===========================
   SCROLL AREA
=========================== */

.sidebar-content {

    width: 100%;

    flex: 1;

    min-height: 0;

    overflow: hidden;

}


/* ===========================
   PROFILE
=========================== */

.profile {

    position: relative;

    text-align: center;

}

.profile img {

    width: 300px;
    height: 200px;

    object-fit: cover;

    border-radius: 10%;

    transition: transform .3s ease;

}

.profile:hover img {

    transform: scale(1.04);

}

.profile h2 {

    margin-top: 10px;

    color: var(--brown-dark);

    font-size: 1.6rem;

    font-weight: 700;

    line-height: 1;

}

.profile p {

    margin-top: 0;

    color: var(--brown);

    font-size: .95rem;

}

.dot {

    display: inline-block;

    margin: 0 3px;

}


/* ===========================
   DIVIDERS
=========================== */

.divider {

    width: 100%;

    max-width: 180px;

    margin-top: 0;
    margin-left: 0;

    filter:
        brightness(.9)
        contrast(1);

    user-select: none;

    pointer-events: none;

}

.divider-nav {

    width: 100%;

    max-width: 200px;

    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 35px;

    filter:
        brightness(.9)
        contrast(1);

    user-select: none;

    pointer-events: none;

}


/* ===========================
   NAVIGATION
=========================== */

.sidebar nav {

    width: 100%;

    display: flex;

    flex-direction: column;

    gap: 1px;

}

.sidebar nav a {

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 8px 16px;

    text-decoration: none;

    color: var(--brown-dark);

    border-radius: 14px;

    background: transparent;

    transition:
        background-color .25s ease,
        color .25s ease;

}

.sidebar nav a:hover {

    background: rgba(255, 248, 230, .78);

}

.sidebar nav a img {

    width: 34px;
    height: 34px;

}

.sidebar nav a span {

    font-weight: 700;

}

.sidebar nav a.active {

    background: rgba(255, 248, 230, .85);

    color: var(--brown-dark);

}


/* ===========================
   SIDEBAR FOOTER
=========================== */

.sidebar-footer {

    width: 260px;
    height: 130px;

    margin-top: 25px;

    padding: 28px 24px;

    background: var(--brown-dark);

    border-radius: 14px;

}


/* ===========================
   FOOTER DIVIDER
=========================== */

.footer-divider {

    width: 100%;

    height: 1px;

    margin-bottom: 24px;

    background: rgba(255, 248, 230, .12);

}


/* ===========================
   COPYRIGHT
=========================== */

.footer-copyright {

    margin-bottom: 22px;

}

.footer-copyright p {

    color: var(--cream);

    font-size: .82rem;

    font-weight: 600;

}

.footer-copyright span {

    display: block;

    margin-top: 2px;

    color: rgba(255, 248, 230, .55);

    font-size: .72rem;

}


/* ===========================
   FOOTER SECTIONS
=========================== */

.footer-section {

    margin-bottom: 18px;

}

.footer-section h3 {

    margin-bottom: 8px;

    font-size: .74rem;

    font-family: var(--heading-font);

    letter-spacing: .08em;

    text-transform: uppercase;

    color: rgba(255, 248, 230, .75);

}

.footer-section a,
.footer-section span {

    display: block;

    margin-bottom: 6px;

    color: rgba(255, 248, 230, .5);

    font-size: .75rem;

    text-decoration: none;

    transition: .2s ease;

}

.footer-section a:hover {

    color: var(--cream);

    transform: translateX(4px);

}

/* ===========================
   CREDITS
=========================== */

.credits-link {

    display: inline-block;

    color: rgba(255, 248, 230, .6);

    font-family: var(--heading-font);

    font-size: .75rem;

    font-weight: 600;

    letter-spacing: .06em;

    text-transform: uppercase;

    text-decoration: none;

    transition:
        color .2s ease,
        transform .2s ease;

}

.credits-link:hover {

    color: var(--cream);

    transform: translateX(4px);

}

 /* ===========================
    MOBILE DRAWER SYSTEM
 =========================== */


/* ===========================
   MOBILE TOGGLE BUTTONS
=========================== */

@media (max-width: 1165px) {

    .mobile-toggle {

        display: flex;

        align-items: center;
        justify-content: center;

        position: fixed;

        top: 20px;

        width: 48px;
        height: 48px;

        padding: 8px;

        border: 2px solid var(--brown-dark);
        border-radius: 14px;

        background: var(--cream);

        appearance: none;
        -webkit-appearance: none;

        z-index: 10001;

    }


    .sidebar-toggle {

        left: 20px;

    }


    .extra-toggle {

        right: 20px;

    }

}


/* ===========================
   SIDEBAR DRAWER
=========================== */

@media (max-width: 1165px) {

    #sidebar {

        position: fixed;

        top: 0;
        left: 0;

        width: 280px;
        height: 100vh;

        padding: 80px 20px 30px;

        background: var(--cream);

        transform: translateX(-100%);

        transition:
            transform .3s ease;

        z-index: 9998;

        overflow-y: auto;

    }


    #sidebar.open {

        transform: translateX(0);

    }


    /* =========================
       SIDEBAR CONTENT
    ========================= */

    #sidebar .sidebar {

        width: 100%;
        min-height: 100%;

        padding: 0;

        background: transparent;

        overflow: visible;

    }


    /* =========================
       PROFILE
    ========================= */

    #sidebar .profile img {

        width: 220px;
        height: 150px;

    }


    /* =========================
       FOOTER
    ========================= */

    #sidebar .sidebar-footer {

        width: 100%;

    }

}


/* ===========================
   EXTRA COLUMN DRAWER
=========================== */

@media (max-width: 1165px) {

    .extra-column {

        display: block;

        position: fixed;

        top: 0;
        right: 0;

        width: 300px;
        height: 100vh;

        padding: 80px 20px 30px;

        overflow-y: auto;

        background: var(--background);

        transform: translateX(100%);

        transition:
            transform .3s ease;

        z-index: 9998;

    }

    .extra-column > * {

        margin-bottom: 50px;

    }

    .extra-column.open {

        transform: translateX(0);

    }

}
