img:active,
img:focus {
    height: auto;
    width: auto;
    position: fixed;
    top:  50%;
    left: 50%;
    z-index: 999;
    transform: translate(-50%, -50%);
    filter: brightness(0.9);
}