JSFiddle - React, Tailwind, and code Playground

HTML

<div class="nav mobilenav">
<div class="header-title">
Institution
institution 1
</div>
  <ul>
<li><a href="/institutions/">Institutioner</a></li>
<li>
<a href="/leaders/">
Ledere
</a>
</li>    
<li class="logout">
<a class="button-dark" href="/user/logout">
Log ud
</a>
</li>
 </ul>
</div>

CSS

.nav {
    background: white;
}

ol, ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}
.header-title {
  justify-content: center;
    align-self: center;
    display: flex;
}
.nav ul li {
}
.nav ul li.logout {
      margin-left: auto;
}
.nav ul li a {
    
    text-decoration: none;
    padding: 0px 20px;
    font-weight: 600;
}



html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    font-size: 100%;
    vertical-align: baseline;
}