.logo-container { display: flex; justify-content: center; /* horizontally center */ align-items: center; /* vertically center */ }