/* resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 0.9rem;
}
body {
  text-align: center;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  background-color: #f2e9e4;
}
/* typography */
header {
  font-size: 1.1rem;
}
h1,
h2 {
  font-weight: 300;
}
h1 {
  font-size: 3.75rem;
  letter-spacing: 1px;
}
h2 {
  font-size: 2.625rem;
  margin-top: 0.5em;
  border-top: solid 1px #fff;
  border-bottom: solid 1px #fff;
  padding: 0.75em 0;
  margin-bottom: 0.5em;
}
h3 {
  font-size: 2.25rem;
  font-weight: 900;
  margin-top: 1.5em;
  margin-bottom: 1em;
}
.pre-header {
  font-size: 1.3rem;
}
#subheader,
.intro-subheader {
  font-size: 1.5rem;
}
#subheader {
  font-weight: 900;
}
.accent-text {
  font-size: 1.5rem;
}
article p {
  font-size: 1.3rem;
  line-height: 1.5;
}
.quote-primary {
  font-size: 2.5rem;
  font-style: italic;
  line-height: 1.3;
}
.quote-secondary {
  font-size: 1.3rem;
  font-weight: 900;
  text-align: right;
  margin: 0 2em;
}
.small-text {
  font-style: italic;
  padding-bottom: 1em;
}
li {
  list-style-type: none;
  font-size: 1.5rem;
  line-height: 1.2;
  padding-bottom: 0.25em;
  max-width: 45ch;
}
a {
  text-decoration: none;
  color: inherit;
}
a:hover,
a:focus {
  color: #f2e9e4;
  font-weight: 700;
}
span {
  color: goldenrod;
}

/* make images easier to deal with */
img {
  display: block;
  max-width: 570px;
  max-height: 90%;
  margin: 0 auto;
  margin-top: 2.5rem;
  /* margin-bottom: 1.5em; */
}
.source-text {
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  padding-bottom: 0.75em;
  color: #f4ece2;
}

/* layout */
.section-intro {
  background: url("https://static01.nyt.com/images/2015/11/01/magazine/01lewis1/01mag-01lewis-t_CA1-articleLarge.jpg?quality=75&auto=webp&disable=upscale");
  background-size: cover;
  height: 100vh;
  display: flex;
  align-items: center;
}
.header-intro {
  flex-direction: column;
  padding-bottom: 2.5em;
  max-width: 40vw;
}
.container {
  width: 50%;
  margin: 0 auto;
  padding: 1em 2em 2em 2em;
}
.container-img {
  width: 50%;
  padding: 0;
  margin: 0 auto;
}
.container-quote {
  width: 90vw;
  padding: 2em 0;
  margin: 0 auto;
}
.img-text {
  max-width: 80%;
  margin: 0 auto;
}

.row-dark {
  background-color: #22223b;
  color: #f2e9e4;
}
.row-medium {
  background-color: #4a4e69;
  color: #fff;
}
.row-light {
  background-color: #9a8c98;
  color: #22223b;
}
.wrapper {
  display: flex;
  justify-content: center;
}
footer {
  text-align: right;
  padding: 1.5em;
}

@media (min-width: 750px) {
  .row {
    display: flex;
  }
  .container {
    margin: 0;
    max-width: 50%;
  }
}
@media (max-width: 750px) {
  .container,
  .container-img {
    width: 100vw;
  }
}
/* @media (max-width: 937px) {
  .container {
    flex-direction: column;
  }
} */
