changed margins amd width to fix error - type was going off the edge of screen