<header>
  <h1><a href="#">iShadeed.com</a></h1>
</header>
<section>
  <h2>Shrinking Font Sizes and Spacing</h2>
  <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nisi voluptates quisquam, similique autem facilis repudiandae rem sunt ex aliquid fugiat quod quam, numquam perspiciatis quas minima, accusantium aspernatur beatae eum.</p>
  <p>s repudiandae rem sunt ex aliquid fugiat quod quam, numquam perspiciatis quas minima, accusantium aspernatur beatae eum.</p>
</section>
<section>
  <h2>Section #2 Title</h2>
  <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nisi voluptates quisquam, similique autem facilis repudiandae rem sunt ex aliquid fugiat quod quam, numquam perspiciatis quas minima, accusantium aspernatur beatae eum.</p>
  <p>s repudiandae rem sunt ex aliquid fugiat quod quam, numquam perspiciatis quas minima, accusantium aspernatur beatae eum.</p>
</section>
body {
  font-family: 'Arial';
}

h2 {
  font-size: 2em;
  font-weight: bolder;
  margin-bottom: 0.5em;
}

p {
  font-size: 1.25em;
  line-height: 1.45;
}

section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  font-size: 11px;
  padding: 2em 1.5em;
}

section:nth-child(odd) {
  background: whitesmoke;
}

header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  height: 60px;
  background: #4ea7ea;
  text-align: center;
}

header a {
  color: #fff;
  font-size: 20px;
  font-weight: bolder;
  text-decoration: none;
}

@media (min-height: 400px) {
  section {
    font-size: 16px;
  }
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.