#menu-pill-container {
    position: fixed;
    z-index: 50;
    height: 100%;
}

#menu-pill {
    margin-left: 1rem;
    flex-direction: column;
}

#menu-pill .nav-link {
    /*override boostrap nav volor*/
    --bs-navbar-active-color: var(--ma-theme-400);
    --bs-navbar-hover-color: var(--ma-theme-200);
    --bs-nav-link-hover-color: var(--ma-theme-200);
    padding: 0;
    display: flex;
    align-items: center;

}

#menu-pill .icon-container {
    padding: .5rem;
    background-color: rgba(0, 0, 0, .7)
}

#menu-pill .menu-label {
    background-color: rgba(0, 0, 0, 0.7);
    padding: .5rem 0;
    /* border radius is using the border of a container 
    start with the first corner then work your way around clock wise this will help
    give you rounded corners ex. border-radius 50% 50% 0 0*/
    border-radius: 0 2rem 2rem 0;
    max-width: 0;
    /*makes sure text doesnt wrap*/
    white-space: nowrap;
    overflow: hidden;

    transition: max-width .25s ease-in-out,
        padding-right .25 ease-in-out;


}

/*padding is like border radius */

@media (min-width: 768px) {

    #menu-pill .nav-link.active .menu-label,
    #menu-pill .nav-link:hover .menu-label {
        max-width: 100%;
        padding-right: 1rem;
    }

    #menu-pill .nav-item:nth-child(1) .icon-container {
        border-radius: 50% 50% 0 0;
        transition: border-radius .25s ease-out .25;
    }

    #menu-pill .nav-item:nth-child(1) .nav-link.active .icon-container,
    #menu-pill .nav-item:nth-child(1) .nav-link:hover .icon-container {
        border-radius: 50% 0 0 0;
        transition: border-radius .0s ease-out .0;
    }

    #menu-pill .nav-item:nth-last-child(1) .icon-container {
        border-radius: 0 0 50% 50%;
        transition: border-radius .25s ease-out .25;
    }

    #menu-pill .nav-item:nth-last-child(1) .nav-link.active .icon-container,
    #menu-pill .nav-item:nth-last-child(1) .nav-link:hover .icon-container {
        border-radius: 0 0 0 50%;
        transition: border-radius .0s ease-out .0;
    }

    section {
        padding-left: 160px;
        padding-right: 160px;
    }

    .nav-tooltip {
        display: none
    }



}

@media (max-width: 767.98px) {
    #menu-pill-container {
        top: 0px;
        height: 4rem;
        left: 0;
        right: 0;
        justify-content: center;
    }

    #menu-pill {
        flex-direction: row;
        align-items: center;
    }

    #menu-pill .nav-item:nth-child(1) .icon-container {
        border-radius: 50% 0 0 50%;
    }

    #menu-pill .nav-item:nth-last-child(1) .icon-container {
        border-radius: 0 50% 50% 0;
    }

    #menu-pill .menu-label {
        display: none;
    }

    .nav-tooltip {
        --bs-tooltip-color: var(--ma-theme-200);
        --bs-tooltip-opacity: .7;
    }
}