.top { font-size: 16px; display: flex; flex-direction: row; align-items: center; padding: 15px 40px; background: rgba(4, 5, 7, 0.9); color: #fff; font-weight: 900; font-size: 30px; position: fixed; top: 0; left: 0; right: 0; z-index: 1; .top-logo { height: 80px; margin-right: 20px; } .top-rignt { position: absolute; right: 40px; span { font-size: 16px; } a { font-size: 16px; margin-left: 10px; } } }