main { display: flex; flex-direction: column; align-items: center; justify-content: center; } #formulaire { width: fit-content; border: solid purple 2px ; border-radius: 15px; display: flex; text-align: center; flex-direction: column; justify-content: center; align-items: space-between; padding-left: 15%; padding-right: 15%; padding-bottom: 2rem; margin-top: 5rem; margin-bottom: 5rem; } form { display: flex; flex-direction: column; justify-content: center; align-items: center; padding-bottom: 2rem; } #feedback #form{ padding: 2rem; margin-top: 1rem; margin-bottom: 1rem; }