@font-face {
    font-display: swap;
    font-family: 'Mistral';
    font-style: normal;
    font-weight: 400;
    src: url('/fonts/mistral.woff') format('woff');
}
@font-face {
    font-display: swap;
    font-family: 'Nimbus Sans';
    font-style: normal;
    font-weight: 700;
    src: url('/fonts/nimbus-sans-bold.woff') format('woff'); 
}
@font-face {
    font-display: swap;
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 400;
    src: url('/fonts/noto-serif-v22-latin-regular.woff2') format('woff2'); 
}
@font-face {
    font-display: swap;
    font-family: 'Noto Serif';
    font-style: italic;
    font-weight: 400;
    src: url('/fonts/noto-serif-v22-latin-italic.woff2') format('woff2'); 
}
@font-face {
    font-display: swap;
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 700;
    src: url('/fonts/noto-serif-v22-latin-700.woff2') format('woff2'); 
}
@font-face {
    font-display: swap;
    font-family: 'Noto Serif';
    font-style: italic;
    font-weight: 700;
    src: url('/fonts/noto-serif-v22-latin-700italic.woff2') format('woff2'); 
}
@font-face {
    font-display: swap;
    font-family: 'Reenie Beanie';
    font-style: normal;
    font-weight: 400;
    src: url('/fonts/reenie-beanie-v16-latin-regular.woff2') format('woff2');
}

/*----------------------*/
/* colors
/*----------------------*/

:root {
    --red: #c4252a;
    --black: #3d3d3d;
    --almostwhite: #f8f8f8;
}

/*----------------------*/
/* styles
/*----------------------*/

*, ::after, ::before {padding: 0; margin: 0; box-sizing: border-box;}
html {font-size: 20px; scroll-behavior: smooth;}
body {
    font-size: 1rem; 
    color: var(--black); 
    font-family: 'Noto Serif', serif;
    line-height: 1.35; 
    background: var(--almostwhite) url(/img/nnnoise.svg);
    background-attachment: fixed;
}
h1,h2,h3 {font-weight: normal;}
h1 {margin-bottom: 1.5rem!important; font-size: 2.1rem;}
.content > h3,
.smallcaps {
    font-family: 'Nimbus Sans', sans-serif;
    font-size: 0.55rem;
    font-weight: bold;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
}
.button {
    white-space: nowrap;
    text-decoration: none;
    background: var(--red);
    color: white;
    padding: 0.5rem 1rem 0.35rem;
    display: inline-block;
    font-size: 0.75rem;
    line-height: 1.8rem;
    letter-spacing: .3rem;
    cursor: pointer;
    font-family: 'Nimbus Sans', sans-serif;
    font-weight: bold;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
}
img {display: block; max-width: 100%;}
a {color: var(--black);}

header {position: fixed; top: 0; left: 0; width: 100%; z-index: 60;}
header a {color: var(--black); text-decoration: none; padding: 1rem 1.25rem; display: inline-block;}
body:not(.home) header a::before {
    content: "";
    display: inline-block;
    width: 0; 
    height: 0; 
    border-top: 0.2rem solid transparent;
    border-bottom: 0.2rem solid transparent; 
    border-right: 0.2rem solid var(--black); 
    margin-right: 0.5rem;
}

.content {
    background: white;
    min-height: calc(100vh - 5.6rem); 
    max-width: 43rem; 
    margin: 2.8rem auto; 
    padding: 3rem 4rem 5rem; 
    box-shadow: 0 0 0.5rem rgba(0,0,0,0.1);
    position: relative;
    z-index: 80;
    font-size: clamp(15px, 4.2vw, 0.88rem);
    line-height: 1.5;
}
.content > * {margin-bottom: 1.5em;}
.content ul, .content ol {margin-left: 1em;}
.content li {padding: 0.25rem 0;}
.content > h1 {font-size: 1.52rem; padding-top: 2rem;}
.content > h2 {font-size: clamp(15px, 4.2vw, 0.88rem); font-weight: bold; padding-top: 3rem;}
.content > h1.p {font-size: clamp(15px, 4.2vw, 0.88rem); margin-bottom: 1.5em; padding: 0;}

.intro {padding: 5rem 0 7rem; text-align: center;}

.buttons {padding-top: 4rem; text-align: center;}
.buttons .button {margin: 0 0.25rem 0.5rem 0.25rem;}
.woordmerk {font-family: 'Mistral'; color: var(--red);}

