This is wrong, it should be
nav#bar #logo { display: flex; justify-content: center; flex-basis: 100%; }