Responsive css grid calculator