nav{
    display: flex;
    flex-shrink: 0;
    align-items: start;
    justify-content: start;
    flex-direction: column;
    height: 100%;
    width: 220px;
    padding: 20px 30px;
    font-family: inherit;
    border-right: 1px solid var(--grey);
    position: fixed;
    transition: width 0.3s ease-in-out;
    background-color: white;
}

#nav.closed{
    width: 50px;
    padding: 20px 10px;
}

nav .logo{
    width: 200px;
    margin-bottom: 80px;
}

.logo.closed{
    width: 50px;
}

nav section {
    display: flex;
    flex-direction: column;
    width: 100%;
    font-family: inherit;
    overflow-y: auto;
    overflow: hidden;
}

nav section h6{
    font-family: inherit;
    margin-left: 10px;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 300;
    font-size: 14px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

nav .user{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: absolute;
    bottom: 60px;
    padding: 10px 20px;
    font-family: inherit;
    background-color: var(--light-green);
    border-radius: 8px;
    margin: 10px 0 0 0;
}

nav .user img{
    width: 30px;
    height: 30px;
    border-radius: 100%;
    font-family: inherit;
}

nav .user .info{
    font-family: inherit;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info.closed{
    display: none;
}

nav .user .info .name{
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
}

nav .user .info .position{
    font-family: inherit;
    font-size: 12px;
    font-weight: 200;
}

#user_nav.closed{
    padding: 5px;
}

.sectionTitle{
    color: var(--dark-grey);
    font-weight: 400;
    font-family: inherit;
}

.sectionTitle.closed{
    text-overflow: ellipsis;
}

@media(max-width: 760px){
    nav{
        display: none;
        z-index: 1;
        background-color: white;
    }
}

