always seeing people hardcode width: 300px on form inputs like it's still 2005. makes everything break when the viewport shrinks below that value. use max-width instead so the element can actually shrink with its parent. if you're using a framework, just check your global styles.
>set width to exactly 300pxit's literally such a rookie mistake. breaks flexbox layouts instantly and causes that annoying horizontal scroll on small screens. just use 100% or something sensible for once.
input {width: 100%;max-width: 400px;}