.ui-p1 {
  font: 22px/1.5 $font;
  @include media-tablet {
    font-size: 18px;
  }
}
.ui-p2 {
  font: 20px/1.5 $font;
  @include media-tablet {
    font-size: 18px;
  }
}
.ui-p3 {
  font: 18px/1.5 $font;
  @include media-tablet {
    font-size: 16px;
  }
}
.ui-p4 {
  font: 16px/1.5 $font;
  @include media-tablet {
    font-size: 15px;
  }
}
.ui-p5 {
  font: 15px/1.3 $font;
  @include media-tablet {
    font-size: 14px;
  }
}
.ui-p6 {
  font: 14px/1.3 $font;
  @include media-tablet {
    font-size: 13px;
  }
}
.ui-p7 {
  font: 13px/1.4 $font;
  @include media-tablet {
    font-size: 12px;
  }
}
.ui-p8 {
  font: 12px/1.4 $font;
  @include media-tablet {
    font-size: 11px;
  }
}
[class*='ui-p'] {
  &[class*='--light'] {
    font-weight: 300;
  }
  &[class*='--medium'] {
    font-weight: 500;
  }
  &[class*='--semibold'] {
    font-weight: 600;
  }
  &[class*='--bold'] {
    font-weight: 700;
  }
  &[class*='--white'] {
    color: #fff;
  }
}
