refactored for loop to shorten code significantly, added minimal css to start imagining page function better