@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

@font-face {
    font-family: "Moon Phases";
    src:
        url("../fonts/moon-phases/moon_phases.woff2") format("woff2"),
        url("../fonts/moon-phases/moon_phases.woff") format("woff"),
        url("../fonts/moon-phases/moon_phases.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.clearfix:before, .clearfix:after {
  display: table;
  content: '';
}

.clearfix:after {
  clear: both;
}

video {
    display: none;
}

body {
  background: #fff;
  color: #666666;
  font-weight: 400;
  font-size: 16px;
  font-family: "Ubuntu", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
  overflow-y: scroll;
  /* force scroll to appear */
}

/* helper class when showing content */
.noscroll {
  overflow: hidden;
}

.link {
    color: var(--kleurvol);
    font-weight: 400;
    cursor: pointer;
}

.krimp {
    font-size: 0.9em;
    letter-spacing: -0.3px;
}
.krimpkl {
    font-size: 0.9em;
    letter-spacing: -0.7px;
}

/* VOOR INFOPANEEL MET HANDLEIDING*/
#infopaneel {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(255, 255, 255, 0.9);
   backdrop-filter: blur(6px);
   -webkit-backdrop-filter: blur(6px); /* voor Safari */
   z-index: 2000;
   visibility: hidden;
   opacity: 0;
   transition: visibility 1s, opacity 1s ease-in-out;
   -moz-transition: visibility 1s, opacity 1s ease-in-out;
   -webkit-transition: visibility 1s, opacity 1s ease-in-out;
   font-family: "Ubuntu", Arial, sans-serif;
   font-weight: 300;
   color: #fff;
   cursor: pointer;
   text-align: center;
}
#beeldhaiku-frame {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
}
.tekst {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50% , -50%);
    font-family: "Ubuntu", Arial, sans-serif;
    font-weight: 300;
    font-size: clamp(1rem, 1.2vw, 1.5rem);
    line-height: 1.3;
    width: 75%;
    color: rgba(0, 0, 0, 1);
}
.titelinfo {
    font-family: "Ubuntu", Arial, sans-serif;
    font-weight: 300;
    font-size: clamp(1.4rem, 2vw, 2.5rem);
    /*font-size: 45px;*/
    color: var(--kleurvol);
}
.ondertekenen {
    font-family: "Ubuntu", Arial, sans-serif;
    font-weight: 400;
    font-size: clamp(1.1rem, 1.2vw, 1.5rem);
    color: rgba(0, 0, 0, 0.4);
    padding-bottom: 70px;
}
.lijninfo {
	margin: 25px auto -12px;
    width: 100px;
	border-style: solid;
    border-width: 2px 0px 0px 0px;
    border-color: var(--kleurvol);
}

.beeldico {
    margin-left: 9px;
    font-size: 1em;
}
.cardico {
    margin-left: 9px;
    font-size: 1em;
}
.bookico {
    margin-left: 9px;
    font-size: 0.92em;
}
.geluidico {
    margin-left: 9px;
    font-size: 0.95em;
}
.prikico {
    margin-left: 9px;
    font-size: 0.92em;
}
.tvico {
    margin-left: 9px;
    font-size: 0.92em;
}
.haikuico {
    margin-left: 7px;
    font-size: 0.92em;
}
.webico {
    margin-left: 6px;
    font-size: 0.93em;
}
.penico {
    margin-left: 6px;
    font-size: 1em;
}
.appico {
    margin-left: 9px;
    font-size: 0.95em;
}

.ico-link, .ico-link:visited, .ico-link:focus {
    color: var(--kleurvol);
    outline: none;
    text-decoration: none;
    cursor: pointer;
}
.ico-link:active, .ico-link:hover, .ico-link:focus:hover {
    color: #666;
}

.extra-date {
    color: var(--kleurvol);
}

.titelgrootte {
    font-size: var(--titel);
}

/* Regel met zonsopgang en zonsondergang */
.zonnetijden {
    display: flex;
    clear: both;
    align-items: center;
    gap: clamp(0.3em, 1.5cqi, 0.75em);
    margin-left: 0;
    margin-bottom: 0.5em;
    font-family: "Ubuntu", Arial, sans-serif;
    font-size: clamp(0.65rem, 3cqi, 0.8rem);
    line-height: 1.2;
    height: auto;
    min-height: 1.5em;
    visibility: hidden;
}

