Declaration of Independence is not law, merely a statement of why we left Great Britain.
Our Constitution is a secular document, which in no way states our rights are God given.
The two go together.
No it is not secular. It states in our Constitution that Government business can not be conducted on Sundays.