Instead of importing a whole animation library for two effects, you pick what you need here, tweak the parameters while watching the result and copy only that CSS (with optional minify and autoprefixer). According to the site, the generated CSS is free for personal and commercial use; the project is by Ana Travas and is still labeled beta.
Downloading as a file only works in Chrome; in other browsers, copy the code. There is no mobile version, so open it on desktop. Some animations are marked experimental.
Accessibility pitfall: big entrance animations and continuous motion bother people sensitive to motion. Wrap the CSS in @media (prefers-reduced-motion: no-preference). To fine-tune the easing curve, pair it with cubic-bezier.com or easings.net, both already in the catalog.