.navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    background: #FFFFFF;
    transition: background-color 0.3s ease-in-out;
    border-top: 3px solid $color-primary-light;
    box-shadow: 0px 30px 50px #0000001C;

    &__networks {
        padding-top: 16px;

        ul {
            gap: 0 22px;
        }
    }

    &__networks-mobile {
        display: none !important;
    }

    hr {
        margin-bottom: 0.5rem;
    }

    &__icon {
        display: none;
    }

    &__menu-content {
        padding-bottom: 0.5rem;


        &__image img {
            max-width: 152px;
            object-fit: cover;
        }

        // você pode tirar o flex do ul, caso use o bootstrap
        &__cont {
            background: transparent;
            padding: 0;

            display: flex;
            align-items: center;
            justify-content: space-between;
            // gap: 0 40px;

            li {
                text-transform: uppercase;
                font-family: $nunito-regular;
                font-size: 14px;
                letter-spacing: -0.14px;
                line-height: 18px;
                transition: transform .3s ease-in-out;
                color: $color-secondary;
                transition: all 0.5s ease;

                &:hover {
                    font-family: $nunito-extraBold;
                    color: $color-primary;
                    transform: translateY(-1px) scale(1);
                }

                cursor: pointer;
            }


        }

        .submenu-wrapper {
            img {
                margin-top: 6px;
            }

        }

        // seta após menus
        #item-2,
        #item-6 {
            position: relative;
        }

        #item-2::after {
            content: "";
            position: absolute;
            top: 50%;
            right: 0;
            transform: translate(100%, -40%);
            width: 20px;
            height: 20px;
            background-image: url('/img/icon/arrowdown.svg');
            background-size: cover;
            transition: filter 0.3s;

        }

        #item-2:hover::after {
            background-image: url('/img/icon/arrowdownblue.svg');

        }

        #item-6::after {
            content: "";
            position: absolute;
            top: 50%;
            right: 0;
            transform: translate(100%, -40%);
            width: 20px;
            height: 20px;
            background-image: url('/img/icon/arrowdown.svg');
            background-size: cover;
            transition: filter 0.3s;

        }

        #item-6:hover::after {
            background-image: url('/img/icon/arrowdownblue.svg');

        }




    }

    // menu e submenu
    .submenu-wrapper {
        position: relative;
        display: flex;
        align-items: center;


        .planos-1 {
            display: flex;
            flex-direction: column;
            white-space: nowrap;
            padding: 36px 32px;
            gap: 16px;
            margin-top: 27px;
        }

        .contato-2 {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            white-space: nowrap;
            padding: 36px 32px;
            gap: 16px;
            margin-top: 27px;
        }

        // active da linha em cima do submenu
        &.active:after {
            content: '';
            position: absolute;
            bottom: -27px;
            left: 0;
            height: 2px;
            background: $color-primary-light;
            width: 100%;
            transition: width 0.3s ease;

        }


        .planos-1,
        .contato-2 {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background-color: #fff;
            border-radius: 0px 20px 20px 20px;
            box-shadow: 0px 10px 30px #00000027;
            z-index: 50;


            li {
                text-transform: capitalize !important;
                font-family: $nunito-regular !important;
                font-size: 15px !important;
                letter-spacing: -0.15px !important;
                color: $color-primary;


            }
        }


    }

    .submenu-wrapper.active .submenu {
        display: flex !important;
    }

    .submenu-wrapper.active .contato-2 {
        display: grid !important;
    }

    &__training {
        display: flex;
        align-items: center;
        gap: 0 7px;

        &__icon img {
            width: 19px;
        }
    }



    &__handle {
        width: 100%;
        background: white;
        padding: 15px 10px;
        cursor: pointer;
        color: #DEA621;
        display: none;
        // transition: color 0.3s ease-in-out;

        &__image img {
            max-width: 60%;
        }
    }

    &__btns {
        display: flex !important;
        gap: 0 6px;
    }

    &__net {
        display: none;
    }

    //  responsive notebooks screens 1021 x 1200
    @media screen and (min-width: $min-small) and (max-width: $max-small) {
        &__menu-content {
            max-width: 965px;
        }
    }

    //  responsive mobile screens 1020
    @media screen and (min-width:$min-mobile) and (max-width:$max-small) {
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;

        .button {
            width: 100%;
        }

        &__menu-content ul {
            flex-direction: column;
            gap: 40px;
        }

        // começando a configuração do menu mobile
        &__menu-content {
            position: fixed;
            top: 4%;
            right: -320px;
            width: 300px;
            height: 100%;
            background-color: #fff;
            box-shadow: -10px 10px 8px 1px rgba(0, 0, 0, 0.2);
            transition: right 0.3s ease;
            padding: 60px 20px;

            #item-2::after,
            #item-6::after {
                display: none;

            }



        }



        &__menu-content.active {
            right: 0;
            overflow: auto;
        }


        &__handle {
            display: flex;
            justify-content: space-between;
            align-items: center;
            opacity: 1;
            transition: all 0.5s ease;
            padding: 40px 16px;
            /* Duração da transição para o handle */
        }

        // Icone Hamburguer
        &__menuToggle {
            display: block;
            position: relative;
            z-index: 1;
            -webkit-user-select: none;
            user-select: none;

            input {
                display: block;
                width: 40px;
                height: 32px;
                position: absolute;
                top: -7px;
                cursor: pointer;
                opacity: 0;
                z-index: 2;
                -webkit-touch-callout: none;
            }

            span {
                position: relative;
                display: block;
                width: 30px;
                height: 4px;
                margin-bottom: 5px;
                position: relative;
                background: #260133;
                border-radius: 3px;
                z-index: 1;
                transform-origin: 4px 0px;
                transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
                    // background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
                    opacity 0.55s ease;

                &:first-child {
                    transform-origin: 0% 0%;
                }

                &:nth-last-child(2) {
                    transform-origin: 0% 100%;
                }
            }
        }

        // icone de fechamento
        &__menuToggle input:checked~label span {
            opacity: 1;
            transform: rotate(45deg) translate(-2px, -1px);
            background: #260133;

            &:nth-last-child(3) {
                opacity: 0;
                transform: rotate(0deg) scale(0.2, 0.2);
            }

            &:nth-last-child(2) {
                transform: rotate(-45deg) translate(0, -1px);
            }
        }

        .submenu-wrapper {
            display: inline-block;
            text-align: center;

            .submenu {
                position: relative;
            }

            .contato-2,
            .planos-1 {
                box-shadow: unset;
                margin-top: unset;
            }

            .contato-2 {
                grid-template-columns: repeat(1, 1fr);

            }

            &.active:after {
                display: none;

            }



        }

        // Aqui é para as setas do mobile
        &__icon {
            display: inline-block;
            width: 20px;
            height: 20px;
            margin-top: 0 !important;
        }

        #item-2:hover &__icon,
        #item-6:hover &__icon {
            background-image: url('/img/icon/arrowdownblue.svg');

        }

        &__btns {
            flex-direction: column;
            gap: 10px;
            width: 100%;
        }

        &__networks,
        hr {
            display: none !important;
        }

        &__networks-mobile {
            display: block !important;
            margin-top: 20px;

            &__phone {
                gap: 20px !important;
                margin-top: 40px;
            }
        }
    }

}
