CSS Media Queries issue

Card Match Game

I am finishing up with my card match game, but I am struggling with media queries in the CSS. I am trying to make sure the images will scale and stack properly on smaller screens, but so far I have had no luck. Any suggestions?