.zonnetijd {
    display: inline-flex;
    align-items: center;
    gap: 0.25em;
    white-space: nowrap;
}

/* Rode zoniconen */
.zonnetijd i {
    color: var(--kleurvol);
    font-size: 1.35em;
}

.zonnetijd-uur {
    padding-left: 1px;
}

.temperatuur .wi-thermometer {
    color: var(--kleurvol);
    font-size: 15px;
}
.temperatuur-waarde {
    padding-left: 1px;
}

.weekend {
    color: var(--kleurvol);
}

/* Kalendericoon */
.dagweek-icoon {
    font-size: 1.4em;
    color: #aaa;
    margin-right: 3px;
}

/* Tekst met dag- en weeknummer */
.dagweek-tekst {
    font-size: 1em;
    color: #888;
}

.para {
    display: block;
    font-size: 1em;
    margin: 30px 0 20px;
}
.initialen {
    display: block;
    font-family: "Ubuntu", sans-serif;
    font-weight: normal;
    font-size: 0.8em;
    letter-spacing: 2px;
    margin: 15px 0 35px;
    margin-left: 4px;
}

.citaat blockquote {
	background:#efefef;
	border-left:10px solid #ccc;
	margin:0em 0px;
	padding:15px 25px 20px 20px;
	font-size: 1.2em;
	line-height:1.7em;
	font-family: "Playfair Display", serif;
}

.citaat blockquote {
    background: #f9f9f9;border-left:10px solid #ccc;margin:1.5em 10px;padding:.5em 10px;quotes:"201C" "201D" "2018" "2019";
}

.citaat blockquote:before {
	color:var(--kleurvol);
	content:open-quote;
	font-size:4em;
	line-height:.1em;
	margin-left:-.035em;
	margin-right:.12em;
	vertical-align:-.4em;
}
.citaat blockquote:after {
	color:var(--kleurvol);
	content:no-close-quote;
	font-size:4em;
	line-height:.1em;
	margin-left:-.035em;
	margin-right:.12em;
	vertical-align:-.4em;
}

.lijntje{
	border-top: 3px solid var(--kleurvol);
	width: 80px;
	margin: 2em auto 0 auto;
}

a {
  outline: none;
  color: var(--kleurvol);
  text-decoration: none;
}

a:hover,
a:focus {
  color: #333;
  outline: none;
}

button:focus {
  outline: none;
}

/* Sidebar */
.sidebar {
  text-align: center;
  background: #efefef;
  z-index: 1000;
  position: fixed;
  width: 300px;
  max-width: 100%;
  height: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  padding: 2em 1em;
}

.sidebar h1 {
  margin: 0.05em 0 0 0;
  font-size: 4.9em;
  line-height: 1;
  font-family: "Ubuntu", sans-serif;
  font-weight: normal;
}

.quote {
  font-size: 1.2em;
  font-family: "Playfair Display", serif;
  font-style: italic;
  margin-top: 15px;
  margin-bottom: 15px;
  display: block;
}

.einde  {
    display: none;
}

