HW4 version with responsive design and CSS styling