.header { margin: auto; padding: 1.5rem; padding-bottom: 0rem; text-align: center; display: flex; font-size: large; } .logo { display: flex; width: 48pt; } .header-items { padding-right: 1rem; margin: auto; margin-right: 0px; display: flex; float: right; right: 0px; align-items: right; text-align: right; } .header-item { margin-left: 2.5rem } .dropdown-content { display: none; position: absolute; background-color: #f9f9f9; min-width: 160px; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); z-index: 1; } .dropdown:hover .dropdown-content { display: block; }