Written Norwegian and spoken variety
Norwegian has two official written standards, Bokmål and Nynorsk. God natt and Sov godt are useful forms across both, so there is no need to learn two entirely different bedtime greetings simply because the written standards exist. Spoken dialects are a separate matter and may vary in vowel quality, rhythm and the pronunciation of consonants. The pronunciation cues here give an accessible starting point, not an attempt to represent every local accent from the south to the far north.
Recognising a casual night-time sign-off
Natta is an everyday informal alternative to the full farewell. It resembles English Night! in the way it shortens the exchange. It can suit a friend who is heading home, a housemate who is going upstairs or a familiar person in a chat. If you are unsure about how familiar to sound, the full form is an easy choice. The dream-related expressions in the list are warmer still, particularly when they are addressed to someone you know well.
Light evenings and the end of the day
In northern Norway, summer daylight can continue through the usual sleeping hours. The reverse occurs during the polar night in winter. A bedtime wish remains appropriate in both situations because it relates to what someone is doing, not simply to the brightness outside. If your travelling companions are still going out, a general farewell may fit better. When everyone is retiring to their rooms, God natt is perfectly natural even if the sun is still visible. The same principle applies when you are closing a late conversation online.