Gantry 5 provides a custom error page for you to configure with either positions, particles or a combination of both, as well as styling.
modular/onlytext.html.twig
/proekty/_tyry-pyry
/proekty/_tik-tak