HTML
<header class="header">
<div class="container">
<div class="header__top">
<a class="logo" href="#">
<img class="header__logo" src="images/header-logo.png" alt="">
</a>
<nav class="nav">
<ul class="nav__list">
<li class="nav__list-item">
<a class="nav__list-link" href="#diagnostic">Диагностика</a>
</li>
<li class="nav__list-item">
<a class="nav__list-link" href="#price">Стоимость</a>
</li>
<li class="nav__list-item">
<a class="nav__list-link" href="#team">Мастера</a>
</li>
<li class="nav__list-item">
<a class="nav__list-link" href="#comments">Отзывы</a>
</li>
<li class="nav__list-item">
<a class="nav__list-link" href="#questions">Вопросы</a>
</li>
</ul>
</nav>
<div class="call">
<p class="call__text">Москва</p>
<a href="#" class="call__button">Позвонить</a>
</div>
</div>
CSS
.header {
background-image: url(../images/header-bg.jpg);
background-size: cover;
/* background-position: 100% 100%; */
background-repeat: no-repeat;
min-height: 100vh;
}
.header__top {
display: flex;
justify-content: space-between;
align-items: center;
padding-top: 46px;
}
.logo {
padding-bottom: 5px;
}
.nav {
width: 50%;
}
.nav__list {
display: flex;
gap: 40px;
}
.call {
display: flex;
}
.call__text {
display: flex;
align-items: center;
padding-right: 40px;
}
.call__text::before {
content: '';
padding-right: 10px;
background-image: url(../images/geo.svg);
background-repeat: no-repeat;
min-width: 20px;
min-height: 20px;
}
.call__button {
padding: 18px 40px;
font-weight: 700;
background-color: transparent;
border: 2px solid #FFC464;
border-radius: 15px;
color: #FFC464;
cursor: pointer;
transition: all .3s ease;
}
.call__button:hover {
background-color: #fff;
color: black;
}