// Type
h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
  margin-bottom: 1.8rem;
  color: $headings-text;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
}

h1, .h1 {
  font-size: 3.6rem;
}

h2, .h2 {
  font-size: 2.1rem;
}

h3, .h3 {
  font-size: 1.8rem;
}

h4, .h4 {
  font-size: 1.6rem;
}

h5, .h5 {
  font-size: 1.2rem;
}

h6, .h6 {
  font-size: 1rem;
}

a {
  transition: all .3s;
  color: $secondary-color;
  text-decoration: none;
}

a:hover,
a:focus {
  color: $secondary-color;
  text-decoration: underline;
}

.heading {
  margin-bottom: 4rem;
  font-size: 1.4rem;

  .title {
    margin-bottom: 1.6rem;
  }

  p {
    letter-spacing: -.015em;

    &:last-child {
      margin-bottom: 0;
    }
  }
}

.title {
  text-transform: uppercase;
}

.subtitle {
  color: #282d3b;
  font: 700 1.6rem / 1 $second-font-family;
  margin-bottom: 3rem;
  text-transform: uppercase;
}

.light-title {
  margin-bottom: 2rem;
  font-weight: 300;
}

.text-primary {
  color: $primary-color !important;
}

@include mq('md') {
  h1, .h1 {
    font-size: 4.5rem;
  }
}

@include mq('lg') {
  h1, .h1 {
    font-size: 5rem;
  }
}
