*, *:before, *:after {
  box-sizing: border-box;
}
html {
  font-size: 16px;
}
body {
  padding: 0;
  margin: 0;
  background: #bbb;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
h1, h2, h3, p {
  padding: 0;
  margin: 0;
}
header, main {
  width: 1140px;
  background: #fff;
}
header {
  text-align: center;
  margin: 2rem auto 0 auto;
  padding: 2rem;
}
header > a {
  display: inline-block;
  background: #f96e5b;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 3rem;
  padding: 1rem;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
}
main {
  margin: 0 auto 2rem auto;
  padding: 0;
}
.ultimate-guide,
.not-your-average-guide,
.based-on-facts,
.word-from-the-author,
.testimonial,
.on-your-terms,
.start-saving-now,
.money-back-guarantee {
  padding: 2rem;
}
.ultimate-guide,
.ultimate-guide > h2,
.ultimate-guide h3,
.based-on-facts,
.based-on-facts > h2,
.on-your-terms,
.on-your-terms > h2,
.money-back-guarantee,
.money-back-guarantee > h2 {
  background: #333;
  color: #fff;
}
.ultimate-guide {
  padding-top: 5rem;
  margin-top: -1rem;
  -webkit-clip-path: polygon(0 0, 50% 40px, 100% 0, 100% 100%, 0 100%);
  clip-path: polygon(0 0, 50% 40px, 100% 0, 100% 100%, 0 100%);
}
.ultimate-guide > h2,
.ultimate-guide > p {
  text-align: center;
}
.ultimate-guide > h2,
.ultimate-guide > p:first-of-type {
  font-size: 2rem;
  font-weight: bold;
}
.ultimate-guide > p:nth-of-type(2) {
  font-size: 1.4rem;
  margin-top: 1rem;
}
.ultimate-guide > p:nth-of-type(2),
.ultimate-guide > p > .highlight {
  color: #f96e5b;
}
.find-out {
  display: grid;
  grid-template-columns: 50% 1fr;
  grid-template-rows: auto 1fr auto;
  grid-column-gap: 1rem;
  align-items: start;
  justify-items: center;
  margin-top: 2rem;
}
.find-out > h3 {
  grid-column: 2;
  grid-row: 1;
}
.find-out > ul {
  grid-column: 2;
  grid-row: 2;
}
.find-out > .button {
  grid-column: 2;
  grid-row: 3;
}
.find-out > .button,
.start-saving-now > .button {
  background: #f96e5b;
  color: #fff;
  padding: 1rem 2rem;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.4rem;
  width: 30rem;
}
.start-saving-now > .button {
  display: block;
  margin: 1rem auto;
}
.find-out > img {
  grid-column: 1;
  grid-row: 1 / span 2;
  max-height: 30rem;
  align-self: end;
}
.find-out > ul > li {
  list-style-type: none;
  list-style-image: url(images/check.png);
  line-height: 1.7;
  margin: 0.5rem 0;
}
.not-your-average-guide > h2,
.based-on-facts > h2,
.word-from-the-author > h2,
.testimonial > h2,
.on-your-terms > h2 {
  color: #f96e5b;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
}
.not-your-average-guide > h2 {
  margin: 0 0 1rem 0;
}
.not-your-average-guide > p:first-of-type {
  font-size: 1.3rem;
  text-align: center;
}
.not-your-average-guide > .including {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(5, 1fr);
  grid-column-gap: 1rem;
  grid-row-gap: 3rem;
  align-items: start;
  margin-top: 4rem;
  padding: 0;
}
.not-your-average-guide > .including > li {
  display: grid;
  grid-template-rows: 6rem 1fr;
  grid-column-gap: 1rem;
  height: 100%;
}
.not-your-average-guide > .including > li:nth-of-type(2n+1) {
  grid-template-columns: 100px 1fr;
}
.not-your-average-guide > .including > li:nth-of-type(2n) {
  grid-template-columns: 1fr 100px;
}
.not-your-average-guide > .including > li > h3 {
  font-weight: bold;
  font-size: 1rem;
  padding: 2rem 2rem 0 2rem;
  margin: 0;
  border: 3px dashed #ddd;
  border-bottom: none;
  width: 100%;
}
.not-your-average-guide > .including > li > p {
  padding: 0 2em 2em 2em;
  margin: 0;
  border: 3px dashed #ddd;
  border-top: none;
  height: 100%;
  width: 100%;
  line-height: 1.7;
}
.not-your-average-guide > .including > li > h3 {
  grid-row: 1;
}
.not-your-average-guide > .including > li > img {
  grid-row: 1 / span 2;
  margin: 0;
}
.not-your-average-guide > .including > li > p {
  grid-row: 2;
}
.not-your-average-guide > .including > li:nth-of-type(2n+1) > img {
  grid-column: 1;
}
.not-your-average-guide > .including > li:nth-of-type(2n) > img {
  grid-column: 2;
}
.not-your-average-guide > .including > li:nth-of-type(2n+1) > h3,
.not-your-average-guide > .including > li:nth-of-type(2n+1) > p {
  grid-column: 2;
}
.not-your-average-guide > .including > li:nth-of-type(2n) > h3,
.not-your-average-guide > .including > li:nth-of-type(2n) > p {
  grid-column: 1;
}
.based-on-facts,
.word-from-the-author,
.testimonial,
.on-your-terms,
.money-back-guarantee {
  display: grid;
  grid-template-columns: 20% 1fr;
  grid-template-rows: auto 1fr;
  grid-gap: 1rem;
  justify-items: center;
}
.based-on-facts > h2,
.word-from-the-author > h2,
.testimonial > h2,
.on-your-terms > h2,
.money-back-guarantee > h2 {
  grid-column: 2;
  grid-row: 1;
}
.based-on-facts > p,
.word-from-the-author > p,
.testimonial > p,
.on-your-terms > p,
.money-back-guarantee > p {
  margin: 0;
}
.based-on-facts > p,
.word-from-the-author > blockquote,
.testimonial > blockquote,
.on-your-terms > p,
.money-back-guarantee > p {
  grid-column: 2;
  grid-row: 2;
  font-size: 1.2rem;
  line-height: 1.6;
}
.word-from-the-author > blockquote,
.testimonial > blockquote {
  color: #222;
  padding: 0 2rem;
  margin: 0 0 1rem 0;
}
.based-on-facts > img,
.testimonial > img,
.on-your-terms > img,
.money-back-guarantee > img {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 130px;
  align-self: center;
}
.word-from-the-author > .angled-background {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: end;
  width: 90%;
  height: 80%;
  background: #f96e5b;
  clip-path: polygon(0 0, 100% 0, 40% 100%, 0 100%);
  color: #f7aba0;
  font-size: 150px;
  font-family: "Times New Roman";
  line-height: 1;
  padding: 0 0 0 10px;
}
.word-from-the-author > .image {
  grid-column: 1;
  grid-row: 1 / span 2;
  z-index: 9;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  height: 80%;
  align-self: end;
}
.word-from-the-author > .image > img,
.testimonial > img {
  border-radius: 50%;
  width: 160px;
}
.on-your-terms > img {
  width: 215px;
}
.money-back-guarantee > img {
  width: 200px;
}
.word-from-the-author > blockquote > p {
  padding-bottom: 2em;
  margin: 0 1rem 1rem 0;
  border-bottom: 1px solid #f96e5b;
}
.word-from-the-author > blockquote > cite {
  color: #f96e5b;
  padding-top: 1em;
  font-size: 23px;
  font-style: italic;
  font-family: "Playfair Display", "Times New Roman", serif;
  font-weight: bold;
}
.testimonial > blockquote > p {
  margin-bottom: 1rem;
}
.testimonial > blockquote > cite > .name {
  color: #f96e5b;
  font-weight: bold;
}
.start-saving-now > h2 {
  font-size: 38px;
  color: #f96e5b;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.start-saving-now > p {
  text-align: center;
  font-size: 18px;
}
.start-saving-now > p:first-of-type {
  padding-bottom: 0;
  margin-bottom: 0;
}
.start-saving-now > p > .highlight {
  color: #f96e5b;
  font-size: larger;
  font-weight: bold;
}
.start-saving-now > img:first-of-type {
  margin: 0 auto;
  display: block;
}
.start-saving-now > .credit-cards {
  text-align: center;
}
.start-saving-now > .price {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.start-saving-now > .price > .old-price {
  font-size: 24px;
  text-decoration: line-through;
  margin-right: 10px;
}
.start-saving-now > .price > .new-price {
  color: #32CD32;
  font-size: 44px;
  font-weight: bold;
}
.start-saving-now > .credit-cards > img {
  width: 240px;
}
@media screen and (max-width: 640px) {
  header, main {
    max-width: 100%;
    margin: 0;
  }
  header {
    display: none;
  }
  .ultimate-guide {
    margin-top: 0;
  }
  .ultimate-guide > h2,
  .not-your-average-guide > h2,
  .based-on-facts > h2,
  .word-from-the-author > h2,
  .testimonial > h2,
  .on-your-terms > h2 {
    font-size: 26px;
  }
  .ultimate-guide > p:first-of-type {
    font-size: 22px;
  }
  .ultimate-guide > p:nth-of-type(2) {
    font-size: 20px;
  }
  .find-out {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr auto;
    grid-column-gap: 0;
  }
  .find-out > h3 {
    grid-column: 1;
    grid-row: 2;
  }
  .find-out > ul {
    grid-column: 1;
    grid-row: 3;
    font-size: 16px;
  }
  .find-out > .button,
  .start-saving-now > .button {
    width: 100%;
  }
  .find-out > .button {
    grid-column: 1;
    grid-row: 4;
  }
  .find-out > img {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 1rem;
    max-width: 100%;
  }
  .based-on-facts,
  .word-from-the-author,
  .testimonial,
  .on-your-terms,
  .money-back-guarantee {
    grid-template-columns: 1fr;
  }
  .based-on-facts > h2,
  .word-from-the-author > h2,
  .testimonial > h2,
  .on-your-terms > h2,
  .money-back-guarantee > h2 {
    grid-column: 1;
    grid-row: 1;
    text-align: center;
  }
  .based-on-facts > p,
  .word-from-the-author > blockquote,
  .testimonial > blockquote,
  .on-your-terms > p,
  .money-back-guarantee > p {
    grid-column: 1;
    grid-row: 2;
  }
  .word-from-the-author > blockquote,
  .testimonial > blockquote {
    padding: 0;
  }
  .word-from-the-author > blockquote > p,
  .testimonial > blockquote > p {
    text-align: justify;
  }
  .based-on-facts > img,
  .testimonial > img,
  .on-your-terms > img,
  .money-back-guarantee > img {
    grid-column: 1;
    grid-row: 3;
  }
  .word-from-the-author > .angled-background {
    grid-column: 1;
    grid-row: 3;
    height: 300px;
    clip-path: polygon(0 0, 100% 0, 100% 10%, 10% 100%, 0 100%);
  }
  .word-from-the-author > .image {
    grid-column: 1;
    grid-row: 3;
    align-items: center;
    align-self: center;
  }
  .on-your-terms > img {
    width: auto;
    max-width: 300px;
  }
  .start-saving-now > h2 {
    font-size: 26px;
    font-weight: bold;
  }
  .start-saving-now > img {
    max-width: 100%;
  }
  .not-your-average-guide > p:first-of-type {
    font-size: 18px;
  }
  .not-your-average-guide > .including {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(10, 1fr);
    grid-column-gap: 0;
  }
  .not-your-average-guide > .including > li {
    grid-template-rows: auto auto 1fr;
    grid-column-gap: 0;
    height: 100%;
    justify-items: center;
    border: 3px dashed #ddd;
  }
  .not-your-average-guide > .including > li > h3 {
    border: none;
    padding: 2em 2em 1em 2em;
  }
  .not-your-average-guide > .including > li > p {
    border: none;
    font-size: 16px;
  }
  .not-your-average-guide > .including > li:nth-of-type(2n+1) {
    grid-template-columns: 1fr;
  }
  .not-your-average-guide > .including > li:nth-of-type(2n) {
    grid-template-columns: 1fr;
  }
  .not-your-average-guide > .including > li > h3 {
    grid-row: 2;
  }
  .not-your-average-guide > .including > li > img {
    grid-row: 1;
    width: 100px;
    margin-top: 2em;
  }
  .not-your-average-guide > .including > li > p {
    grid-row: 3;
  }
  .not-your-average-guide > .including > li:nth-of-type(2n+1) > img {
    grid-column: 1;
  }
  .not-your-average-guide > .including > li:nth-of-type(2n) > img {
    grid-column: 1;
  }
  .not-your-average-guide > .including > li:nth-of-type(2n+1) > h3,
  .not-your-average-guide > .including > li:nth-of-type(2n+1) > p {
    grid-column: 1;
  }
  .not-your-average-guide > .including > li:nth-of-type(2n) > h3,
  .not-your-average-guide > .including > li:nth-of-type(2n) > p {
    grid-column: 1;
  }

}
