How to set cookie banner in center of the screen and lock screen till getting response?
You'd style the banner with css
div#hs-eu-cookie-confirmation {
height: 100%;
/* etc., lots of styling, probably need a bfore elemnet for the shading? */
}
Then you'd probably set a class on your body element that had a overflow:hidden; and a height:100vh. Maybe this'd do the shading too if you weren't doing it above. Or maybe you could set a class on the html element that had overflow hidden. instead.
Then you'd create some javascript to remove the overflow hidden class you created on the body/html when a button in the cookie banner is clicked.
But, personally, I wouldn't do it unless you really have to, it's pretty annoying for the end user.