#header { height: 3.5em; background-color: white; position: absolute; width: 100vw; box-shadow: 0 2px 4px rgba(0, 0, 0, .05), 0 8px 16px rgba(0, 0, 0, .05); display: flex; align-items: center; justify-content: space-between; } #header .logo { position: absolute; font-size: 2.5em; padding-left: .5em; padding-top: .2em; } #header .buttons { flex: 1; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; } #header .buttons a { padding: 0px 50px; height: 100%; display: flex; align-items: center; justify-content: center; color: #606770; } .selected { color: #1778f2 !important; border-bottom: 3px solid #1778f2; }