*{ margin: 0; padding: 0; font-family: "Arial"; font-size: 1em; } html, body{ height: 100%; } body{ display: flex; flex-wrap: wrap; flex-direction: row; justify-content: center; align-items: center; } #formulaire{ background-color: white; border-radius: 10px; padding: 4em; width: 40%; } #enregistrer{ margin-top: 1em; text-align: center; } h1{ text-align: center; } form{ margin-top: 3em; } .form{ box-sizing: border-box; width: 55%; border: 1px solid grey; margin-bottom: 0.7em; } #avatar{ border-style: none; } .button{ cursor: pointer; font-weight: bold; padding: 8px; color: white; background-color: rgb(65, 154, 28); border-radius: 5em; border: none; } .button:hover{ background-color: rgb(48, 112, 20); border-color: rgb(48, 112, 20); } .button:disabled{ cursor: not-allowed; background-color: grey; } #submit{ margin-top: 1em; margin-left: 50%; transform: translate(-50%); } .line{ display: flex; flex-wrap: wrap; flex-direction: row; justify-content: left; width: 100%; } #error{ margin-bottom: 1em; } .error{ color: red; text-align: center; } label{ box-sizing: border-box; font-size: 1.1em; width: 45%; min-width: 8em; } h1{ font-size: 2em; } button{ color: forestgreen; border-color: forestgreen; border-radius: 5em; }