.app-area-sidebar {
    grid-area: sidebar;
    height: 100% !important;
    padding-top: 130px !important;
    padding-bottom: 50px !important;
    overflow-y: auto;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9;

    &.off {
        display: block !important;
    }

    .nav {
        position: relative;
        display: block !important;
        height: auto !important;
        overflow-y: auto;

        &-link {
            padding-left: 0;
            cursor: pointer;
            position: relative;
            opacity: 0.5;

            div:not(.header) {
                display: none;
                padding: 5px 15px;
                position: relative;
                overflow-y: hidden;
                transform: translateY(-100%);
                transition: 0.3s;

                &.selected {
                    &::after {
                        transform: translateY(0);
                    }
                }

                &::after {
                    content: "";
                    display: block;
                    width: 100%;
                    height: 100%;
                    background: rgba(#fff, 0.5);
                    position: absolute;
                    top: 0;
                    left: 0;
                    transform: translateY(-100%);
                    transition: 0.3s;
                }

                &:hover {
                    &::after {
                        transform: translateY(0);
                    }
                }
            }

            &.selected {
                opacity: 1;

                &::after {
                    content: "";
                    display: block;
                    width: calc(100% - 1rem);
                    height: 1px;
                    background: rgba(#fff, 0.5);
                    position: absolute;
                    bottom: 0;
                    left: 0;
                }

                .header {
                    margin-bottom: 10px;
                    position: relative;
                    padding-bottom: 10px;

                    &::after {
                        content: "";
                        display: block;
                        width: calc(100% - 1rem);
                        height: 1px;
                        background: rgba(#fff, 0.5);
                        position: absolute;
                        bottom: 0;
                        left: 0;
                    }
                }

                div:not(.header) {
                    display: block;
                    transform: translateY(0);
                }
            }
        }
    }
}

#btn-menu {
    display: table;
    background: transparent;
    width: auto;
    height: 30px;
    cursor: pointer;
    position: relative;
    padding: 0;
    border: block;

    span {
        display: block;
        width: 30px;
        height: 2px;
        background: #fff;
        position: relative;
        transition: background 0.25s;

        &:before {
            content: "";
            display: block;
            width: 100%;
            height: 2px;
            background: #fff;
            position: absolute;
            top: 0;
            left: 0;
            transform: rotate(0) translateY(-7px);
            transition: 0.3s;
        }

        &:after {
            content: "";
            display: block;
            width: 100%;
            height: 2px;
            background: #fff;
            position: absolute;
            bottom: 0;
            left: 0;
            transform: rotate(0) translateY(7px);
            transition: 0.3s;
        }
    }

    &.on {
        span {
            background: transparent;
            transition: background 0;

            &:before {
                transform: rotate(45deg) translateY(0);
            }

            &:after {
                transform: rotate(-45deg) translateY(0);
            }
        }
    }
}
