Assets in css dont link properly in pages other than home

You’re using relative URLs that will always look inside the current URL structure. You either need to add a slash before wp-content, or put in the full URL to the resources.

So for example: src: url('/wp-content/themes/mytheme/fonts/font.ttf');

or src: url('http://example.com/wp-content/themes/mytheme/fonts/font.ttf');

tech