JSFiddle - React, Tailwind, and code Playground

HTML

<header class="header">


  <a class="logo" href="">
    <img src="https://i.ibb.co/zmtszpK/Log0.png" width="200" alt="">
  </a>

  <nav>
    <ul class="menu">
      <li class="text text-1">text</li>
      <li class="text text-2">text</li>
    </ul>
  </nav>
  
</header>

CSS

@import url('https://fonts.googleapis.com/css2?family=Neucha&display=swap');


* {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Neucha', cursive;
}

img {
  max-width: 100%;
}

.header {
  position: relative;
  width: 80%;
  min-height: 100px;
  margin: auto;
  background: #eee;
}

.menu {

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


.text {
  font-size: 30px;
  text-align: center;
}

.logo {

  display: block;
  width: 200px;
  margin: 0 auto;
}


@media (min-width: 800px) {
  .menu {
    display: flex;
    justify-content: space-between;
  }

  .text-1 {
    text-align: left;
  }

  .text-2 {
    text-align: right;
  }

  .logo {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }
}