In order to get it to work, you should add some CSS code to your Appearance > Customize > Additional CSS. You can add the code below:

.header .row{
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
align-items: center;
}

I hope the above is useful to you.

Thanks,
Piotrek