HI there,
Your custom CSS looks exactly right. My guess is that various.css is not the place to put that custom CSS. And when I look at your source code I don’t see that stylesheet loaded on the page at all.
We put together a guide on implementing custom CSS on your WordPress website. That should get it working for you:
https://givewp.com/documentation/resources/handling-custom-css-in-wordpress/
Thanks!