How to disable in Mobile and Tablets?

Hi,

Pop up works perfect in browser! But I would like to disable this when viewed in mobile and tablets.
I tried putting display:none; on my media query, but it still shows up and its causing my layout to break.

Any help is appreciated. Big thanks!