
HTML
<nav class="navbar">
<div class="nav">
<img src="img/header_logo.png" class="header_logo" />
<a href="#home">ГЛАВНАЯ</a>
<a href="#product">НАШИ УСЛУГИ</a>
<a href="#about">О КОМПАНИИ</a>
<a href="#contact">КОНТАКТЫ</a>
<img src="img/Mail.png" class="email" />
<button class="nav_btn">
<div class="nav_btn_title">Заказать звонок</div>
</button>
</div>
</nav>
CSS
.navbar {
width: 100%;
height: 64px;
max-width: 1440px;
box-sizing: border-box;
margin: 0 auto;
background: #282828;
}
.nav {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
gap: 48px;
width: 100%;
height: 100%;
font-family: "Helvetica Neue";
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 120%;
text-transform: uppercase;
color: #ffffff;
}
.nav a {
display: flex;
flex-direction: row;
justify-content: center;
color: white;
text-decoration: none;
}
.nav_btn {
box-sizing: border-box;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
padding: 8px 16px;
gap: 8px;
max-width: 188px;
height: 32px;
width: auto;
background: #fdfeff;
border-radius: 8px;
}
.nav_btn_title {
width: 156px;
height: 24px;
font-family: "Helvetica Neue";
font-style: normal;
font-weight: 400;
font-size: 20px;
line-height: 120%;
color: #000000;
flex: none;
order: 0;
flex-grow: 0;
}
.email {
width: 32px;
height: 32px;
right: 315px;
top: 16px;
}
.header__logo {
top: 9px;
}
.header_image {
width: 100%;
background: linear-gradient(0deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45));
}
.hero {
background-image: url(../img/hader.png);
background-position: center;
background-size: cover;
background-repeat: no-repeat;
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 780px;
gap: 32px;
top: 64px;
max-width: 1440px;
margin: 0 auto;
}
.hero_btn {
display: flex;
justify-content: center;
align-items: center;
padding: 14px 8px;
width: 1200px;
height: 54px;
top: 14px;
background: #db7125;
border-radius: 8px;
}
.btn_title {
font-size: 20px;
line-height: 120%;
color: #ffffff;
}
.hero_title {
display: flex;
flex-direction: column;
justify-content: left;
margin: 120px;
flex-grow: 1;
flex-wrap: nowrap;
gap: 24px;
}