.box-aside {
    height: 100%;
    background: linear-gradient(90deg, rgba(82, 124, 172, 0.90) 0%, rgba(82, 124, 172, 0.67) 47.53%, rgba(82, 124, 172, 0.45) 73%, rgba(82, 124, 172, 0.22) 88.5%, rgba(82, 124, 172, 0.00) 100%);
    text-align: right;
}

.navegacao {
    display: flex;
    gap: 40px;

    height: 100vh;
    margin-inline: 10%;
    padding-top: 40px;

}



.navegacao-list,
li {
    all: unset;
}

.navegacao-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.botao {
    color: #FFF;
    text-align: center;
    font-size: 15px;
    font-style: normal;
    line-height: normal;
    text-decoration: none;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
    left: 0;

    height: 53px;
    max-width: 300px;
    width: 100%;

    margin: 0;
    padding: 10px;
    border: 2px solid #9CBBDF;
    border-radius: 100px;

    background: #5E87B6;
    backdrop-filter: blur(10px);

    transition: 250ms;
}

.botao p {
    margin: 0;
}

.botao.voltar {
    font-size: 1.5rem;
    width: 53px;
}

.botao.voltar:hover,
.botao.voltar:focus-visible {
    left: 0;
    background-color: #00000021;
}

.botao.voltar p {
    margin: 0;
    color: white;
}

.botao:hover,
.botao:focus-visible,
.botao:focus,
.botao.active {
    color: white;
    background-color: #00000021;
    left: 15px;
    outline: none;
    text-decoration: none;
}



.botao-expandir-navegacao {
    display: none;
}

.botao-expandir-navegacao:hover,
.botao-expandir-navegacao:focus-visible,
.botao-expandir-navegacao:focus {
    left: 0;
}

.esconder {
    visibility: hidden;
}

@keyframes showUp {
    from {
        opacity: 0;
        height: 0px;
    }

    to {
        opacity: 1;
        height: 477px;
    }
}

@keyframes hideDown {
    from {
        opacity: 1;
        height: 477px;
    }

    to {
        opacity: 0;
        height: 0px;
    }
}



/* MEDIA QUERIES */

@media (max-width: 860px) {
    .navegacao {
        justify-content: normal;
    }
}

@media (max-width: 490px) {
    .box-aside {
        height: auto;
    }

    .navegacao {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        height: 100%;
    }

    .botao-expandir-navegacao {
        display: block;

        &+.navegacao-list>li>.botao.active {
            left: 0;
        }
    }

    .esconder {
        display: none;
    }

    .botao.voltar {
        width: 100%;
    }

    .botao.voltar::after {
        content: "Voltar";
        margin-left: 10px;
    }

    .navegacao-list {
        display: none;
        align-items: center;
        overflow: hidden;
        border: 2px solid #9CBBDF;
        border-radius: 27px;
    }

    .showNav,
    .hideNav {
        display: flex;
        width: unset;
        align-items: stretch;
        gap: 0;
    }

    .showNav {
        animation: showUp 250ms forwards;
    }

    .hideNav {
        animation: hideDown 250ms forwards;
    }

    .navegacao-list .botao {
        border-radius: 0;
        border: 0;
    }

    .navegacao-list .botao:hover,
    .navegacao-list .botao:focus,
    .navegacao-list .botao:focus-visible {
        left: 0;
        backdrop-filter: blur(10px) !important;
    }

}