#header-container { display: flex; justify-content: space-between; align-items: baseline; padding-left: 1rem; padding-right: 1rem; background-color: rgb(33, 37, 41); } #header-home-link { text-decoration: none; color: inherit; } #header-restaurant-status { flex: 1; text-align: left; font-size: 1.2rem; } #header-timetable { flex: 1; text-align: right; font-weight: lighter; } @media only screen and (max-width: 600px) { #header-restaurant-status { display: none; } #header-container { flex-direction: column; align-items: center; padding-top: .5rem; padding-bottom: .5rem; } #header-home-link > h2 { font-size: 2rem; } }