Need help with some styling.

I’m building a comparison table, that will have 4 columns but those columns will be divided up by specific features that I specify via “Anchor link buttons”

I’ve been able to get the anchor tags to work to jump to a certain area of the columns but I haven’t been able to get the button to change color when you scroll to that section by yourself.