Some css stylings are automatically applied on hosting

When the site first loads, the home <div> looks like this:

<div id="home" class="jss1">

However, after navigating to products/services and pressing the back button it looks like

<div id="home" class="jss58">

The class changes.

This happens on the navigation elements as well. I can’t tell where the classes are coming from or why they are changing.

Is this when you are running npm run start (or react-scripts start)? Have you tried running npm run build to see the production output? Does it look the same when you build locally as it does on Netlify?