@use 'sass:math';

@function toRem($number) {
  @return math.div($number, $base-font-size) + rem;
}

@function toEm($number, $divider: $base-font-size) {
  @return math.div($number, $divider) + em;
}

@mixin media-min($breakpoint) {
  @media all and (min-width: $breakpoint + 0px) {
    @content;
  }
}

@mixin media-max($breakpoint) {
  @media all and (max-width: $breakpoint - .02px) {
    @content;
  }
}
