body { margin: 0; } #login-screen { width: 100vw; height: 100vh; /* width: 100%; */ /* height: 100%; */ display: flex; justify-content: center; align-items: space-around; flex-direction: column; margin: auto; } #logo { display: block; width: auto; margin: 0 auto; } .login-line { margin-top: 1rem; display: flex; justify-content: center; text-align: center; align-items: center; gap: 0.5rem; } .login-line > input { border-color: rgba(31, 41, 55, 0.2); padding: 0.5rem 1rem; } @media screen and (max-width: 1407px) { #login-screen { font-size: 24pt; gap: 2rem; } #logo { max-width: 25%; height: auto; } .login-line { height: 5rem; } .login-line > img { height: 3rem; width: auto; } .login-line > input { width: 40%; height: 4rem; border-radius: 20px; } .login-line > input::placeholder { font-size: 3rem; } .login-line-input { /* Center the middle of the input relative to the logo. Is that a good idea? */ margin-right: 3rem; } #submit-login { font-size: 2rem; } } @media screen and (min-width: 1408px) { #login-screen { max-width: 250px; } #logo { max-height: 5rem; max-width: 5rem; height: auto; } .login-line { height: 2.5rem; } .login-line > img { width: 1.75rem; height: auto; } .login-line > input { border-radius: 8px; } .login-line-input { /* Center the middle of the input relative to the logo. Is that a good idea? */ margin-right: 1.75rem; } } #submit-login { background-color: rgb(87, 13, 248); cursor: pointer; box-sizing: border-box; border: none; color: rgb(240, 240, 240); font-weight: bolder; text-transform: uppercase; margin: auto; } .banner { margin: 1rem auto; width: 100%; border-radius: 5px; } .banner > p { text-align: center; } .is-success { background-color: #28cb28; color: #efefef; } .is-error { background-color: #d42929; color: #efefef; }