/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  background-color: #f3f0e8;
  color: #5e5e5e;
  font-family: sans-serif;
  font-size: 1em;
  line-height: 1.4;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 8px;
}

div.content {
  margin-top: 56px;
}

h1 {
  clear: both;
}

.target {
  scroll-margin-top: 56px;
}

a {
  color: inherit;;
  font-weight: bold;
  text-decoration: none;
}

.header a {
  color: #5e5e5e;
}

.header a.logo {
  float: left;
}

.header img.logo {
  margin: 4px;
  width: 46px;
}

.header img.logo_text {
  margin: 4px;
  width: 400px;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

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

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

/*  a[href]::after {
    content: " (" attr(href) ")";
  }*/

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

.header {
  background-color: #e0cfc3;
  box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
  left: 0;
  margin: 0;
  position: fixed;
  top: 0;
  white-space: nowrap;
  width: 100%;
  z-index: 3;
}

.header nav {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background-color: #e0cfc3;
}

.header li a {
  display: block;
  padding: 16px;
  border-right: 1px solid #f4f4f4;
  text-decoration: none;
}

.header li a:hover,
.header .menu-btn:hover {
  background-color: #f4f4f4;
}

/* menu */

.header .menu {
  clear: both;
  max-height: 0;
  transition: max-height .2s ease-out;
}

/* menu icon */

.header .menu-icon {
  cursor: pointer;
  float: right;
  margin: 10px 10px;
  user-select: none;
  transition: margin .2s linear;
}

svg.hb {
  height: 32px;
  width: 32px;
}

/* menu btn */

.header .menu-btn {
  display: none;
}

.header .menu-btn:checked ~ .menu {
  max-height: 240px;
}

.header .menu-btn + .check svg path {
  transition: 0.2s;
}

.header .menu-btn:checked + .check svg path {
  d: path("M3,3L5,5L7,3M5,5L5,5 M3,7L5,5L7,7");
}

.close-menu {
  background: rgba(0, 0, 0, 0.7);
  cursor: default;
  position: fixed;
  top: 55px;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.2s, visibility 0s linear 0.2s;
  transition: opacity 0.2s, visibility 0s linear 0.2s;
  z-index: -2;
}

.header .menu-btn:checked ~ .close-menu {
  opacity: 1;
  visibility: visible;
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}

p {
  padding: 0;
}

img {
  margin: 0;
}

.content img,
iframe {
  border: 2px inset #e0cfc3;
  border-radius: 1em;
}

img.left {
  float: left;
  margin-right: 12px;
}

img.right {
  float: right;
  margin-left: 12px;
}

figure {
  float: left;
  margin: 0 12px 0 0;
  min-width: 320px;
  text-align: center;
  width: 32%;
}

figure img {
  width: 320px;
}

figure.about img {
  width: 100%;
}

figure.dish div {
  display: flex;
  height: 320px;
}

figure.dish img {
  align-self: flex-end;
  display: inline-block;
  border: none;
  margin: auto;
}

figcaption {
  font-style: italic;
  text-align: center;
  font-size: smaller;
}

figure.dish {
  float: left;
  margin: 0 12px 0 0;
  min-width: 320px;
  width: 32%;
}

a.menu {
  clear: both;
  display: block;
}

table.extra {
  max-width: 22em;
  width: 100%;
}

table.extra b.demon {
  color: #bc002d;
}

table.extra b.medium {
  color: orange;
}

table.extra b.light {
  color: green;
}

svg.instagram {
  fill: currentColor;
  height: 1.2em;
  width: 1.2em;
}

iframe.map {
  height: 360px;
  margin-top: 1em;
  width: calc( 100% - 4px );
}

footer p {
  font-size: 8px;
  margin: 0;
  text-align: center;
}

@media (min-width: 66em) {
  .header .menu-icon {
    display: none;
  }
  .header li {
    float: left;
  }
  .header .menu {
    clear: none;
    float: right;
    max-height: none;
  }
}

@media (max-width: 66em) {
  .header li a {
    border-right: none;
    border-top: 1px solid #f4f4f4;
    padding: 8px;
  }
}

@media (max-width: 33em) {
  h1,
  h2,
  h3,
  h4,
  p {
    margin: 0.5em auto;
  }
  .header a.logo {
    max-width: calc( 100% - 100px );
  }
  .header img.logo {
    margin: 2px;
    width: 12%;
  }
  .header img.logo_text {
    margin: 2px;
    width: 90%;
  }
  div.content {
    margin-top: 48px;
  }
  div.content img, figure {
    display: block;
    float: none !important;
    margin: auto !important;
  }
}

@media (max-width: 30em) {
 .header .menu-icon {
    margin: 6px 6px;
  }
}

@media (max-width: 24em) {
 .header .menu-icon {
    margin: 1px 4px;
  }
  .target {
    scroll-margin-top: 32px;
  }
}

@media (prefers-color-scheme: dark) {
  html {
    background-color: #1f1f1f;
    color: #f3f0e8;
  }
  .header {
    background-color: #c09e85;
  }
  .header nav {
    background-color: #c09e85;
  }
  .header li a {
    border-color: #5e5e5e;
  }
  iframe.map {
    border-style: outset;
    filter: invert(91%) hue-rotate(180deg);
  }
}

[lang="en"] {
  display: revert;
}

[lang="nl"] {
  display: none;
}
