.content { display: flex; flex-direction: column; align-items: center; } .form_contact { --base-padding: .5rem 1rem; display: flex; flex-direction: column; width: 15rem; margin-top: 2rem; } .form_contact input { padding: var(--base-padding); margin-bottom: 1rem; } .form_contact button { align-self: center; padding: var(--base-padding); margin-top: 1.5rem; cursor: pointer; } .form_contact textarea { height: 8rem; resize: none; padding: var(--base-padding); } .form_contact input, textarea, button { border-radius: 5px; }