#sidebar {
    appearance: none;
    position: fixed;
    height: 100%;
    max-height: none;
    width: fit-content;
    max-width: min(60rem, 75%);
    margin: 0;
    padding: 0;
    left: 0;
    background-color: peachpuff;
    border: none;
    outline: 2px solid rgb(151, 72, 32);
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
    box-sizing: border-box;
    transition: transform .2s;
    transform: none;
    overscroll-behavior: contain;
}

#sidebar::backdrop {
    transition: background-color 0.4s;
    background-color: transparent;
    overscroll-behavior: contain;
    overflow: hidden;
}

#sidebar:open::backdrop {
    background-color: rgba(0, 0, 0, 0.2);
}

@media (prefers-reduced-motion: no-preference) {
    @starting-style {
        #sidebar {
            transform: translateX(-100%);
        }
        #sidebar:open::backdrop {
            background-color: transparent;
        }
    }
}


#sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    gap: 5rem;
}

#close-button {
    box-sizing: border-box;
    width: 40px;
    height: 40px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    padding: .15rem .25rem .25rem .25rem;
    color: rgba(151, 72, 32, .75);
    font-weight: bold;
    font-size: 1rem;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

#close-button:hover {
    color: rgba(151, 72, 32, 1);
}

#sidebar-header-logo {
    width: 2rem;
    aspect-ratio: 1 / 1;;
    image-rendering: pixelated;
}

#sidebar-links {
    padding: .5rem;
}

#sidebar-links-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    list-style: none;
    padding-left: 0;
}

.sidebar-link-list-item {
    display: flex;
    align-items: center;
    gap: .2rem;
    position: relative;
    height: 2rem;
    
}

.sidebar-link-list-item::before {
    content: "";
    display: inline-block;
    visibility: hidden;
    width: 5px;
    height: 80%;
    border-radius: calc(5px / 2);
    background-color: rgb(108, 52, 23);
}

.sidebar-link {
    display: flex;
    height: 100%;
    width: 100%;
    border-radius: 5px;
    align-items: center;
    gap: .2rem;
    padding: 0 8px 0 6px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.sidebar-link-img {
    height: 65%;
    width: auto;
    aspect-ratio: 1 / 1;
    
}

.sidebar-link-text {
    display: inline-block;
    /* font-weight: bold; */
    font-family:'Franklin Gothic Small', 'Arial Narrow', Arial, sans-serif;
    font-size: 1.2rem;
    margin: 0;
    text-box-edge: cap alphabetic;
    text-box-trim: trim-end;
    margin-bottom: 2px; /* svg has some space below it */
}

.sidebar-link-list-item.selected .sidebar-link {
    background-color:  rgb(237, 173, 116);
}

.sidebar-link:hover {
    background-color:  rgb(237, 173, 116);
    outline: 2px solid black;
    outline-offset: -2px;
}

.sidebar-link-list-item.selected::before {
    visibility: visible;
}

.sidebar-link-list-item.selected .sidebar-link-text {
    font-weight: bold;
}



#navbar {
    display: flex;
    align-items: center;
    background-color: peachpuff;
    height: 6.5rem;
    box-sizing: border-box;
    font-family: Brush Script MT, Brush Script Std, cursive;
    justify-content: space-between;
    padding-left: clamp(.75rem, calc(-2rem + 2.5vw), 3%);
    padding-right: calc(calc(100% - 100vw) + clamp(1.5rem, calc(-.5rem + 2.5vw), 2%));
}

#navbar a {
    background-color: rgb(237, 173, 116);
    border-width: 0rem;
    border-radius: 3rem;
    font-size: 3rem;
    padding: 0rem 1.25rem .3rem;
    color: rgb(151, 72, 32);
    cursor: pointer;
    transition: 
        background-color .3s ease,
        color .3s ease;
    line-height: 4.4rem;
    text-decoration: none;
    /* margin: 0 2rem; */
    text-wrap: nowrap;
}

#navbar a:hover {
    background-color: rgb(225, 142, 70);
    color: rgb(108, 52, 23);
}

#full-style-buttons {
    display: flex;
    flex-wrap: nowrap;
    gap: clamp(1rem, calc(-1rem + 2.5vw), 6rem);
}

#burger-menu-button {
    display: none;
    width: 3.5rem;
    height: 3.5rem;
    padding: .5rem;
    background-color: rgb(237, 173, 116);
    border-radius: 35%;
    cursor: pointer;
    transition: 
        background-color .3s ease,
        color .3s ease;
}

#burger-menu-button:hover {
    background-color: rgb(225, 142, 70);
}


@media (max-width: 90rem) {
    #full-style-buttons {
        display: none;
    }

    #burger-menu-button {
        display: inline-block;
    }
}