.kleurHaiku {color: #000000;}
.kleur {color: var(--kleurvol);}
/*.kleur {color: #ff0000;}*/
.vet {
    font-weight: 400 !important;
}

.sidebar-button1 { width: 65px; height: 65px; border-radius: 50%; -moz-border-radius: 50%; -webkit-border-radius: 50%; -o-border-radius: 50%; background: #bdbcbc; display: inline-block; margin: 0px auto 15px; color: #fff; font-size: 27px; line-height: 68px; text-align: center; cursor: pointer;}
.sidebar-button2 { width: 55px; height: 55px; border-radius: 50%; -moz-border-radius: 50%; -webkit-border-radius: 50%; -o-border-radius: 50%; background: #bdbcbc; display: inline-block; margin: 0px auto 15px; color: #fff; font-size: 23px; line-height: 62px; text-align: center; cursor: pointer;}
.sidebar-button { width: 42px; height: 42px; margin: 0 5px; border-radius: 50%; -moz-border-radius: 50%; -webkit-border-radius: 50%; -o-border-radius: 50%; background: #bdbcbc; display: inline-block; color: #fff; font-size: 21px; line-height: 41px; text-align: center; cursor: pointer;}

a.sidebar-button {
  color: #ffffff;
}
a.sidebar-button:link {
	color: #ffffff;
	text-decoration: none;
}
a.sidebar-button:visited {
	text-decoration: none;
	color: #ffffff;
}
a.sidebar-button:hover {
	text-decoration: none;
	color: var(--kleurvol);
}
a.sidebar-button:active {
	text-decoration: none;
	color: #efefef;
}

a.special1 {
  color: var(--kleurvol);
}
a.special1:link {
	color: var(--kleurvol);
	text-decoration: none;
}
a.special1:visited {
	text-decoration: none;
	color: var(--kleurvol);
}
a.special1:hover {
	text-decoration: none;
	color: #666666;
}
a.special1:active {
	text-decoration: none;
	color: #FFFFFF;
}

.related h3 {
  margin: 3em 0 0.5em 0;
  font-size: 0.95em;
}

.related a {
  color: var(--kleurvol);
}

.related a:hover,
.related a:focus {
  color: #414741;
}
.related a:visited {
	color: var(--kleurvol);
}

/* Main content */
.main {
  position: relative;
  z-index: 50;
}

/* Grid container */
.grid {
  position: relative;
  padding: 5px 5px 5px 5px;
}

/* Overlay */
.grid::after {
  content: '';
  background: #fff;
  opacity: 0;
  position: absolute;
  pointer-events: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transition: opacity 0.5s;
  transition: opacity 0.5s;
}

.view-single .grid::after {
  opacity: 1;
}

/* Top bar above the grid */
.top-bar {
  background: #fff;
  width: 100%;
  line-height: 1;
  padding: 15px 15px 10px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
}

.top-bar__headline {
  margin: 0;
  font-size: 0.75em;
}

/* Menu button for toggling the sidebar (appears on small screen) */
.menu-toggle {
  position: fixed;
  z-index: 100;
  width: 25px;
  height: 25px;
  top: 14px;
  left: 14px;
  cursor: pointer;
  background: none;
  border: none;
  display: none;
  margin: -2px 15px 0 0;
}

.menu-toggle span {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--kleurvol);
  font-size: 0px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.menu-toggle span:before,
.menu-toggle span:after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--kleurvol);
  content: '';
}

.menu-toggle span:before {
  -webkit-transform: translateY(-7px);
  transform: translateY(-7px);
}

.menu-toggle span:after {
  -webkit-transform: translateY(7px);
  transform: translateY(7px);
}

/* Filter/dropdown dummy on the right */
.filter {
  text-align: right;
  font-size: 0.75em;
  margin-left: auto;
}

.dropdown {
  font-weight: bold;
  margin-left: 5px;
  cursor: pointer;
  color: var(--kleurvol);
}

.dropdown::after {
  content: '\25BC';
  margin-left: 2px;
  font-size: 80%;
}

/* Grid item */
.grid__item {
  padding: 45px 25px 30px;
  position: relative;
  color: #333;
  background: #fff;
  min-height: 300px;
  /*cursor: pointer;*/
  text-align: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-direction: normal;
  -webkit-box-orient: vertical;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-justify-content: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  container-type: inline-size;
}

/* Grid item "border" */
.grid__item::before {
  position: absolute;
  content: '';
  top: 0px;
  right: 25px;
  left: 25px;
  bottom: 0px;
  border-bottom: 1px solid rgba(74, 74, 74, 0.2);
}

.grid__item * {
  z-index: 10;
}

.grid__item.not-yet-published {
    display: none !important;
}

/* grid item element and full content element styles */
.title {
  margin: 0;
  font-size: clamp(1rem, 7cqi, 2.5rem);
  font-family: 'Playfair Display', serif;
  font-optical-sizing: auto;
  text-align: center;
}

/* Vaste titelzone: ruimte voor maximaal vier regels */
.title--preview {
  flex: 0 0 auto;
  display: block;
  width: 100%;
  height: 3.7em;
  line-height: 1.3;
}

.loader {
  height: 1px;
  width: 40%;
  margin: 1em auto;
  position: relative;
  background: rgba(0, 0, 0, 0.1);
  visibility: hidden; /*wordt niet meer gebruikt, wel nog voor de plaatsing van de elementen*/
}

.loader::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background: var(--kleurvol);
  left: 0;
  top: -1px;
  -webkit-transform: scale3d(0, 1, 1);
  transform: scale3d(0, 1, 1);
  -webkit-transform-origin: 0% 50%;
  transform-origin: 0% 50%;
  visibility: hidden; /*wordt niet meer gebruikt, wel nog voor de plaatsing van de elementen*/
}

.grid__item--loading .loader::before {
  -webkit-transition: -webkit-transform 1s;
  transition: transform 1s;
  -webkit-transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
  transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
}

.category {
  margin: 0;
  position: relative;
  font-size: clamp(1rem, 6cqi, 1.4rem);
  font-style: italic;
  font-family: "Playfair Display", serif;
  text-align: center;
  display: block;

  /* Vaste ruimte voor maximaal twee regels */
  flex: 0 0 auto;
  line-height: 1.2;
  min-height: 2.4em;
}

.category::before {
  content: "";
  display: block;
  width: 40%;
  height: 1px;
  /*margin: 0.5em auto;*/
  margin: 45px auto 10px;
  background-color: rgba(0, 0, 0, 0.2);
}

.title--preview,
.loader,
.category {
  -webkit-transition: -webkit-transform 0.2s, opacity 0.2s;
  transition: transform 0.2s, opacity 0.2s;
  -webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
  transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}

/* closing (delays) */
.title--preview {
  -webkit-transition-delay: 0.15s;
  transition-delay: 0.15s;
}

.loader {
  -webkit-transition-delay: 0.1s;
  transition-delay: 0.1s;
}

.grid__item .category {
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}

/* opening */
.grid__item--animate .title--preview {
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
  opacity: 0;
  -webkit-transform: translate3d(0, -20px, 0);
  transform: translate3d(0, -20px, 0);
}

.grid__item--animate .loader {
  -webkit-transition-delay: 0.1s;
  transition-delay: 0.1s;
  opacity: 0;
  -webkit-transform: translate3d(0, -30px, 0);
  transform: translate3d(0, -30px, 0);
}

.grid__item--animate .category {
  -webkit-transition-delay: 0.15s;
  transition-delay: 0.15s;
  opacity: 0;
  -webkit-transform: translate3d(0, -40px, 0);
  transform: translate3d(0, -40px, 0);
}

.meta {
  /*font-size: 0.765em;*/
  font-size: clamp(0.765rem, 4cqi, 1.1rem);
  text-align: left;
}

.meta .fa {
  margin-right: 0px;
}

.meta:before, .meta:after {
  display: table;
  content: '';
}

.meta:after {
  clear: both;
}

.meta__avatar {
  display: block;
  border-radius: 50%;
  margin: 2em auto;
}

.meta__icon {
  display: block;
  text-align: center;
  font-size: 3.5em;
  margin-top: 0.65em;
  margin-bottom: 0.5em;
  color: var(--kleurvol);
  /*color: #ff0000;*/
}
/* Verberg weericonen zolang het juiste icoon wordt opgehaald */
.meta__icon i.weer-in-afwachting {
  visibility: hidden;
}

.meta--preview .meta__avatar {
  -webkit-filter: grayscale(50%);
  filter: grayscale(50%);
}

.grid__item:hover .meta--preview .meta__avatar,
.grid__item:focus .meta--preview .meta__avatar {
  -webkit-filter: none;
  filter: none;
}

.meta__date {
  display: block;
  float: left;
  font-family: "Ubuntu", sans-serif;
  font-weight: normal;
  /*font-size: 1em;*/
  font-size: 0.95em;
  position: relative;
  top: -0.2em;
}

.maan-icoon {
  font-family: "Moon Phases", sans-serif;
  font-weight: normal;
  font-style: normal;
}

.meta .maan-icoon {
    display: block;
    float: right;
    font-size: clamp(1.1rem, 8cqi, 2.1rem);
    line-height: 1;
    color: #000;
    margin-top: -1.15em;
    pointer-events: none;
}

.meta__reading-time {
  text-align: right;
  float: right;
}

.meta__misc {
  display: block;
  clear: both;
  text-align: left;
  padding: 5px 0;
}

.meta__misc--seperator {
  padding: 20px 0 0;
  margin: 65px 0 0;
  border-top: 1px solid #f5f5f5;
}

.article-nav {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}

.article-nav button {
  border: none;
  color: var(--kleurvol);
  background: none;
}

.article-nav button:hover {
  color: #333;
}

.meta--preview .meta__avatar,
.meta--preview .meta__date,
.meta--preview .meta__reading-time {
  -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
  transition: transform 0.3s, opacity 0.3s;
  -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
  transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}

.grid__item--loading .meta__avatar {
  -webkit-transition-delay: 0.1s;
  transition-delay: 0.1s;
}

.grid__item--loading .meta__date {
  -webkit-transition-delay: 0.17s;
  transition-delay: 0.17s;
}

.grid__item--loading .meta__reading-time {
  -webkit-transition-delay: 0.24s;
  transition-delay: 0.24s;
}

.grid__item--loading .meta__avatar,
.grid__item--loading .meta__date,
.grid__item--loading .meta__reading-time {
  -webkit-transform: scale3d(0.5, 0.5, 1);
  transform: scale3d(0.5, 0.5, 1);
  opacity: 0;
}

/* Grid footer */
.page-meta {
  background: #fff;
  width: 100%;
  padding: 15px 15px 10px;
  text-align: center;
  font-size: 0.75em;
  font-weight: bold;
  cursor: default;
}

/* Placeholder element (dummy that gets animated when we click on an item) */
.placeholder {
  pointer-events: none;
  position: absolute;
  width: calc(100% + 5px);
  height: calc(100vh + 5px);
  z-index: 100;
  top: 0;
  left: 0;
  background: #fff;
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
}

.placeholder.placeholder--trans-in {
  -webkit-transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
  -webkit-transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
  transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}

.placeholder.placeholder--trans-out {
  -webkit-transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
}

/* main content */
.content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  height: 0;
  /* Avoid second scroll bar in Chrome! */
  visibility: hidden;
  z-index: 400;
  overflow: hidden;
}

