html, body { /* обязательно сразу для html и body */
scroll-behavior: smooth;
}
top: -117px;
top: -737px;
top: -348px;
top: -1209px;
top: -1423px;
top: -332px;
top: -1159px;
top: -1130px;
top: -958px;
top: 44%;
left: 41%;
...и т.д.
/../../../style.css
../../../style.css
./../../../style.css
let a = querySelector(`a[role="button"]`);
a.outerHTML = `<a class="nav-link" href="javascript:;" onclick="OpenOplata()">${ a.innerHTML }</a>`;