.header { display: flex; height: 80px; } .header > div { flex: 1; } .title { font-size: var(--font-size-large); } .nav { list-style: none; display: flex; justify-content: flex-end; align-items: center; } .nav > * { font-size: var(--font-size-normal); font-weight: 600; margin-left: 40px; } .logo { margin-right: 12px; }