Problem deploying a THREE.js webpage into gh-pages

I am trying to deploy a website I have built on animated three.js the site is on and working but the animated part, the background included, isn’t showing up. The error messages I am getting are : Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of “text/css”. Strict MIME type checking is enforced for module scripts per HTML spec.

link to the githubpage - Luis's Portifolio
link to the project - GitHub - Doquey/Porttifolio