added media query for mid+small devices