.content.content--show {
  height: 100vh;
  pointer-events: auto;
  visibility: visible;
}

/* scroll helper wrap */
.scroll-wrap {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 1;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}

/* single content item */
.content__item {
  position: absolute;
  top: 0;
  width: 100%;
  overflow: hidden;
  height: 0;
  opacity: 0;
  padding: 60px 60px 80px 60px;
  pointer-events: none;
  font-size: 0.85em;
}
.content__item p {
  max-width: 1200px;
  margin: 1em auto;
  text-align: justify;
}
.content__item p:first-of-type {
  font-size: 1.25em;
}

.content__item.content__item--show {
  height: auto;
  min-height: 100vh;
  opacity: 1;
  pointer-events: auto;
  -webkit-transition: opacity 0.6s;
  transition: opacity 0.6s;
}

/* content elements */
.category--full {
  font-size: 1.25em;
  margin-bottom: 20px;
  color: var(--kleurvol);
}

.title--full {
  font-size: 3.25em;
}

.meta--full {
  font-size: 1em;
  margin: 0 auto 2em;
  max-width: 1200px;
}
.meta--full .meta__author {
  display: block;
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;
}
.meta--full .meta__author::before {
  content: 'door ';
  font-weight: normal;
}
.meta--full .meta__category {
  font-style: italic;
  float: left;
  margin: 0 5px;
  font-family: "Playfair Display", serif;
}
.meta--full .meta__category::before {
  content: "in ";
}
.meta--full .meta__avatar {
  margin: 1em auto;
}

