@import url(../../sturing/css/font-awesome.min.css);
/* 1. Variabelen */
:root {
--inkt: #02003E;
--bruin: #403000;
--rood: #8a2a2a;
--groen: #046000;
--perkament: url("https://trace.hoembeka.be/respons/beeld/oude_brief.png");
}
/* 2. Reset en basis */
*, *::before, *::after {
box-sizing: border-box;
}
html {
scrollbar-gutter: stable;
overflow-y: scroll;
}
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strong, sub, sup, var, b, u, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font: inherit;
vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote::before, blockquote::after,
q::before, q::after {
content: none;
}
body {
background: #1b1f22;
line-height: 1;
}
@media screen and (max-width: 480px) {
html, body {
min-width: 320px;
}
}
/* Tijdens het laden en wisselen geen animaties */
body.is-loading *, body.is-loading *::before, body.is-loading *::after,
body.is-switching *, body.is-switching *::before, body.is-switching *::after {
animation: none !important;
transition: none !important;
}
/* 3. Typografie */
html {
font-size: 12pt;
}
@media screen and (max-width: 1680px) {
html { font-size: 11pt; }
}
@media screen and (max-width: 360px) {
html { font-size: 10pt; }
}
body, input, select, textarea {
color: #000000;
font-family: Constantia, "Lucida Bright", "DejaVu Serif", Georgia, serif;
font-weight: 700;
font-size: 1rem;
line-height: 1.65;
}
a {
border-bottom: dotted 1px rgba(255, 255, 255, 0.5);
color: inherit;
text-decoration: none;
transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
}
a:hover {
border-bottom-color: transparent;
color: darkred;
}
strong, b {
color: var(--inkt);
font-weight: 700;
}
em, i {
font-style: italic;
}
p {
margin: 0 0 2rem 0;
}
h1, h2, h3, h4, h5, h6 {
color: #000000;
font-weight: 600;
font-variant: small-caps;
line-height: 1.5;
letter-spacing: 0.2rem;
margin: 0 0 1rem 0;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
color: inherit;
text-decoration: none;
}
h1.major, h2.major, h3.major, h4.major, h5.major, h6.major {
border-bottom: solid 1px #ffffff;
width: max-content;
padding-bottom: 0.5rem;
margin: 0 0 2rem 0;
}
h1 { font-size: 2.25rem; line-height: 1.3; letter-spacing: 0.5rem; }
h2 { font-size: 1.5rem; line-height: 1.4; letter-spacing: 0.5rem; }
h3 { font-size: 1rem; }
h4 { font-size: 0.8rem; }
h5 { font-size: 0.7rem; }
h6 { font-size: 0.6rem; }
sub, sup {
font-size: 0.8rem;
position: relative;
}
sub { top: 0.5rem; }
sup { top: -0.5rem; }
blockquote {
border-left: solid 4px #ffffff;
font-style: italic;
margin: 0 0 2rem 0;
padding: 0.5rem 0 0.5rem 2rem;
}
code {
background: rgba(255, 255, 255, 0.075);
border-radius: 4px;
font-family: "Courier New", monospace;
font-size: 0.9rem;
margin: 0 0.25rem;
padding: 0.25rem 0.65rem;
}
pre {
font-family: "Courier New", monospace;
font-size: 0.9rem;
margin: 0 0 2rem 0;
}
pre code {
display: block;
line-height: 1.75;
padding: 1rem 1.5rem;
overflow-x: auto;
}
hr {
border: 0;
border-bottom: solid 1px #ffffff;
margin: 2.75rem 0;
}
hr.lijn {
height: 1px;
background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}
.align-left { text-align: left; }
.align-center { text-align: center; }
.align-right { text-align: right; }
/* 4. Achtergrond, wrapper, hoofd, popup, voet, loader */
#bg {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100vh;
z-index: 1;
transform: scale(1);
backface-visibility: hidden;
}
#bg::before, #bg::after {
content: '';
display: block;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
#bg::before {
background-image: linear-gradient(to top, rgba(19, 21, 25, 0.2), rgba(19, 21, 25, 0.2)), url("../../afbeelding/overlay.png");
background-size: auto, 256px 256px;
background-position: center, center;
background-repeat: no-repeat, repeat;
transition: background-color 2.5s ease-in-out 0.75s;
z-index: 2;
}
#bg::after {
background-image: url("../../beeld/bg.webp");
background-position: center;
background-size: cover;
background-repeat: no-repeat;
transform: scale(1.1);
opacity: 1;
transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), filter 0.65s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1);
z-index: 1;
}
body.is-article-visible #bg::after {
transform: scale(1.1);   /* zelfde schaal als zonder popup: de achtergrond blijft vast staan */
filter: blur(0.2rem);
}
body.is-loading #bg::before {
background-color: #000000;
}
/* Oprijlaan-achtergrond: geoptimaliseerd voor Safari GPU-compositing */
#bg.laan-actief::after {
opacity: 0;
}
#bg .laan {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: block;
z-index: 1;
transform: translate3d(0, 0, 0) scale(1.03);
transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s cubic-bezier(0.22, 1, 0.36, 1);
will-change: transform, opacity;
}
/* Geef de bewegende laag zijn eigen GPU-compositielaag in Safari */
#bg .laan.laan-beweging {
transform: translateZ(0);
will-change: transform, opacity;
pointer-events: none;
}
/* Gebruik bij geopend artikel een rustige dim- en blur-overgang zonder schok */
body.is-article-visible #bg .laan {
transform: translate3d(0, 0, 0) scale(1.03);
opacity: 0.58;
}
/* Forceer GPU-versnelling op geanimeerde groepen */
.laan .val,
.laan .zwaai,
.laan .drift,
.laan .dwaal,
.laan .fonkel {
will-change: transform, opacity;
backface-visibility: hidden;
}
.laan .val { animation: l-val linear infinite; }
.laan .zwaai { animation: l-zwaai ease-in-out infinite alternate; }
.laan .drift { animation: l-drift 60s ease-in-out infinite alternate; }
.laan .dwaal { animation: l-dwaal 9s ease-in-out infinite alternate; }
.laan .fonkel { animation: l-fonkel 4s ease-in-out infinite; }
/* Gebruik translate3d zodat Safari het naar de videokaart (GPU) stuurt */
@keyframes l-val {
from { transform: translate3d(0, var(--y0, -60px), 0) rotate(0deg); }
to { transform: translate3d(var(--dx, 60px), var(--y1, 1100px), 0) rotate(var(--rot, 360deg)); }
}
@keyframes l-zwaai {
from { transform: translate3d(calc(var(--sw, 20px) * -1), 0, 0) rotate(-18deg); }
to { transform: translate3d(var(--sw, 20px), 0, 0) rotate(18deg); }
}
@keyframes l-drift {
from { transform: translate3d(-70px, 0, 0); }
to { transform: translate3d(70px, 0, 0); }
}
@keyframes l-dwaal {
from { transform: translate3d(-25px, -12px, 0); }
to { transform: translate3d(25px, 14px, 0); }
}
@keyframes l-fonkel {
0%, 100% { opacity: 0.2; }
50%{ opacity: 1; }
}
/* Leesbare titel en ondertitel op oprijlaan-achtergrond (sfeer=aan) en op foto (sfeer=uit) */
body[data-dagdeel]:not(.sfeer-uit) #header {
background-image: radial-gradient(ellipse at center, rgba(8, 10, 14, 0.6) 20%, rgba(8, 10, 14, 0) 70%);
}
#header h1,
#header h2,
#header h3 {
transition: color 0.35s ease-in-out, text-shadow 0.35s ease-in-out;
}
body[data-dagdeel]:not(.sfeer-uit) #header h1,
body[data-dagdeel]:not(.sfeer-uit) #header h2,
body[data-dagdeel]:not(.sfeer-uit) #header h3 {
color: #f7f0e1;
text-shadow: 0 0 0.6rem rgba(0, 0, 0, 0.85), 0 1px 2px rgba(0, 0, 0, 0.9);
}
body[data-dagdeel]:not(.sfeer-uit) #header h3 {
font-weight: 700;
}
body.sfeer-uit #header {
background-image: radial-gradient(ellipse at center, rgba(255, 250, 240, 0.62) 20%, rgba(255, 250, 240, 0) 72%);
}
body.sfeer-uit #header h1,
body.sfeer-uit #header h2,
body.sfeer-uit #header h3 {
color: var(--inkt);
text-shadow: 0 0 0.65rem rgba(255, 250, 240, 0.92), 0 0 1.25rem rgba(255, 250, 240, 0.78), 0 1px 2px rgba(255, 255, 255, 0.95);
}
body.sfeer-uit #header h3 {
font-weight: 700;
}
/* Wrapper */
#wrapper {
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
position: relative;
min-height: 100vh;
width: 100%;
padding: 4rem 2rem;
z-index: 3;
}
#wrapper::before {
content: '';
display: block;
}
@media screen and (max-width: 1680px) {
#wrapper { padding: 3rem 2rem; }
}
@media screen and (max-width: 736px) {
#wrapper { padding: 2rem 1rem; }
}
@media screen and (max-width: 480px) {
#wrapper { padding: 1rem; }
}
/* Hoofd */
#header {
display: flex;
flex-direction: column;
align-items: center;
max-width: 100%;
text-align: center;
background-image: radial-gradient(rgba(0, 0, 0, 0.25) 25%, transparent 55%);
transition: transform 0.325s ease-in-out, filter 0.325s ease-in-out, opacity 0.325s ease-in-out, background-image 0.35s ease-in-out;
}
#header > * {
position: relative;
margin-top: 3.5rem;
transition: opacity 0.325s ease-in-out;
}
#header > *::before {
content: '';
display: block;
position: absolute;
top: calc(-3.5rem - 1px);
left: calc(50% - 1px);
width: 1px;
height: calc(3.5rem + 1px);
background: #ffffff;
opacity: 0;
}
#header > :first-child {
margin-top: 0;
}
#header > :first-child::before {
display: none;
}
#header .content {
max-width: 100%;
border-style: solid;
border-color: #ffffff;
border-top-width: 0;
border-bottom-width: 0;
}
#header .content .inner {
padding: 1rem;
max-height: 20rem;
overflow: hidden;
transition: max-height 0.75s ease 0.25s, padding 0.75s ease 0.25s, opacity 0.325s ease-in-out 0.25s;
}
#header .content .inner > :last-child {
margin-bottom: 0;
}
body.is-article-visible #header {
transform: scale(0.95);
filter: blur(0.1rem);
opacity: 0;
}
body.is-loading #header {
filter: blur(0.125rem);
}
body.is-loading #header > * {
opacity: 1;
}
body.is-loading #header .content .inner {
max-height: 0;
padding-top: 0;
padding-bottom: 0;
opacity: 0;
}
@media screen and (max-width: 800px) {
#header { padding: 1.5rem 0; }
#header .content .inner { padding: 2.5rem 0; }
}
/* Hoofdgebied en popup (artikel) */
#main {
flex: 1 1 auto;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
position: relative;
max-width: 100%;
z-index: 3;
}
#main article {
position: relative;
height: auto;
max-width: 85%;
padding: 4.5rem 2rem 1.5rem 2rem;
background-color: transparent;
background-image: var(--perkament);
background-repeat: repeat;
background-size: auto;
background-position: top left;
border-radius: 4px;
opacity: 0;
transform: translateY(0.25rem);
transition: opacity 0.325s ease-in-out, transform 0.325s ease-in-out;
}
#main article.active {
opacity: 1;
transform: translateY(0);
}
#main article .close {
display: block;
position: absolute;
top: 0;
right: 0;
width: 4rem;
height: 4rem;
cursor: pointer;
text-indent: 4rem;
overflow: hidden;
white-space: nowrap;
}
#main article .close::before {
content: '';
display: block;
position: absolute;
top: 0.75rem;
left: 0.75rem;
width: 2.5rem;
height: 2.5rem;
border-radius: 100%;
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20px' height='20px' viewBox='0 0 20 20'%3E%3Cstyle%3Eline %7B stroke: %23000000%3B stroke-width: 1%3B %7D%3C/style%3E%3Cline x1='2' y1='2' x2='18' y2='18' /%3E%3Cline x1='18' y1='2' x2='2' y2='18' /%3E%3C/svg%3E");
background-position: center;
background-size: 20px 20px;
background-repeat: no-repeat;
transition: background-color 0.2s ease-in-out;
}
#main article .close:hover::before {
background-color: rgba(255, 255, 255, 0.075);
}
#main article .close:active::before {
background-color: rgba(255, 255, 255, 0.175);
}
#main article .close:focus-visible {
outline: 2px solid var(--inkt);
outline-offset: -4px;
}
@media screen and (max-width: 736px) {
#main article {
padding: 3.5rem 2rem 0.5rem 2rem;
}
#main article .close::before {
top: 0.875rem;
left: 0.875rem;
width: 2.25rem;
height: 2.25rem;
background-size: 14px 14px;
}
}
@media screen and (max-width: 480px) {
#main article {
padding: 3rem 1.5rem 0.5rem 1.5rem;
}
}
/* Voet */
#footer {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: 0.4rem 1.4rem;
width: 100%;
max-width: 100%;
margin-top: 2rem;
text-align: center;
transition: transform 0.325s ease-in-out, filter 0.325s ease-in-out, opacity 0.325s ease-in-out;
}
#footer .copyright {
display: inline-block;
margin: 0;
font-size: 0.6rem;
letter-spacing: 0.2rem;
text-transform: uppercase;
color: #928F8F;
opacity: 0.75;
}
body.is-article-visible #footer {
transform: scale(0.95);
filter: blur(0.1rem);
opacity: 0;
}
body.is-loading #footer {
opacity: 0;
}
/* Pre-loader */
div#load_screen {
position: fixed;
top: 0;
width: 100%;
height: 1600px;
background: #393021;
opacity: 1;
z-index: 10;
}
div#load_screen > div#loading {
width: 64px;
height: 64px;
margin: 300px auto;
}
/* 5. Hulpklassen */
.a1, .a2 {
padding: 1px 4px;
font-weight: normal;
font-size: 1rem;
font-variant: small-caps;
color: var(--inkt);
cursor: pointer;
text-decoration: none;
border-radius: 5px;
}
.a2 {
border: 1px solid #262626;
}
.a1:hover {
background: #E5E5E5;
color: var(--bruin);
}
.a2:hover {
background: #D2F78B;
color: var(--bruin);
border-color: #262626;
}
.a1:visited {
color: var(--groen);
}
.bar {
background: #ffffff;
opacity: 0.4;
}
.beeld {
max-width: 100%;
height: auto;
}
.center {
margin-left: auto;
margin-right: auto;
text-align: center;
}
.tabel {
display: block;
width: 100%;
border-collapse: separate;
border-spacing: 0 12px;
font-size: 1rem;
font-weight: bold;
font-variant: small-caps;
text-decoration: none;
color: #484743;
}
.tabel td {
padding: 10px 18px;
background: #d6c49e;
background-image: linear-gradient(180deg, rgba(255, 248, 226, 0.45), rgba(145, 108, 54, 0.22));
border: 1px solid rgba(64, 48, 0, 0.55);
border-radius: 10px;
text-align: center;
}
.beeld-links { float: left; margin: 10px 10px 0 0; }
.beeld-rechts { float: right; margin: 10px 0 0 10px; }
@media screen and (max-width: 480px) {
.beeld-links, .beeld-rechts {
float: none;
display: block;
margin: 10px auto;
}
}
/* 6. Popup-onderdelen */
/* Verhaal pop-up (#story) */
#main article#story {
width: min(52rem, calc(100vw - 4.5rem));
max-width: none;
}
.verhaal-blok {
margin: 0 0 1.4rem 0;
padding: 1.25rem 1.5rem;
border: 1px solid rgba(64, 48, 0, 0.32);
border-left: 3px solid var(--bruin);
border-radius: 3px;
background-color: rgba(255, 250, 235, 0.45);
box-shadow: inset 0 0 0.8rem rgba(120, 80, 20, 0.14), 0 2px 5px rgba(0, 0, 0, 0.14);
}
.verhaal-blok::after {
content: "";
display: table;
clear: both;
}
.verhaal-blok p {
margin: 0 0 0.95rem 0;
font-weight: normal;
line-height: 1.65;
color: var(--inkt);
}
.verhaal-blok p:last-child {
margin-bottom: 0;
}
.verhaal-blok .beeld-links {
margin: 0.2rem 1.25rem 0.6rem 0;
border: 1px solid rgba(64, 48, 0, 0.35);
border-radius: 3px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.verhaal-blok .beeld-rechts {
margin: 0.2rem 0 0.6rem 1.25rem;
border: 1px solid rgba(64, 48, 0, 0.35);
border-radius: 3px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.verhaal-afbeelding {
display: block;
margin: 0 auto;
border: 1px solid rgba(64, 48, 0, 0.35);
border-radius: 3px;
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}
@media screen and (max-width: 480px) {
.verhaal-blok {
padding: 1rem 1.1rem;
}
.verhaal-blok .beeld-links,
.verhaal-blok .beeld-rechts {
float: none;
display: block;
margin: 0 auto 0.9rem auto;
}
}
/* Inleidende tekstkaart */
.intro-kaart {
position: relative;
margin: 0 0 1.5rem 0;
padding: 1.1rem 1.4rem;
border: 1px solid rgba(64, 48, 0, 0.35);
border-left: 3px solid var(--bruin);
border-radius: 3px;
background-color: rgba(255, 250, 235, 0.45);
box-shadow: inset 0 0 0.8rem rgba(120, 80, 20, 0.15), 0 2px 5px rgba(0, 0, 0, 0.15);
font-size: 1rem;
font-weight: normal;
font-variant: small-caps;
line-height: 1.55;
letter-spacing: 0.08rem;
color: var(--inkt);
}
@media screen and (max-width: 480px) {
.intro-kaart {
padding: 0.9rem 1rem;
letter-spacing: 0.05rem;
}
}
/* Gedeeld door steekkaartjes en briefjes */
a.kaart, a.briefje {
display: flex;
flex-direction: column;
position: relative;
height: 100%;
border: 1px solid rgba(64, 48, 0, 0.45);
color: var(--inkt);
text-decoration: none;
transform: rotate(var(--draai, 0deg));
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
a.kaart:hover, a.kaart:focus-visible,
a.briefje:hover, a.briefje:focus-visible {
color: var(--bruin);
transform: rotate(0deg) translateY(-3px);
}
a.kaart:focus-visible, a.briefje:focus-visible {
outline: 2px solid var(--inkt);
outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
a.kaart, a.briefje, .briefje-opening, a.podcast-link { transition: none; }
a.kaart:hover, a.kaart:focus-visible,
a.briefje:hover, a.briefje:focus-visible,
a.podcast-link:hover, a.podcast-link:focus-visible { transform: none; }
}
/* Steekkaartjes (Jules' Mirotron) */
#main article#mirotron {
width: min(40rem, calc(100vw - 4.5rem));
max-width: none;
}
.kaarten {
--kaart-tint: rgba(150, 175, 120, 0.30);
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(9.5rem, 100%), 1fr));
gap: 1rem;
width: 100%;
margin: 1.25rem 0;
padding: 0;
}
.kaarten li {
--draai: -0.6deg;
margin: 0;
}
.kaarten li:nth-child(even) {
--draai: 0.6deg;
}
a.kaart {
justify-content: center;
min-height: 5rem;
padding: 1.1rem 0.9rem 0.7rem 0.9rem;
border-radius: 3px;
background-color: #f3e2b3;
background-image: linear-gradient(var(--kaart-tint), var(--kaart-tint)), var(--perkament);
background-size: cover;
background-position: center;
background-repeat: no-repeat;
box-shadow: inset 0 0 0.9rem rgba(120, 80, 20, 0.35), 0 2px 4px rgba(0, 0, 0, 0.3);
text-align: center;
}
a.kaart:hover, a.kaart:focus-visible {
border-color: rgba(64, 48, 0, 0.7);
box-shadow: inset 0 0 0.9rem rgba(120, 80, 20, 0.35), 0 8px 14px rgba(0, 0, 0, 0.35);
}
.kaart-nr {
position: absolute;
top: 0.2rem;
left: 0.6rem;
font-size: 0.7rem;
font-variant: small-caps;
letter-spacing: 0.1rem;
color: var(--rood);
}
.kaart-tekst {
display: block;
font-weight: normal;
font-size: clamp(0.85rem, 0.75rem + 0.5vw, 1rem);
font-variant: small-caps;
line-height: 1.35;
letter-spacing: 0.02rem;
}
@media screen and (max-width: 480px) {
.kaarten { gap: 0.8rem; }
a.kaart { min-height: 4.2rem; }
}
/* Briefjes uit Sirephil (Jules' vragen) */
#main article#protagonist {
width: min(54rem, calc(100vw - 4.5rem));
max-width: none;
}
.sirephil {
position: relative;
z-index: 0;
width: 11rem;
margin: 1.25rem auto 0 auto;
}
.sirephil img {
display: block;
width: 100%;
height: auto;
mask-image: radial-gradient(ellipse 62% 62% at 50% 46%, #000 55%, transparent 100%);
mix-blend-mode: multiply;
}
.briefjes-teller {
margin: 1rem 0 0 0;
text-align: center;
font-size: 0.85rem;
font-variant: small-caps;
letter-spacing: 0.15rem;
color: var(--bruin);
}
.briefjes-teller[hidden] {
display: none;
}
.briefjes {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 2.4rem 1.3rem;
margin: 1.5rem 0;
padding: 0;
}
.sirephil + .briefjes {
position: relative;
z-index: 1;
margin-top: -0.5rem;
}
.briefjes li {
--draai: -0.5deg;
position: relative;
margin: 0;
}
.briefjes li:nth-child(even) {
--draai: 0.5deg;
}
.sirephil + .briefjes li:nth-child(1) { --draai: -2.4deg; }
.sirephil + .briefjes li:nth-child(2) { --draai: 0.8deg; }
.sirephil + .briefjes li:nth-child(3) { --draai: 2.4deg; }
.briefjes li:hover, .briefjes li:focus-within {
z-index: 5;
}
/* Houten hangertje: het briefje hangt aan een touwtje, als aan Sirephil zelf */
a.briefje {
gap: 0.35rem;
min-height: 8.5rem;
padding: 1.9rem 1rem 1rem 1rem;
border: 1px solid #2f1c0c;
border-radius: 0.5rem 0.5rem 0.9rem 0.9rem;
background-color: #6f4524;
background-image:
repeating-linear-gradient(92deg, rgba(0, 0, 0, 0) 0 7px, rgba(0, 0, 0, 0.08) 7px 8px, rgba(255, 255, 255, 0.04) 8px 11px),
linear-gradient(135deg, #8a5a2f, #5e3a1b);
box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.08), inset 0 -6px 10px rgba(0, 0, 0, 0.25), 0 3px 6px rgba(0, 0, 0, 0.4);
color: #f6e8c0;
transform-origin: 50% 0;
}
a.briefje:hover, a.briefje:focus-visible {
color: #fff4cf;
box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.1), inset 0 -6px 10px rgba(0, 0, 0, 0.25), 0 8px 14px rgba(0, 0, 0, 0.4);
animation: zwaai 0.9s ease-in-out 1;
}
a.briefje:focus-visible {
outline-color: #f6e8c0;
}
/* Gaatje bovenaan */
a.briefje::after {
content: "";
position: absolute;
top: 0.55rem;
left: 50%;
width: 0.7rem;
height: 0.7rem;
margin-left: -0.35rem;
border-radius: 50%;
background-color: #e9d6a2;
background-image: var(--perkament);
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.75), 0 0 0 2px rgba(0, 0, 0, 0.25);
}
/* Touwtje: loopt van boven door het gaatje */
.briefjes li::after {
content: "";
position: absolute;
top: -1.4rem;
left: 50%;
z-index: 1;
width: 2px;
height: 2.3rem;
margin-left: -1px;
background: linear-gradient(#d9b57a, #a8803f);
pointer-events: none;
}
.briefje-thema {
margin-bottom: 0.25rem;
padding-bottom: 0.35rem;
border-bottom: 1px solid rgba(227, 194, 122, 0.4);
font-size: 0.8rem;
font-variant: small-caps;
letter-spacing: 0.15rem;
color: #e3c27a;
}
.briefje-vraag {
font-size: clamp(0.9rem, 0.8rem + 0.4vw, 1rem);
font-variant: small-caps;
line-height: 1.35;
/* Gegraveerd in het hout */
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.6);
}
/* Al gelezen (bijgehouden door het script): thema krijgt vinkje */
a.briefje.gelezen .briefje-thema {
color: #b9e08a;
}
a.briefje.gelezen .briefje-thema::after {
content: " \2713";
}
/* Zacht heen en weer zwaaien bij aanwijzen */
@keyframes zwaai {
0% { transform: rotate(var(--draai, 0deg)); }
30%{ transform: rotate(2.5deg) translateY(-3px); }
60%{ transform: rotate(-1.8deg) translateY(-3px); }
100% { transform: rotate(0deg) translateY(-3px); }
}
@media (prefers-reduced-motion: reduce) {
a.briefje:hover, a.briefje:focus-visible { animation: none; }
}
.briefje-opening {
position: absolute;
top: calc(100% - 0.3rem);
left: 0.3rem;
right: 0.3rem;
z-index: 2;
padding: 0.5rem 0.7rem;
border: 1px solid rgba(64, 48, 0, 0.35);
border-radius: 2px;
background-color: #ecd9a4;
background-image: var(--perkament);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
font-size: 0.8rem;
font-style: italic;
line-height: 1.35;
color: var(--bruin);
pointer-events: none;
opacity: 0;
transform: translateY(-6px) rotate(0.8deg);
transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}
.briefje-opening::after {
content: " \2026";
}
a.briefje:hover .briefje-opening,
a.briefje:focus-visible .briefje-opening {
opacity: 1;
transform: translateY(0) rotate(0.8deg);
}
@media (hover: none) {
.briefje-opening { display: none; }
}
@media screen and (max-width: 760px) {
.briefjes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sirephil + .briefjes li:nth-child(1) { --draai: -2.2deg; }
.sirephil + .briefjes li:nth-child(2) { --draai: 2.2deg; }
.sirephil + .briefjes li:nth-child(3) { --draai: -0.5deg; }
}
@media screen and (max-width: 480px) {
.sirephil { width: 9rem; }
.sirephil + .briefjes { margin-top: -0.5rem; }
.briefjes { grid-template-columns: minmax(0, 1fr); }
a.briefje { min-height: 5.5rem; }
}
/* Recepten pop-up (#ode: Ode-Vingt & Eau-de-Jules) */
#main article#ode {
width: min(54rem, calc(100vw - 4.5rem));
max-width: none;
}
.recept-kaart {
margin: 0 0 1.5rem 0;
padding: 1.4rem 1.6rem;
border: 1px solid rgba(64, 48, 0, 0.35);
border-left: 3px solid var(--rood);
border-radius: 3px;
background-color: rgba(255, 250, 235, 0.48);
box-shadow: inset 0 0 0.8rem rgba(120, 80, 20, 0.15), 0 2px 5px rgba(0, 0, 0, 0.15);
}
.recept-kaart p {
margin: 0 0 1rem 0;
font-weight: normal;
line-height: 1.6;
color: var(--inkt);
}
.recept-kaart h3 {
margin: 1.4rem 0 0.65rem 0;
padding-bottom: 0.3rem;
border-bottom: 1px solid rgba(138, 42, 42, 0.35);
font-size: 0.95rem;
letter-spacing: 0.14rem;
color: var(--rood);
}
.recept-kaart h3:first-child {
margin-top: 0;
}
.recept-kaart h4 {
margin: 1rem 0 0.4rem 0;
font-size: 0.88rem;
letter-spacing: 0.1rem;
color: var(--bruin);
}
.recept-kaart h5 {
margin: 0.9rem 0 0.3rem 0;
font-size: 0.82rem;
letter-spacing: 0.08rem;
color: var(--rood);
}
.recept-kaart h5:first-child {
margin-top: 0;
}
.recept-lijst {
list-style: disc;
margin: 0 0 1rem 1.35rem;
padding: 0;
font-weight: normal;
line-height: 1.55;
color: var(--inkt);
}
.recept-lijst li {
margin-bottom: 0.35rem;
}
.recept-kruiden-layout {
display: grid;
grid-template-columns: minmax(12rem, 16rem) minmax(0, 1fr);
gap: 1.5rem;
align-items: start;
margin: 0.75rem 0 1.25rem 0;
}
.recept-etiket {
display: block;
width: 100%;
border: 1px solid rgba(64, 48, 0, 0.35);
border-radius: 3px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.recept-tip {
margin-top: 1.1rem;
margin-bottom: 0 !important;
padding: 0.85rem 1.1rem;
border: 1px dashed rgba(64, 48, 0, 0.4);
border-radius: 3px;
background-color: rgba(246, 232, 192, 0.55);
}
@media screen and (max-width: 640px) {
.recept-kruiden-layout {
grid-template-columns: minmax(0, 1fr);
}
.recept-etiket {
max-width: 16rem;
margin: 0 auto;
}
}
@media screen and (max-width: 480px) {
.recept-kaart {
padding: 1rem 1.1rem;
}
}
/* Phidel pop-up */
#main article#phidel {
width: min(50rem, calc(100vw - 4.5rem));
max-width: none;
}
#phidel .phidel-banner {
display: block;
margin: 0 auto 1.75rem auto;
border: 1px solid rgba(64, 48, 0, 0.35);
border-radius: 3px;
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}
.phidel-kaart {
position: relative;
margin: 0 0 1.5rem 0;
padding: 1.35rem 1.6rem;
border: 1px solid rgba(64, 48, 0, 0.35);
border-left: 3px solid var(--rood);
border-radius: 3px;
background-color: rgba(255, 250, 235, 0.48);
box-shadow: inset 0 0 0.8rem rgba(120, 80, 20, 0.15), 0 2px 5px rgba(0, 0, 0, 0.15);
}
.phidel-kaart h3 {
margin-bottom: 0.9rem;
padding-bottom: 0.35rem;
border-bottom: 1px solid rgba(138, 42, 42, 0.35);
font-size: 0.95rem;
letter-spacing: 0.15rem;
color: var(--rood);
}
.phidel-kaart p {
margin: 0 0 0.9rem 0;
font-weight: normal;
line-height: 1.6;
color: var(--inkt);
}
.phidel-kaart p:last-child {
margin-bottom: 0;
}
@media screen and (max-width: 480px) {
.phidel-kaart {
padding: 1rem 1.1rem;
}
}
/* Podcast pop-up */
#main article#pod {
width: min(26rem, calc(100vw - 4.5rem));
max-width: none;
text-align: center;
}
#main article#pod h3.major {
margin-left: auto;
margin-right: auto;
}
.podcast-kaart {
display: flex;
flex-direction: column;
align-items: center;
gap: 1.25rem;
margin: 1.5rem 0;
padding: 1.5rem 1.4rem;
border: 1px solid rgba(64, 48, 0, 0.35);
border-top: 3px solid var(--rood);
border-radius: 3px;
background-color: rgba(255, 250, 235, 0.48);
box-shadow: inset 0 0 0.8rem rgba(120, 80, 20, 0.15), 0 2px 5px rgba(0, 0, 0, 0.15);
}
.podcast-beeld {
display: block;
width: min(13rem, 100%);
height: auto;
border-radius: 3px;
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}
a.podcast-link {
display: inline-block;
padding: 0.55rem 1.1rem;
border: 1px solid rgba(64, 48, 0, 0.45);
border-radius: 3px;
background-color: #f6e8c0;
color: var(--inkt);
font-size: 0.95rem;
font-weight: normal;
font-variant: small-caps;
letter-spacing: 0.08rem;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
transition: transform 0.2s ease-in-out, background-color 0.2s ease-in-out, color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
a.podcast-link:hover,
a.podcast-link:focus-visible {
background-color: #ecd9a4;
color: var(--rood);
transform: translateY(-2px);
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
}
/* Menuknoppen op beginpagina: hele knop reageert, niet alleen tekst */
.tabel td {
padding: 0;
transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out;
}
.tabel td a {
display: block;
position: relative;
padding: 10px 2.4rem;
border-bottom: 0;
}
.tabel td a::after {
content: "\203A";
position: absolute;
top: 50%;
right: 1.1rem;
font-size: 1.4em;
line-height: 1;
opacity: 0;
transform: translate(-8px, -52%);
transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}
.tabel td:hover,
.tabel td:focus-within {
background: #D2F78B;
border-color: #262626;
box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
transform: translateY(-3px) scale(1.02);
}
.tabel td:hover a,
.tabel td:focus-within a {
color: var(--bruin);
}
.tabel td:hover a::after,
.tabel td:focus-within a::after {
opacity: 1;
transform: translate(0, -52%);
}
.tabel td:focus-within {
outline: 2px solid #ffffff;
outline-offset: 3px;
}
.tabel td:active {
transform: translateY(0) scale(0.99);
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
/* "Top"-knoppen in popups */
.a2 {
display: inline-block;
transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.a2:hover,
.a2:focus-visible {
transform: translateY(-3px);
box-shadow: 0 5px 12px rgba(0, 0, 0, 0.4);
}
.a2:active {
transform: translateY(0);
box-shadow: none;
}
/* Sluitknop (kruisje) van popups */
#main article .close::before {
transition: background-color 0.2s ease-in-out, transform 0.25s ease-in-out;
}
#main article .close:hover::before,
#main article .close:focus-visible::before {
background-color: rgba(138, 42, 42, 0.22);
transform: rotate(90deg) scale(1.12);
}
@media (prefers-reduced-motion: reduce) {
.tabel td, .tabel td a::after, .a2, #main article .close::before { transition: none; }
.tabel td:hover, .tabel td:focus-within, .tabel td:active,
.a2:hover, .a2:focus-visible, .a2:active,
#main article .close:hover::before, #main article .close:focus-visible::before { transform: none; }
}
/* Mirotron-kaartjes: subtiele markering als ze al geopend zijn */
a.kaart.gelezen .kaart-nr {
color: var(--groen);
}
a.kaart.gelezen::after {
content: "\2713";
position: absolute;
top: 0.2rem;
right: 0.6rem;
font-size: 0.8rem;
font-weight: 700;
line-height: 1;
color: var(--groen);
opacity: 0.85;
}
.gelezen-sr {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip-path: inset(50%);
white-space: nowrap;
}
/* Schakelaar "Sfeer aan/uit" in voettekst (door achtergrond.js geplaatst) */
.sfeer-knop {
appearance: none;
display: inline-flex;
align-items: center;
gap: 0.5rem;
flex-shrink: 0;
margin: 0;
padding: 0.15rem 0;
border: 0;
background: none;
color: #928F8F;
font: inherit;
font-size: 0.6rem;
line-height: 1;
letter-spacing: 0.2rem;
text-transform: uppercase;
vertical-align: baseline;
cursor: pointer;
opacity: 0.85;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
transition: opacity 0.2s ease-in-out, color 0.2s ease-in-out, text-shadow 0.2s ease-in-out;
}
.sfeer-knop:hover,
.sfeer-knop:focus-visible {
opacity: 1;
}
.sfeer-knop:focus-visible {
outline: 1px solid currentColor;
outline-offset: 3px;
border-radius: 3px;
}
.sfeer-schuif {
position: relative;
width: 1.7rem;
height: 0.8rem;
border: 1px solid currentColor;
border-radius: 0.4rem;
background: rgba(146, 143, 143, 0.25);
transition: background-color 0.2s ease-in-out;
}
.sfeer-schuif::after {
content: "";
position: absolute;
top: 50%;
left: 2px;
width: 0.5rem;
height: 0.5rem;
margin-top: -0.25rem;
border-radius: 50%;
background: currentColor;
transition: transform 0.2s ease-in-out;
}
.sfeer-knop[aria-checked="true"] .sfeer-schuif {
background: rgba(210, 247, 139, 0.45);
}
.sfeer-knop[aria-checked="true"] .sfeer-schuif::after {
transform: translateX(0.85rem);
}
.sfeer-stand {
min-width: 1.4em;
text-align: left;
}
body[data-seizoen="winter"]:not(.sfeer-uit) .sfeer-knop {
color: #f7f0e1;
opacity: 1;
text-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.85), 0 1px 2px rgba(0, 0, 0, 0.9);
}
@media (prefers-reduced-motion: reduce) {
#header h1, #header h2, #header h3, #header, .sfeer-knop, .sfeer-schuif, .sfeer-schuif::after { transition: none; }
}