Made CSS Grid more Dynamic