
aside {
    height: 100vh;
    display: block;
}

.toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.4rem;
    gap: 0.8rem;
}

.logo {
    display: flex;
    gap: 0.5rem;
}

.logo img {
    width: 2.5rem;
    height: 2.5rem;
}


.close {
    padding-right: 1rem;
    display: none;
}

.sidebar {
    display: flex;
    flex-direction: column;
    background-color: var(--color-white);
    box-shadow: var(--box-shadow);
    border-radius: 0 20px 20px 0;
    height: 87vh;
    position: relative;
    top: 0.5rem;
    transition: all 0.3s ease;
}

.sidebar:hover {
    box-shadow: none;
}

.sidebar a {
    display: flex;
    align-items: center;
    color: var(--color-info-dark);
    height: 3.7rem;
    gap: 1rem;
    position: relative;
    margin-left: 2rem;
    transition: all 0.3s ease;
}

.sidebar a span {
    font-size: 1.6rem;
    transition: all 0.3s ease;
}

.sidebar a:last-child{
    position: absolute;
    bottom: 2rem;
    width: 100%;
}

.sidebar a.ativo {
    width: 100%;
    color: var(--color-primary);
    background-color: var(--color-light);
    margin-left: 0;
}

.sidebar a.ativo::before {
    content: '';
    width: 6px;
    height: 18px;
    background-color: var(--color-primary);
}

.sidebar a.ativo span {
    color: var(--color-primary);
    margin-left: calc(1rem - 3px);
}

.sidebar a:hover {
    color: var(--color-primary);
}

.sidebar a:hover span {
    margin-left: 0.6rem;
}

@media screen and (max-width:768px) {
    .close {
        display: block;
    }
}