body { font-family: monospace; } .nav-wrapper { background-color: blue; padding: 15px; } .nav-wrapper a { color: #fff; text-decoration: none; margin-left: 15px; margin-right: 15px; font-size: 1rem; } .nav-wrapper a:hover { cursor: pointer; text-decoration: underline; } .login-wrapper { position: relative; left: 50vw; width: 400px; border: 1px solid lightgrey; border-radius: 5px; background-color: #fff; box-shadow: 8px 8px 8px lightgrey; padding: 15px 10px; } .username { position: relative; display: flex; margin-left: auto; margin-right: auto; width: 90%; border: 1px solid lightgrey; border-radius: 5px; padding: 15px; font-size: 1.1rem; }