JSFiddle - React, Tailwind, and code Playground
HTML
<header class="header">
<div class="container">
<div class="header-panel">
<div class="header-logo">
<a href="#" class="header-logo_link">
Ремонт<span class="header-logo_link-color">Ирк</span>
</a>
</div>
<nav class="header-nav">
<ul class="header-nav_list">
<li class="header-nav_list-item">
<a href="" class="header-nav_list-itemLink">
О нас
</a>
</li>
<li class="header-nav_list-item">
<a href="" class="header-nav_list-itemLink">
Наши услуги
</a>
</li>
<li class="header-nav_list-item">
<a href="" class="header-nav_list-itemLink">
Калькулятор
</a>
</li>
<li class="header-nav_list-item">
<a href="" class="header-nav_list-itemLink">
Портфолио
</a>
</li>
<li class="header-nav_list-item">
<a href="" class="header-nav_list-itemLink">
Гарантия
</a>
</li>
<li class="header-nav_list-item">
<a href="" class="header-nav_list-itemLink">
Контакты
</a>
</li>
</ul>
</nav>
<div class="header-call">
<a href="#" class="header-call_link">
...
CSS
body,
h1, h2, h3, h4,
p,
ul, ol, li {
margin: 0;
}
body {
min-height: 100vh;
line-height: 1.5;
font-family: "Basis Grotesque Pro", "Helvetica Neue", Arial, Droid, sans-serif;
font-size: 16px;
}
ul, ol {
list-style: none;
}
a {
text-decoration: none;
}
img {
max-width: 100%;
display: block;
}
/* ------------------------------------- */
.header {
position: absolute;
z-index: 2;
width: 100%;
top: 30px;
}
.container {
max-width: 1440px;
padding: 0 15px;
margin: 0 auto;
}
.header-panel {
display: flex;
justify-content: space-between;
padding: 15px 30px;
box-shadow: 0px 15px 25px 0px rgb(35 31 32 / 8%);
background-color: #fff;
}
.header-logo {
margin: auto 0;
}
.header-logo_link {
font-size: 2.5em;
font-weight: 800;
text-align: center;
color: #000;
}
.header-logo_link-color {
color: #059AE0;
}
.header-nav {
margin: auto 0;
align-items: center;
}
.header-nav_list {
display: flex;
}
.header-nav_list-item {
margin-right: 2px;
}
.header-nav_list-itemLink {
display: block;
padding: 15px;
border-radius: 5%;
color: #000;
transition: .2s;
}
.header-nav_list-itemLink:hover {
background-color:#059EA0;
color: #fff;
}
.header-call {
display: flex;
align-items: center;
}
.header-call_link {
font-size: 22px;
font-weight: 800;
color: #000;
}