.sidenav {
    position: fixed;
    right: 0;
    width: 50px;
    height: 100vh;
    background-color: white;
    border: 1px solid #dadada;
    border-radius: 5px;
    transition: width 500ms ease;
    z-index: 99;
}
.sidenav-open, .sidenav:hover {
    width: 250px;
}
.sidenav-open .sidenav-items, .sidenav:hover .sidenav-items {
    display: block;
}
.sidenav-items {
    display: none;
    width: 100%;
}
.sidenav-item {
    font: larger;
    margin-bottom: 2rem;
    cursor: pointer;
    width: 100%;
    
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    padding: 10px 20px;
    margin-left: 0;
    transition: margin-left 500ms ease;
}
.sidenav-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
}
.sidenav-item:last-child {
    margin-bottom: 0;
}
.sidenav-item-active {
    background-color: #287dfd;
    padding: 5px 5px;
    margin-left: 1rem;
    width: fit-content;
    border-radius: 5rem;
    color: white;
}
.sidenav-item-active:hover {
    background-color: #2268d3
}
.app {
    position: relative;
    margin-right: 50px;
}
.sidenav-tools {
    margin-bottom: 2rem;
    padding: 10px 10px;
}
.sidenav-tool button {
    border: none;
    border-radius: 5px;
    background-color: #8b8b8b;
    color: white;
    padding: 5px 5px;
}
.sidenav-tool button:hover {
    background-color: #797979; 
}
.expendBtn{
    transform: rotate(0deg);
    transition: transform 500ms;    
}
.sidenav-open .expendBtn, .sidenav:hover .expendBtn {
    transform: rotate(-180deg);
}