seperates px to rem mixin and function