Congrats on your effort to solve this design.
Here's one tip from my perspective:
You can centralize your card with specific width value and margin: auto
Achieve this,
You can add a div tag to contain your div tag that has .qr-code class
Add specific width and margin: auto to your div with .qr-code class