rewrote the card and added CSS3 transitions and transforms