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

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

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

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

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

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 {
  font-weight: 400;
}

.subtitle {
  color: $primary-color;
  font: 300 2.6rem / 1 $second-font-family;
  letter-spacing: .1rem;
  margin-bottom: 3.5rem;
  position: relative;
  text-transform: uppercase;

  span {
    display: block;
    font-size: 4.4rem;
    font-weight: 400;
    margin-top: .3rem;
  }
}

.title-desc {
  color: #282d3b;
  font-size: 1.4rem;
  line-height: 2;
}

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

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

.lead {
  color: inherit;
  font-size: 2.1rem;
  font-weight: 300;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.fancy-text {
  color: $primary-color;
  font-family: $third-font-family;

  p & {
    display: inline-block;
    font-size: 1.6em;
    margin-bottom: -.6rem;
    margin-top: -1.5rem;
    position: relative;
    top: .3rem;
  }
}

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

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

}

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