using css animations and tranzitions