Codes works fine in codepen but not in webflow


I seem to run into issues converting codes from codepen to webflow.
I’m using jsdlivr and github as cdn for my css and js, and put html directly in webflow.
Seems html and js are working fine, but styling looks messed up in webflow.

Here’s the link to the way i want it in codepen:

Here’s how it ends up looking in webflow:

Does anyone know what would be the issue?

Thank you!