Flip cards basic logic and styles