First version of code

CSS with animations. Can be optimized and made to look better.