#header { height: 3.5em; background-color: var(--primary); position: fixed; 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; z-index: 5; } .spacer { margin-bottom: 5em; } #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: var(--medium); } #header .buttons a:hover { background-color: var(--hover); } .selected { color: var(--logo) !important; border-bottom: 3px solid var(--logo); } #header .pfp { position: absolute; right: 1em; top: .5em; }