.header { border-bottom: 1px solid var(--border1); position: relative; background-color: var(--background2); } .headerBottomLeft { font-size: larger; } .container { height: 30px; display: flex; align-items: center; } .logo { margin-bottom: -15px; max-height: 40px; object-fit: contain; } .logoText { margin-bottom: -28px; max-height: 26px; object-fit: contain; } .tabMenu { list-style: none; white-space: nowrap; display: inline-block; margin-bottom: -33px; padding-left: 15px; li { display: inline; font-weight: bold; margin: 0px 3px; .selected { color: var(--text2); background-color: var(--background1); border: 1px solid var(--border1); border-bottom: 1px solid var(--background1); } .choice { color: var(--text1); background-color: var(--background3); border-bottom: 1px solid var(--border1); } a { padding: 2px 6px 0 6px; text-decoration: none; } } } @media (max-width: 530px) { .container { align-items: flex-start; height: 57px; } .logo { position: absolute; padding: 8px 0 0 5px; } .logoText { position: absolute; padding: 22px 0 0 37px; } .tabMenu { padding: 45px 0 0 0; } }