Both were atheists. Satanists are theists.
Hitler was an occultist, not an atheist. He was associated with the Thule Society when tried to resurrect Odinist occult religions.
I know the difference. I’ve read enough from both to convince me they believed in and served lucifer.
The letters from Marx’s father suggest he believed the same thing about his son.