.form { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 20%; height: auto; color: white; background: #095d7e; border-radius: 10px; padding: 2rem; } h1, h2, h3 { margin: 0; padding: 0; } .header hr { width: 15vw; } .header { display: flex; flex-direction: column; align-content: center; justify-content: center; font-size: 1.5rem; text-align: center; margin: 0 0 1rem 0; } .content { display: flex; flex-wrap: wrap; flex-direction: column; justify-content: center; align-content: center; } .footer { display: flex; flex-wrap: wrap; justify-content: center; align-content: center; align-items: center; margin: 1rem 0 0 0; } input { text-align: center; color: white; font-weight: bold; font-size: 1.2rem; width: 70%; padding: 1rem; margin: 0.7rem; border-radius: 10px; } button { font-weight: bold; padding: 0.5rem 3rem 0.5rem 3rem; font-size: 1rem; border: none; border-radius: 5px; cursor: pointer; } button[name="submit"] { background-color: #F44336; color: white; }