* { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: sans-serif; font-size: 14px; display: flex; height: 100vh; justify-content: center; align-items: center; flex-direction: column; } .form { width: 200px; display: flex; flex-wrap: wrap; padding: 10px 20px; background-color: white; border-radius: 10px; box-shadow: 0 0 16px black; } .form > * { margin: 10px 0; width: 100%; display: block; height: 25px; border-radius: 5px; border: 1px solid gray; font-family: sans-serif; outline: none; } .form > input { padding-inline-start: 10px; } button:hover, input:focus { background-color: rgb(242, 228, 255); border-color: blueviolet; color: blueviolet; } button:hover { cursor: pointer; } a { margin-top: 20px; }