@font-face {
  font-family: 'Montserrat Subrayada';
  src: url('/longreads/fonts/MontserratSubrayada-Bold.woff2') format('woff2'),
      url('/longreads/fonts/MontserratSubrayada-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url('/longreads/fonts/OpenSans-Variable.woff2') format('woff2'),
      url('/longreads/fonts/OpenSans-Variable.woff') format('woff');
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url('/longreads/fonts/OpenSans-Italic-Variable.woff2') format('woff2'),
      url('/longreads/fonts/OpenSans-Italic-Variable.woff') format('woff');
  font-style: italic;
  font-display: swap;
}

:root {
  --main-bg-color: #fffff4;
  --main-head-color: #3674bb;
  --main-second-color: #359936;
  --main-highlight-color: #f9ecb2;
  --main-text-color: #383838;
  --header-font: 'Montserrat Subrayada', sans-serif;
  --quote-font: 'Roboto Condensed', Verdana, sans-serif;
  --body-font: 'Open Sans', Verdana, sans-serif;
  --mono-font: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

html {
  font-size: 100%;
}

body {
  background-color: var(--main-bg-color);
  font-family: var(--body-font);
  font-feature-settings: normal;
  font-variant-ligatures: common-ligatures;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
}

h1 {
  color: var(--main-head-color);
  font-family: var(--header-font);
}

h2, h3 {
  color: var(--main-head-color);
  font-family: var(--body-font);
  font-weight: 600;
}

strong, b {
  font-weight: bold;
}

em, i {
  font-style: italic;
}

a {
  color: var(--main-text-color);
  text-decoration: none;
  box-shadow: inset 0 -2px 0 var(--main-head-color);
}

a:hover {
  color: var(--main-head-color);
}

#container {
  margin: 0 auto;
  max-width: 920px;
  padding: 0 2%;
}

#container article {
  margin-top: 100px;
}

article header {
  background: none;
}

.jumbotron {
  max-width: 1000px;
  margin: 0 auto;
  margin-top: 50px;
}

.jumbotron header h1 {
  order: 1;
}

.jumbotron header h2 {
  order: 3;
  align-self: center;
}

.jumbotron header img {
  order: 2;
  width: 520px;
}

.jumbotron header {
  height: 600px;
  background: none;
  padding: 0;
  display: flex;
}

.jumbotron h1 {
  color: var(--main-head-color);
  font-size: 3.5rem;
  line-height: 1.1;
  writing-mode: tb-rl;
  text-transform: uppercase;
}

@-moz-document url-prefix() {
  .jumbotron h1 {
    writing-mode: sideways-lr;
  }
}

.jumbotron h2 {
  color: var(--main-second-color);
  font-family: var(--body-font);
  font-size: 2.7rem;
  font-style: italic;
  line-height: 1.1;
}

.jumbotron .intro {
  margin: 5% 0 10% 0;
}

.intro  {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  display: block;
  margin-bottom: 20px;
}

@media only screen and (max-width: 740px) {
  .jumbotron {
    max-width: 100%;
    margin: 0;
    padding: 0 2%;
  }

  .jumbotron header {
    height: auto;
    display: block;
  }

  .jumbotron h1 {
    font-size: 2.5rem;
    line-height: 1.1;
    writing-mode: horizontal-tb;
    word-break: break-all;
  }

  .jumbotron h2 {
    font-size: 1.2rem;
    line-height: 1.1;
    margin: 20px 0;
  }
}

.right {
  float: right;
}

.left {
  float: left;
}

.center {
  display: block;
  text-align: center;
  margin: 1.5% 0;
}

article p {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.6;
  margin: 3% 0;
}

h4 {
  font-size: 1.5rem;
  font-weight: bold;
}

h4+p {
  margin-top: 0;
}

.two_blocks {
  display: flex;
  margin-bottom: 10px;
}

span.caption {
  font-family: var(--mono-font);
  font-size: .9rem;
  font-weight: bold;
}

/* UITGAVEN INFOGRAPHIC */
span.bold {
  background: var(--main-highlight-color);
  font-family: var(--body-font);
  font-size: 2rem;
  font-style: oblique;
  line-height: 1.6;
  padding: 1%;
  display: inline-grid;
  margin: 15px 0;
}

div.uitg-block1,
div.uitg-block2 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr auto;
  align-items: end;
}

figure.uitg-verz {}

figure.uitg-wonen {}

figure.uitg-abon {
  grid-column: 2/3;
  grid-row: 2/2;
}

figure.uitg-eten {}

/* ----------- */
figure.uitg-cadeau img {
  width: 57%;
}

figure.uitg-steun {
  grid-row: 2;
  grid-column: 1/3;
}

figure.uitg-steun img {
  width: 80%;
  transform: rotate(-10deg);
}

figure.uitg-giften img {
  width: 50%;
}

figure.uitg-spaar {
  grid-row: 1/ span 2;
}

div.uitg-block3,
div.uitg-block4 {
  display: grid;
  grid-template-columns: auto auto auto;
  grid-template-rows: auto auto;
  align-items: end;
}

.uitg-block3 {
  margin-top: 10px;
}

.uitg-block4 {
  margin-top: 50px;
  margin-bottom: 50px;
}

.uitg-persoon,
.uitg-sport {
  grid-column: 2 span;
}

.uitg-stappen {
  grid-row: 1/2;
}

.uitg-persoon img,
.uitg-sport img {
  width: 75%;
}

.table {
  background: var(--main-highlight-color);
  padding: 7%;
  font-family: var(--mono-font);
  font-weight: bold;
}

.table span {
  display: flex;
  flex-flow: row;
}

.table span hr {
  border: 0;
  height: 3px;
  width: 90%;
  background-color: var(--main-text-color);
}

h3+p {
  margin-top: 0;
}

h3 {
  font-size: 2rem;
  font-weight: bold;
  margin-top: 5%;
}

blockquote {
  width: 550px;
  margin: 0 auto;
  text-align: center;
  padding: 2%;
  color: var(--main-second-color);
}

blockquote p,
blockquote {

  font-size: 2rem;
  font-family: var(--quote-font);
  font-weight: 100;
  line-height: 1.2;

}

.two_blocks_grid {
  display: grid;
  grid-template-columns: 450px 450px;
  grid-template-rows: auto;
}

.two_blocks_grid .caption {
  grid-column: 1/3;
}

.two_blocks_grid figure {
  grid-row: 2;
}

.naschrift {
  max-width: 600px;
  margin: 0 auto;
  color: var(--main-bg-color);
  background: var(--main-second-color);
  font-weight: 300;
  font-family: var(--body-font);
  border-radius: 10px;
  padding: 2% 5%;
  margin-top: 5%;
  margin-bottom: 5%;
}

.naschrift p {
  font-size: 1.3rem;
  line-height: 1.3;
  font-weight: 500;
  margin: 1.5% 0;
}

.credits {
  display: block;
  margin-bottom: 5%;
}

.credits p {
  font-size: 1rem;
  font-family: var(--quote-font);
}

.credits::before {
  display: block;
  width: 5rem;
  margin-bottom: .5rem;
  border-bottom: 3px solid var(--main-text-color);
  content: "";
}

footer {
  text-align: center;
  padding: 1% 0;
}

footer small {
  font-size: .8rem;
  font-family: var(--quote-font);
}

/* RESPONSIVE */
@media only screen and (max-width: 740px) {
  article {
    padding: 0 2%;
  }

  div.two_blocks,
  div.two_blocks_grid {
    display: block;
    width: inherit;
  }

  div.uitg-block1,
  div.uitg-block2,
  div.uitg-block3,
  div.uitg-block4 {
    display: flex;
    flex-flow: wrap;
    gap: 25px
  }

  div.uitg-block1 figure,
  div.uitg-block2 figure,
  div.uitg-block3 figure,
  div.uitg-block4 figure {
    width: 40%;
  }

  .jumbotron .intro {
    margin-top: 15px;
  }

  article h3 {
    line-height: 1.2;
  }

  blockquote {
    width: inherit;
  }

  .credits::before {
    display: block;
    width: 5rem;
    margin-bottom: .5rem;
  }
}
