CSS functions and updated principles

Pictures now will not stretch the screen