Scales a horizontal value relative to the screen width.
double sx(num value) { return value.toDouble() * (min(windowHeight, windowWidth) / guidelineBaseWidth); }