.category--full,
.title--full,
.meta--full .meta__avatar,
.meta--full .meta__author,
.meta--full .meta__date,
.meta--full .meta__reading-time {
  opacity: 0;
}

.content__item p {
  opacity: 0;
}

.category--full,
.title--full {
  -webkit-transform: translate3d(0, 40px, 0);
  transform: translate3d(0, 40px, 0);
}

.meta--full .meta__avatar,
.meta--full .meta__author,
.meta--full .meta__date,
.meta--full .meta__reading-time {
  -webkit-transform: scale3d(0.5, 0.5, 1);
  transform: scale3d(0.5, 0.5, 1);
}

.content__item--show .category--full,
.content__item--show .title--full,
.content__item--show .meta--full .meta__avatar,
.content__item--show .meta--full .meta__author,
.content__item--show .meta--full .meta__date,
.content__item--show .meta--full .meta__reading-time {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
  transition: transform 0.3s, opacity 0.3s;
  -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
  transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}

.content__item--show .category--full,
.content__item--show .title--full {
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

.content__item--show .title--full {
  -webkit-transition-delay: 0.05s;
  transition-delay: 0.05s;
}

.content__item--show .meta--full .meta__avatar {
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}

.content__item--show .meta--full .meta__date {
  -webkit-transition-delay: 0.27s;
  transition-delay: 0.27s;
}

.content__item--show .meta--full .meta__reading-time {
  -webkit-transition-delay: 0.34s;
  transition-delay: 0.34s;
}

.content__item--show.content__item p {
  opacity: 1;
  -webkit-transition: opacity 0.5s 0.25s;
  transition: opacity 0.5s 0.25s;
}

/* close button (for content and sidebar) */
.close-button {
  position: absolute;
  border: none;
  background: none;
  margin: 0;
  z-index: 100;
  top: 0;
  right: 0;
  font-size: 18px;
  color: #bdbcbc;
  cursor: pointer;
  pointer-events: none;
  padding: 20px 30px;
  opacity: 0;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}

.close-button span {
  display: none;
}

.close-button:hover {
  color: #7b7b7b;
}

/* show class for content close button */
.close-button--show {
  opacity: 1;
  pointer-events: auto;
}

/* =====================================================
   RESPONSIVE CSS
   ===================================================== */

/* -----------------------------------------------------
   1. SMARTPHONES — TOT 599 PX
   ----------------------------------------------------- */

@media screen and (max-width: 599px) {

    /* Sidebar: off-canvas menu */

    .sidebar {
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
        -webkit-transition: -webkit-transform 0.3s;
        transition: transform 0.3s;
    }

    .sidebar.sidebar--open {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    .sidebar.sidebar--open ~ .main {
        pointer-events: none;
    }

    .top-bar {
        padding: 22px 15px 10px 60px;
    }

    .menu-toggle {
        display: inline-block;
    }

    .sidebar .close-button {
        opacity: 1;
        pointer-events: auto;
        padding: 16px 35px;
    }

    /* Content */

    .title--full {
        font-size: 2em;
    }

    .content__item {
        padding: 80px 20px 40px;
    }

    .content .close-button {
        padding: 10px 20px;
    }

    .content .close-button::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100vw;
        height: 50px;
        background: #f5f5f5;
        border-bottom: 1px solid #f5f5f5;
        pointer-events: none;
        z-index: -1;
    }

    /* Kalender: verticale uitlijning */

    .title--preview {
        position: relative;
        top: 10px;
        line-height: 1.3;
    }

    .meta__date,
    .zonnetijden {
        top: -0.8em;
    }

    .zonnetijden {
        margin-bottom: 0.1em;
    }
}


/* -----------------------------------------------------
   2. TABLETS EN DESKTOPS — VANAF 600 PX
   ----------------------------------------------------- */

@media screen and (min-width: 600px) {

    html,
    body {
        height: 100vh;
    }

    .main {
        height: 100%;
        margin-left: 300px;
    }

    .einde {
        display: block;
        position: relative;
        margin-top: 20px;
        padding: 0 0 30px 300px;
        text-align: center;
        width: auto;
        box-sizing: border-box;
    }

    .content__item {
        font-size: 1em;
    }

    .grid__item {
        padding: 45px 33px 25px;
    }
}


/* -----------------------------------------------------
   3. KALENDERINDELING — VANAF 900 PX
   ----------------------------------------------------- */

@media screen and (min-width: 900px) {

    .grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid__item {
        width: auto;
        border: none;
    }

    .grid__item::before {
        top: 5px;
        right: 5px;
        bottom: 5px;
        left: 5px;
        border: 1px solid rgba(74, 74, 74, 0.15);
        background: #fff;
        transition: opacity 0.3s;
    }

    /* Huidige dag blijft roze */

    .grid__item.is-today::before {
        background: var(--kleurlicht);
    }

    /* Grijze achtergrond bij hover */

    .grid__item:not(.is-today):hover::before,
    .grid__item:not(.is-today):focus::before {
        background: #f2f2f2;
    }

    .grid__item--loading.grid__item::before {
        opacity: 0;
    }

    /* Grijs van het icoon laten doorschijnen in roze */

    .grid__item.is-today .meta {
        z-index: auto;
    }

    .dagweek-icoon,
    .beeldhaiku-link,
    .geluidhaiku-link {
        mix-blend-mode: multiply;
    }
}


/* -----------------------------------------------------
   4. GROTERE SCHERMEN — MEER KOLOMMEN
   ----------------------------------------------------- */

/* 3 kolommen */

@media screen and (min-width: 1500px) {

    .grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* 4 kolommen */

@media screen and (min-width: 1800px) {

    .grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* 5 kolommen */

@media screen and (min-width: 2100px) {

    .grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/* 6 kolommen */

@media screen and (min-width: 2400px) {

    .grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}


/* -----------------------------------------------------
   5. AANRAAKSCHERMEN — TOUCH
   ----------------------------------------------------- */

@media (hover: none), (pointer: coarse) {

    /* Footer */

    .einde {
        display: block;
        position: relative;
        text-align: center;
        margin-top: 20px;
        padding-bottom: 30px;
        font-family: "Ubuntu", sans-serif;
        font-size: 0.8em;
        font-weight: 700;
        color: #bbb;
    }

    /* Kalendericoon */

    .dagweek-icoon {
        font-size: 1.8em !important;
    }

    /* Extra iconen */

    .beeldico,
    .cardico,
    .bookico,
    .geluidico,
    .prikico,
    .tvico,
    .appico {
        margin-left: 8px !important;
    }

    .haikuico {
        margin-left: 6px !important;
    }

    .webico,
    .penico {
        margin-left: 5px !important;
    }

    /* Linkkleuren */

    .ico-link,
    .ico-link:visited,
    .ico-link:focus,
    .ico-link:hover,
    .ico-link:focus:hover {
        color: var(--kleurvol);
    }

    .ico-link:active {
        color: #666;
    }

    /* Dag- en weeknummer */

    .dagweek-tekst {
        font-size: 1.15em !important;
    }

    .meta__date {
        position: relative;
    }

    /* Metadata-icoon */

    .meta__icon {
        margin-top: 0.45em;
        margin-bottom: 0.6em;
    }

    /* Zonnetijden */

    .zonnetijden {
        font-size: 1em;
        position: relative;
        margin-left: 0;
    }

    /* Infopaneel */

    .tekst {
        width: 85%;
    }

    .lijninfo {
        margin: 20px auto -5px;
    }

    .category::before {
        margin: 30px auto 8px !important;
    }

    .ondertekenen {
        font-weight: 500;
        color: rgba(0, 0, 0, 0.3);
    }
}


/* -----------------------------------------------------
   6. TOUCH — PORTRAIT
   ----------------------------------------------------- */

@media (hover: none) and (orientation: portrait),
       (pointer: coarse) and (orientation: portrait) {

    .title--preview {
        height: 4.5em;
    }

    .meta .maan-icoon {
        position: relative;
        top: -0.3em;
    }
}


/* -----------------------------------------------------
   7. SMARTPHONE — LANDSCAPE
   ----------------------------------------------------- */

/* Lage schermhoogte voorkomt dat tablets dezelfde
   behandeling krijgen als smartphones. */

@media (hover: none) and (orientation: landscape) and (max-height: 600px),
       (pointer: coarse) and (orientation: landscape) and (max-height: 600px) {

    .quote,
    .para {
        display: none;
    }

    .title {
        font-size: 1.2em !important;
    }

    .title--preview {
        position: relative;
        top: -8px;
    }

    .dagweek-tekst {
        font-size: 1.2em !important;
    }

    .landscape {
        display: none;
    }

    .meta .maan-icoon {
        position: relative;
        top: 0;
    }

    .sidebar h1 {
        margin: -0.05em 0 0;
        font-size: 4.9em;
        line-height: 1;
        font-family: "Ubuntu", sans-serif;
        font-weight: normal;
    }
           
    .meta__icon {
        /*margin-top: 0.55em;
        margin-bottom: 0.65em;*/
        margin-top: 0.65em;
        margin-bottom: 0.75em;
    }

    .category::before {
        margin: 5px auto 8px;
    }

    .zonnetijden {
        margin-bottom: 0.2em;
    }
}


/* -----------------------------------------------------
   8. MUIS — PRECISION POINTER
   ----------------------------------------------------- */

@media (hover: hover) and (pointer: fine) {

    .einde {
        display: none;
    }
}

