/* This overlay never changes the page layout or scrollbar width. */
#bruut-pt-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  opacity: 1;
  visibility: hidden;
  pointer-events: none;
  isolation: isolate;
  touch-action: none;
}
#bruut-pt-overlay .bruut-pt-shade {
  position: absolute;
  inset: 0;
  display: block;
  background: #111;
  opacity: 0;
}
#bruut-pt-overlay img {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 250px;
  height: auto;
  max-width: 60vw;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  filter: none;
  transform: translate(-50%, -50%);
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}
/* Kerst: alleen op de kerstmenupagina landt de muts rechtsboven op de T van het gecentreerde logo. */
#bruut-pt-overlay .bruut-pt-muts {
  --bruut-pt-w: min(250px, 60vw);
  position: absolute;
  left: calc(50% + var(--bruut-pt-w) * .312);
  top: calc(50% - var(--bruut-pt-w) * .1724);
  display: block;
  width: calc(var(--bruut-pt-w) * .17);
  aspect-ratio: 260 / 250;
  background: center / contain no-repeat;
  opacity: 0;
  transform-origin: 38% 62%;
  will-change: transform, opacity;
}
html.bruut-pt-hide-brand .site-header .brand img { visibility: hidden !important; }
/* Main receives reading focus after navigation; interactive focus styles stay intact. */
main#inhoud:focus { outline: none; }
html.bruut-pt-arriving { background: #111; }
html.bruut-pt-arriving #bruut-pt-overlay,
#bruut-pt-overlay.is-active { visibility: visible; pointer-events: auto; }
html.bruut-pt-arriving #bruut-pt-overlay .bruut-pt-shade,
html.bruut-pt-arriving #bruut-pt-overlay img { opacity: 1; }
@media (max-width: 720px) {
  #bruut-pt-overlay img { width: 200px; }
  #bruut-pt-overlay .bruut-pt-muts { --bruut-pt-w: min(200px, 60vw); }
}
@media (prefers-reduced-motion: reduce) {
  #bruut-pt-overlay { display: none !important; }
  html.bruut-pt-hide-brand .site-header .brand img { visibility: visible !important; }
}
