added ratio mixin based on media-queries