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