#sidebar {
    background-color: #F5F5F5;
    position: fixed;
    top: 22%;
    right: 0;
    overflow: hidden;
    transition: width .5s ease;
    z-index: 2000;
    box-shadow: 0px -1px 6px 1px rgba(0, 0, 0, 0.19);
    width: 1.5rem;
    height: 22rem;

    &:hover {
        width: 4rem;
        overflow: visible;

        .sidebar-menu {
            visibility: visible;
            opacity: 1;
        }
    }

    .sidebar-toggle {
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #BF0010;
        height: 100%;
        transition: opacity 0.3s ease-in-out, width 0.3s ease-in-out;

        p {
            writing-mode: vertical-rl;
            transform: rotate(180deg);
            font-family: avenirnextltpro-demi, sans-serif;
            font-weight: 600;
            font-size: 12px;
            text-transform: uppercase;
            color: #ffffff;
        }
    }

    .sidebar-menu {
        height: 100%;
        list-style-type: none;
        padding: 0;
        margin: 0;
        visibility: hidden;
        opacity: 0;
        transition: visibility 0.3s ease-in-out, opacity 0.3s ease-in-out;
        z-index: 3000;
        position: absolute;
        top: 0;
        left: 0;
        background-color: #FFFFFF;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);

        li {
            position: relative;
            width: 70px;
            height: 70px;
            display: grid;
            place-items: center;

            &:hover {
                background-color: #F5F5F5;
            }

            a {
                position: relative;
                color: #BF0010;
                font-size: 15px;
                text-align: center;
                text-decoration: none;
                width: 100%;
                height: 100%;
                display: flex;
                justify-content: center;
                align-items: center;
                flex-direction: column;

                i {
                    margin-right: 10px;
                    font-size: 18px;
                }
                .sidebar-menu-span{
                    font-family: 'arial';
                    font-style: normal;
                    font-weight: 700;
                    font-size: 8px;
                    line-height: 10px;
                    text-transform: uppercase;
                    color: #333333;
                    display: block;
                    padding-top: 5px;
                    max-width: 50px;
                }
            }
        }
    }
}

