.title { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: inherit; } @media screen and (max-width: 650px) { .title { align-items: flex-start; flex-direction: column; } } .labelAndInput { font-size: 1.2rem; }