.title {margin-bottom: 3rem; display: block; text-decoration: none;}
.title .woordmerk {font-size: 2rem;}
.title .smallcaps {margin-top: -0.1rem;}

.logo {text-align: left; display: inline-block;}
.logo .woordmerk {font-size: 4.5rem; margin: 0 0 0.5rem!important;}
.logo > div:not(.woordmerk) {text-align: left; font-size: 1.65rem; padding-left: 3.3rem;}
.logo > div:first-child {font-size: 2.3rem;}
body > .logo {position: fixed; bottom: calc(3rem + 9vh); left: calc(1.25rem + 3vw); z-index: 1;}

#title {
    font-family: 'Reenie Beanie';
    color: #555;
    letter-spacing: -0.05rem;
    font-size: 2rem;
    text-decoration: none;
    position: fixed;
    top: 11.75rem;
    right: calc(50vw + 23rem);
    z-index: 15;
    transform: rotate(-5deg);
    white-space: nowrap;
    pointer-events: none;
}

#img1 {top: 12vh; right: calc(50vw + (21.5rem - 12.5rem) + ((100vw - 43rem)/ 4)); transform: rotate(-0.75deg);}
#img1:hover {transform: rotate(-0.25deg) scale(1.1);}
#img2 {bottom: 10vh; left: calc(50vw + (21.5rem - 12.5rem) + ((100vw - 43rem)/ 4)); transform: rotate(2deg);}
#img2:hover {transform: rotate(1deg) scale(1.1);}
#video1 {top: 10vh; left: calc(50vw + (21.5rem - 9rem) + ((100vw - 43rem)/ 4)); transform: rotate(0deg); position: fixed; width: 18rem; height: 12rem;}
#video1 img {width: 18rem; height: 12rem; object-fit: cover; box-shadow: none;}
#video1:hover {transform: scale(1.1);}
.img {position: fixed; z-index: 3; height: 25rem; width: 25rem; transition: all 0.15s ease-in-out; display: flex; justify-content: center; align-items: center;}
.img img {max-width: 100%; max-height: 100%; width: auto; height: auto; filter: saturate(0) contrast(0.5) brightness(1.5); transition: all 0.15s ease-in-out; box-shadow: 0 0 0.5rem rgba(0,0,0,0.25);}
.img:hover img {filter: saturate(1) contrast(0.5) brightness(1.5);}

footer {position: fixed; bottom: 0; left: 0; width: 100%; display: flex; justify-content: space-between; z-index: 60;}
footer span {padding: 1rem 1.25rem; display: block;}

.bgtext {
    font-family: 'Mistral'; 
    color: var(--red);
    position: fixed;
    z-index: 0;
    font-size: 30rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%) rotate(10deg);
    opacity: 0.05;
    filter: saturate(0);
}

.archiveimg {display: block; position: relative;}
.archiveimg.video::before,
.archiveimg.video::after {
    content: "";
    width: 5rem;
    height: 4rem;
    top: 50%; 
    left: 50%;
    transform: translate(-50%,-50%);
    background: var(--black);
    position: absolute;
    z-index: 8; 
}
.archiveimg.video::after {
    width: 0;
    height: 0;
    border-top: 1rem solid transparent;
    border-bottom: 1rem solid transparent;
    border-left: 1.52rem solid white;
    transform: translate(-40%,-50%);
}
.archiveimg.fotos::before,
.archiveimg.fotos::after {
    content: "<";
    font-size: 2rem;
    top: 50%; 
    left: 0.5rem;
    transform: translateY(-50%) scaleY(1.3);
    position: absolute;
    color: white;
}
.archiveimg.fotos::after {
    content: ">";
    left: auto;
    right: 0.5rem;
}

@media (max-width: 1800px) {
    .img {display: none;}
}
@media (max-height: 900px) {
    .img {display: none;}
}
@media (max-width: 800px) {
    body {background: white;}
    .content {padding: 0rem 1.25rem 2rem; background: transparent; box-shadow: none; margin-top: 0; min-height: 0;}
    .title {margin-bottom: 4rem;}
    .intro {padding: 4rem 0 5rem;}
    header, footer {position: relative;}
    .img, .bgtext, body > .logo {display: none;}
}
@media (max-width: 600px) {
    footer > span:nth-child(1) {display: none;}
    .logo .woordmerk {font-size: 14.85vw;}
    .logo > div:not(.woordmerk) {font-size: 5.445vw; padding-left: 10.89vw;}
    .logo > div:first-child {font-size: 7.59vw;}
}