Centering

<div class="container">
...
</div>
.container {
align-items: center;
display: flex;
justify-content: center;
}