Подскажите свойства для размещения блока с строчным элементами по центру.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>Document</title>
</head>
<body>
<header class="header">
<div class="container">
<div class="header__logo">
<a href="#">
<img src="./img/logo-new.png" alt="">
</a>
<a href="#">
<img src="./img/menu.png" alt="">
</a>
</div>
<h1 class="title">РЕАЛИЗУЕМ КРУПНЕЙШИЕ
ПРОЕКТЫ В РОССИИ</h1>
<p class="subtitle">стадионы, газопроводы, мосты, дамбы</p>
</div>
</header>
<main class="main">
<section class="welcome">
<div class="container">
<div class="number__years">
</div>
</div>
</section>
</main>
</body>
</html>
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Oswald:wght@200..700&display=swap');
body {
margin: 0;
padding: 0;
font-family: "Oswald", sans-serif;
}
.header {
background-image: url("./img/image.jpg");
background-repeat: no-repeat;
background-size: cover;
background-position: center;
height: 100vh;
}
.container {
max-width: 700px;
margin: 0 auto;
}
.header__logo {
display: flex;
justify-content: space-between;
padding-top: 20px;
}
.title {
width: 734px;
font-size: 64px;
line-height: 95px;
text-align: center;
color: #FFFFFF;
}
.subtitle {
font-size: 18px;
line-height: 27px;
text-align: center;
text-transform: uppercase;
margin-top: 35px;
color: #FFFFFF;
}
.number__years {
display: inline-block;
margin: -137px 405px 0;
width: 1110px;
height: 300px;
background-color: rgba(247, 247, 247, 1);
}