Made some progress :)
Managed to make the animations/transforms work one way, but I can’t figure out how to reverse the animations. Simply removing the class abruptly positions the elements in their original position, adding a new class with a new animation does not seem to work either. Any thoughts?
Thank you for your help so far!