Changed width to percentage and added max-width