link de navbar cai mais do que o esperado

html {
  scroll-padding-top: 4rem; /* the value must be set according to the size of the navbar */
}
Stormy Sloth