Pure CSS Galley Carousel with Keypress?

Hi I have a pure css carousel lightbox which is working fine.
However, I would like to do three things:
-when i press ESC it simulates clicking the close button;
-when pressing left and right it simulates clicking the left/right button; and,
-when i click off the image, the lightbox closes.
Ideally it would be great if this can be done in pure css.

Here is a fiddle: https://jsfiddle.net/postcolonialboy/Lxa2pgrw/3/

(If not, willing to accept jquery :p)

Here is what I have:

<span...
HTML:

Pure CSS Galley Carousel with Keypress?