﻿#NavButton {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--navButtonColor);
    border: none;
    cursor: pointer;
    color: var(--navButtonTextColor);

    svg {
        width: 4rem;
        fill: none;
        stroke: var(--navButtonTextColor);

        path {
            stroke-width: 1rem;
            transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
            stroke-dasharray: 60 1000;
        }
    }

    &.selected svg path {
        stroke-dashoffset: -140;
    }
}

#NavPanel {
    position: fixed;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 0rem;
    background-color: var(--navBgColor);
    visibility: hidden;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.75);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);

    ul {
        position: absolute;
        right: 0px;
        width: 20rem;

        li {
            a {
                display: block;
                height: 4rem;
                line-height: 4rem;
                padding-left: 0.5rem;
                background-color: var(--navItemBgColor);
                color: var(--navItemTextColor);
                font-weight: bold;
                cursor: pointer;
            }
        }
    }

    &.selected {
        width: 20rem;
        visibility: visible;
    }
}