.login-container { display: flex; flex-direction: column; height: 100vh; justify-content: center; align-items: center; img { max-width: 30%; } form { width: 33%; margin-top: 3%; display: flex; flex-direction: column; .row { input { font-size: 0.9em; } label { font-weight: bold; font-size: 0.9em; margin-bottom: 4px; } } .submit-button { margin-top: 16px; } } }