a {
  text-decoration: none;
  color: $sky-blue-500;

  &:hover {
    text-decoration: underline;
  }
}

a[disabled], a[disabled]:hover {
  pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: $base-font-family;
  font-weight: 400;
  line-height: $base-heading-line-height;
  margin-top: 0;
  margin-bottom: 0;
}

h1.medium, h2.medium, h3.medium, h4.medium, h5.medium, h6.medium, span.medium, p.medium, div.medium {
  font-family: $base-font-family;
  font-weight: 500;
}

h1.bold, h2.bold, h3.bold, h4.bold, h5.bold, h6.bold, span.bold, p.bold, div.bold {
  font-family: $base-font-family;
  font-weight: 700;
}

p {
  line-height: $base-paragraph-line-height;
}

// make number text monospaced
// https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant-numeric
h1, h2, h3, h4, h5, h6, span, p, div, label {
  font-variant-numeric: tabular-nums;
}

@media screen and (min-width: map-get($base-breakpoints, 'md')) {
  h1 {
    font-size: $base-font-size * 2.875; // 46px
  };

  h2 {
    font-size: $base-font-size * 2.3125; // 37px
  }

  h3 {
    font-size: $base-font-size * 1.8125; // 29px
  }

  h4 {
    font-size: $base-font-size * 1.4375; // 23px
  }

  h5 {
    font-size: $base-font-size * 1.1875; // 19px
  }

  h6 {
    font-size: $base-font-size * 0.9375; // 15px
  }

  p {
    font-size: $base-font-size;
  }
}

@media screen and (max-width: map-get($base-breakpoints, 'md')) {
  h1 {
    font-size: $base-font-size * 2.3125; // 37px
  };

  h2 {
    font-size: $base-font-size * 1.8125; // 29px
  }

  h3 {
    font-size: $base-font-size * 1.4375; // 23px
  }

  h4 {
    font-size: $base-font-size * 1.1875; // 19px
  }

  h5 {
    font-size: $base-font-size * 0.9375; // 15px
  }

  h6 {
    font-size: $base-font-size * 0.75; // 12px
  }

  p {
    font-size: $base-font-size * 0.875; // 14px
  }
}
