.navegacao-principal {
    position: fixed;
    z-index: 12;

    display: flex;
    gap: 30px;

    height: 50px;
    width: 100%;

    font-size: 14px;
    font-family: "Arial", sans-serif;
    font-weight: 400;
    letter-spacing: 1px;

    background-color: #111;
    -webkit-box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.2);
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.2);

    .lista-navegacao {
        position: relative;

        list-style: none;
        margin: 0;
        padding: 0;

        .item-navegacao, .item-sub-lista{
            width: 130px;
            height: 100%;
            float: left;

            &:hover .sub-lista-navegacao, &:focus-within .sub-lista-navegacao, &:active .sub-lista-navegacao {
                pointer-events: auto;
                opacity: 1;
            }

            a {
                display: block;

                text-decoration: none;
                text-align: center !important;
                color: #fff;
                padding: 15px;
                
                background-color: #111;
                transition: 250ms;

                &:hover,
                &:focus,
                &:active {
                    background-color: #fff;
                    color: #000;
                }

                span {
                    font-size: 15px;
                }
            }
        }

        .titulo-item {
            display: block;
            text-align: center;
            place-content: center;
            height: 100%;

            .icone-expandir {
                opacity: 0;
                margin-left: -5px;
                transition: 250ms;
            }

            &:hover,
            &:focus,
            &:active {
                .icone-expandir {
                    opacity: 1;
                    margin-left: 0px;
                }
            }
        }

        .item-sub-lista{
            width: 150px;
        }

        .sub-lista-navegacao {
            position: absolute;

            display: flex;
            flex-direction: column;

            margin: 0;
            padding: 0;

            pointer-events: none;
            list-style: none;
            opacity: 0;
            transition: 250ms;

            li {
                float: none;
                border-top: solid 1px #777;

                &:first-child {
                    border-top: none;
                }
            }
        }
    }

    
}


#logo {
    position: relative;
    width: 200px;

    img {
        height: 50px;
    }

    a{
        display: flex;
        justify-content: center;
        width: 100%;
        height: 100%;
    }

    &:hover {
        &::after {
            opacity: 1;
        }
    }

    &::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;

        opacity: 0;
        pointer-events: none;
        backdrop-filter: invert(1);

        width: 100%;
        height: 100%;

        transition: 250ms;
    }
}

label.icone-expandir {
    position: fixed;
    z-index: 100;

    border-radius: 5px;
    margin: 5px;
    padding: 5px;
    background-color: #1111111f;
    backdrop-filter: blur(25px);
    color: #fff;
    font-family: "Arial", sans-serif;
    text-align: center;
    cursor: pointer;
    font-size: 30px;
    width: 50px;
    height: 50px;
    -webkit-box-shadow: 1px 1px 5px 5px rgba(0, 0, 0, 0.1);
    box-shadow: 1px 1px 5px 5px rgba(0, 0, 0, 0.1);
    display: none;
}

label.icone-esconder {
    color: #fff;
    font-family: "Arial", sans-serif;
    text-align: center;
    cursor: pointer;
    font-size: 20px;
    width: 20%;
    height: 20px;
    margin: 0;
    -webkit-box-shadow: 1px 1px 5px 5px rgba(0, 0, 0, 0.1);
    box-shadow: 1px 1px 5px 5px rgba(0, 0, 0, 0.1);
    display: none;

    i{
        color: rgb(161, 161, 161);
    }
}

#botaoExpandirNavegacao {
    display: none;
}



@media(max-width: 1140px) {
    label.icone-expandir {
        display: block;
    }

    #logo {
        display: flex;
        justify-content: space-between;
        align-items: center;

        height: 70px;
        width: 100%;

        &::after{
            display: none;
        }

        a{
            width: 80%;
            justify-content: unset;

            &:hover, &:focus, &:active {
                background-color: transparent;
            }
        }

        img {
            height: 70px;
            width: auto;
            margin-left: -1.7%;
        }
    }


    #botaoExpandirNavegacao:checked{

        &~.navegacao-principal {
            margin-left: 0;

            .icone-esconder {
                display: block;
            }
        }
    }

    .navegacao-principal{
        flex-direction: column;
        align-items: center;

        height: auto;
        width: 100%;

        margin-left: -100%;

        transition: 250ms;

        .lista-navegacao{
            flex-direction: column;
            width: 100%;

            .item-navegacao, .item-sub-lista {
                width: 100%;

                a {
                    padding: 10px;

                    &:hover, &:focus, &:active {
                        background-color: transparent;
                    }
                }
                .titulo-item{
                    display: none;
                }
                .sub-lista-navegacao{
                    width: 100%;
                    pointer-events: auto;
                    opacity: 1;

                    li{
                        border: none;
                    }
                }
            }
        }
    }
}