Changed media queries by 15px to resolve the issue of overflow in Firefox. Added box-sizing to inputs so that their widths are consistent.