My search bar does not position correctly at the end, and the initial part of the menu is not at the beginning, everything is centralized.
Follow 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: