and the interesting "trick" I learnt the other day for fixed/absolute positioning, if you add
inset:0rem;
margin: auto;
it will center vertical and horizontal it without having to translate itcourtesy of Kevin Powell - https://www.youtube.com/watch?v=HOM47v73yG8 ( who I've found to be an amazing resource for learning all kinds of CSS info )