;

    // Remove the no-transition class after the page is fully loaded
    setTimeout(() => {
        body.classList.remove('no-transition');
    }, 50); // Allow rendering to complete before enabling transitions
});

function adjustMainBodyOffset() {
    const topMenu = document.getElementById("topmenu");
    const mainBody = document.getElementById("main");

    if (topMenu && mainBody) {
        const topMenuHeight = topMenu.offsetHeight;
        mainBody.style.marginTop = `${topMenuHeight}px`;
    }
}
