/* Mobile First */

/* General and base typography */
html {
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
}

.content {
  margin: 2rem auto;
  font-family: 'Roboto', sans-serif;
  line-height: 1.4;
  width: 95%;
}

a {
  color: #137492;
  text-decoration: none;
  font-size: 1rem;
}

a:hover {
  color: #15354B;
  border-bottom: 1px solid #15354B;
}

section {
  margin-bottom: 4rem;
}

.content {
  margin: 0 auto;
  width: 85%;
}

.display {
  font-family: 'Patua One', serif;
}

/* Header */
.header {
  margin-bottom: 6rem;
}

.primary-heading {
  line-height: 1.25;
  font-size: 2.6rem;
  letter-spacing: .1rem;
}

/* Main Content */
.tip {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  letter-spacing: .05rem;
}

.tip:before {
  margin-bottom: .3rem;
  display: block;
  color: #15354B;
  text-decoration: overline;
  font-size: 2rem;
}

.tip-1:before {
  content: 'One';
}

.tip-2:before {
  content: 'Two';
}

.tip-3:before {
  content: 'Three';
}

.tip-4:before {
  content: 'Four';
}

.tip-5:before {
  content: 'Five';
}

.tip-6:before {
  content: 'Six';
}

.tip-7:before {
  content: 'Seven';
}

.tip-8:before {
  content: 'Eight';
}

.tip-9:before {
  content: 'Nine';
}

.tip-10:before {
  content: 'Ten';
}

.tip-0:before {
  content: 'Neat Things';
  color: gray;
}

.tip-details {
  margin-top: 0;
  font-size: 1.1rem;
}

section:last-of-type {
  margin-bottom: 8rem;
}

/* Footer */
footer {
  margin: 0 auto;
  padding: 20px 0;
  text-align: center;
  background: #137492;
}
.by-line {
  font-size: .85rem;
  color: white;
  font-family: 'Roboto', sans-serif;
}

.by-line a {
  color: white;
  border-bottom: none;
  font-weight: 700;
  font-size: .8rem;
}

.by-line a:hover {
  color: black;
}

/* References */
.reference {
  color: gray;
  font-size: 1.2rem;
  letter-spacing: .02rem;
}

.ref-item {
  font-size: .8rem;
}

/* Desktop Styles */
@media (min-width: 900px) {
  .content {
    width: 60%;
  }

  a {
    font-size: 1.1rem;
  }

  header {
    margin-bottom: 8rem;
  }

  .primary-heading {
    font-size: 5.5rem;
  }

  .tip {
    font-size: 1.7rem;
  }

  .tip:before {
    font-size: 2.3rem;
  }

  .tip-details {
    font-size: 1.2rem;
  }

  .reference {
    font-size: 1.3rem;
  }
}

/* Huge Styles */
@media (min-width: 1300px) {
  .content {
    width: 55%;
  }
}

/* Huger Styles */
@media (min-width: 1700px) {
  .content {
    width: 45%;
  }
}
