1
My search bar is not positioned correctly at the end, and the initial part of the menu is not at the beginning, everything is centralized.
Follows my code:
.barra{
        display: inline-flex;
        background-image: linear-gradient(150deg, #000080, #00BFFF);
        height: 50px
    }
.pesquisa{
    margin-right: auto;
    margin-left: auto;
    display: inline-flex;
}
.home2:not(.tutoriais){
    display: inline-flex;
    float: left !important;
    width: 50%;
    margin-right: 100px;
}
.section{
}
.pesquisa input button{
    float: right;
}
                    <div class="nav2 barra clear">
                    <ul class="home2">
                        <a class="Tutoriais" href="">Tutoriais</a>
                        <a class="Forum" href="">Fórum</a>
                        <a class="Login" href="">Login</a>
                        <a class="Cadastre-se" href="">Cadastre-se</a>
                    </ul>
                    <form method="get" class="pesquisa">
                        <input type="text" name="pesquisar" placeholder="Faça sua pesquisa" />
                        <button class="pesquisar" >Pesquisar</button>
                    </form>
                </div>
I would like it to look similar to the image search bar below:

Young your code is pretty messed up. You would have some image of the layout of how you would like it to stay?
– hugocsl
https://imgur.com/a/Yaz2I
– Julio Silva
good that it worked. If my answer has helped you in any way consider marking it as accepted in this
✔ai on the left side near the arrows. Just click on it :)– hugocsl