.body_modal-form { width: 100%; height: 90%; padding: 2%; display: flex; flex-direction: column; justify-content: center; align-items: center; } .body_modal-form_row { display: flex; width: 100%; justify-content: space-around; flex-direction: column; } .body_modal-form_row-field { margin-bottom: 3%; width: 100%; } .body_modal { height: 100%; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }