@import url('normalize.css');

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

@font-face {
  font-family: 'Neuton';
  src: url('/longreads/fonts/Neuton-Italic.woff2') format('woff2'),
      url('/longreads/fonts/Neuton-Italic.woff') format('woff');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

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

@font-face {
  font-family: 'Work Sans';
  src: url('WorkSans-Regular.woff2') format('woff2'),
      url('WorkSans-Regular.woff') format('woff');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}


:root {
  --main-bg-color: #FFF;
  --main-head-color: #e54c10;
  --main-second-color: #42bed8;
  --main-text-color: #383838;
  --header-font: 'Montserrat', Helvetica, sans-serif;
  --quote-font: 'Work Sans', Lucida, sans-serif;
  --body-font: 'Neuton', Georgia, serif;
}

* {
  box-sizing: border-box;
}

:focus {
  border: 2px solid var(--main-head-color);
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  font-size: 100%;
  background: var(--main-bg-color);
  background: url("../../images/haven/haven-featured.jpg") left top no-repeat;
  background-size: cover;
  max-width: 1815px;
}

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

a {
  color: var(--main-text-color);
  text-decoration: none;
  border-bottom: 1px solid var(--main-head-color);
}

img {
  max-width: 100%;
}

header {
  height: 28px;
  background: #000;
  padding: .3% 0 .3% 1%;
}

/*
header h1 {
  font-size: 1.2rem;
  text-transform: uppercase;
  color: var(--main-bg-color);
  font-family: var(--header-font);
  margin: 0;
  padding: 0 0 0 20px;
}
*/
header#logo {
  height: 28px;
  background: #000;
  padding: .3% 0 .3% 1%;
}

header#logo a img {
  width: 140px;
  padding: .2% 0;
}

header#logo a {
  border: 0;
}

#container {
  margin: 0 auto;
  max-width: 920px;
  padding: 20% 0 0 0;
  /* clear background image body */
}

article header {
  height: 425px;
  display: flex;
  align-self: flex-end;
  background: none;
  padding: 0;
}

article header h2 {
  font-size: 4.5rem;
  align-self: flex-end;
  text-transform: uppercase;
  margin: 0;
}

.intro {
  max-width: 600px;
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1.3;
  color: var(--main-second-color);
}

.content {
  max-width: 600px;
}

.content p {
  font-size: 1.4rem;
  line-height: 1.3;
}

.content p .dropcap {
  display: block;
  color: var(--main-second-color);
  float: left;
  width: auto;
  margin: 23px 20px 10px 0;
  font-size: 5rem;
  line-height: 0.5;
}

.content h3 {
  font-size: 1.8rem;
  line-height: 1.2;
  text-transform: uppercase;
  /*margin: 40px 0 -15px 0;*/
  margin: 40px 0 7px 0;
}

.content blockquote {
  position: absolute;
  /*  right: 5%; */
  right: calc(25% - 20%);
  /* 150px */
}

.content blockquote p {
  font-family: var(--quote-font);
  font-size: 1.8rem;
  font-weight: 100;
  hanging-punctuation: first;
  max-width: 300px;
}

.content blockquote.wp-embedded-content {
  max-width: inherit;
  position: relative;
  right: none;
}

.content blockquote.wp-embedded-content p {
  max-width: inherit;
  font-size: 1.4rem;
}

.content img.right {
  float: right;
}

.content img.left {
  float: left;
}

.content img.tower {
  width: 375px;
  shape-outside: url('../../images/haven/lichttoren-containers.png');
  shape-image-threshold: .2;
  shape-margin: 15px;
}

.content img.truck {
  width: 375px;
  shape-outside: url('../../images/haven/vrachtwagen.png');
  shape-image-threshold: .2;
  shape-margin: 10px;
}

.content img.server {
  width: 300px;
  shape-outside: url('../../images/haven/data-server.png');
  shape-image-threshold: .2;
  shape-margin: 15px;
}

.content img.grootboek {
  width: 375px;
  shape-outside: url('../../images/haven/grootboek.png');
  shape-image-threshold: .2;
  shape-margin: 15px;
}

.content img.office {
  shape-outside: url('../../images/haven/kantoor.png');
  shape-image-threshold: .5;
  shape-margin: 25px;
  float: right;
  /* just to make shape-outside work */
}

.content img.chemie {
  width: 375px;
  shape-outside: url('../../images/haven/chemie.png');
  shape-image-threshold: .5;
  shape-margin: 25px;
}

.content .columns {
  margin-top: -20px;
}

.naschrift {
  background: var(--main-second-color);
  padding: 3%;
  border-radius: 10px;
  font-family: var(--quote-font);
  font-weight: 500;
}

.naschrift li {
  margin-bottom: 10px;
}

footer {
  text-align: center;
  padding: 1% 0;
  margin-top: 30px;
}

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

/* SHARE SECTION */

.sd-sharing-enabled {
  display: block;
  max-width: 900px;
  margin: 0 auto;
}

/* COMMENTS SECTION */
section#comments {
  max-width: 600px;
  margin-left: 25%;
  background-color: aliceblue;
  padding: 2% 5%;
  display: block;
  color: var(--main-text-color);
  font-family: var(--quote-font);
}

section#comments #respond p.form-submit {
  text-align: right;
  margin-top: 10%;
}
section#comments #respond input#submit {
  background: var(--main-second-color);
  font-weight: bold;
  padding: 1% 2%;
  border: 1px solid var(--main-text-color);
  box-shadow: 1px 2px 1px #ccc;
}

section#comments #respond input#submit:active {
  box-shadow: none;
}

section#comments #respond input#submit:hover {
  background: var(--main-bg-color);
}

section#comments .regels {
  background: antiquewhite;
  padding: 3%;
}

section#comments .regels ol li {
  margin-bottom: 5px;
}

/* RESPONSIVE */
@media only screen and (max-width: 600px) {
  article header {
    height: 900px;
  }
}

@media only screen and (max-width: 768px) {
  #container {
    padding: 0 5%;
  }

  article header {
    height: 800px;
  }

  .content img.left,
  .content img.right {
    float: none;
    shape-outside: none;
    shape-image-threshold: 0;
    shape-margin: 0;
  }

  .content blockquote {
    position: relative;
    right: 0;
  }

  .content blockquote p {
    max-width: 600px;
  }

  .sd-sharing-enabled {
    max-width: inherit;
    margin: 0;
    padding-left: 2%;
  }

  section#comments {
    max-width: none;
    margin-left: 0;
  }
}

@media only screen and (min-width: 780px) and (max-width: 920px) {
  #container {
    padding: 0 5%;
  }

  article header {
    height: 950px;
  }


  .content blockquote {
    position: relative;
    right: 0;
  }

  .content blockquote p {
    max-width: 600px;
  }

  .sd-sharing-enabled {
    max-width: inherit;
    margin: 0;
    padding-left: 2%;
  }


  section#comments {
    max-width: none;
    margin-left: 0;
  }
}
