@font-face {
    font-family: 'Merriweather';
    src: url('/longreads/fonts/Merriweather-Regular.woff2') format('woff2');
    font-weight: normal;
    font-display: swap;
}


:root {
    --main-bg-color: #FFF;
    --main-text-color: #272421;
    --mood-color: #ecde95;
    --mood-color2: #0c327b;
    --mood-color3: #fcc6cd;
    --font-sans: Roboto, Oxygen-Sans, Ubuntu, Cantarell,
        "Helvetica Neue", sans-serif;
    --font-serif: 'Merriweather', Georgia, serif;
}

body {
    margin: 0;
    padding: 0;
    color: var(--main-text-color);
    font-size: 16px;
    font-size: min(max(16px, 2.1vw), 18px);
    line-height: 1.2;
    text-rendering: optimizeLegibility;

}

::selection {
    background: #fcc6cd;
    color: #272421;
}

:focus {
    outline: 2px dotted hotpink;
}

h1,
h2,
h3 {
    color: var(--mood-color2);
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
    font-size: clamp(2rem, 5vw, 2.5rem);
    line-height: 1.3;
}

h2 {
    font-size: 2rem;
    font-size: clamp(1.8rem, 5vw, 2rem);
}

h3 {
    font-size: 1.8rem;
    font-size: clamp(1.6rem, 5vw, 1.8rem);

}

h1,
h2,
h3 {
    font-family: var(--font-sans);
}

img {
    max-width: 100%;
}

a {
    color: var(--mood-color2);
    text-decoration-thickness: 2px;
}

a:hover {
    text-decoration-thickness: 1px;
}

.container {
    max-width: 720px;
    margin: 0 auto;
}

.container,
.jumbotron {
    padding: 0 2%;
}


.jumbotron {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
}

.jumbotron img {
    object-fit: contain;
    grid-column: span 6;
}

.jumbotron h1 {
    grid-column: span 5;
    text-align: center;
}

.jumbotron span {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-size: clamp(.9rem, 5vw, 1rem);
    grid-column: 2 / 12;
    text-align: end;
    justify-self: end;
    margin-top: -20%;
}

article .intro {
    font-weight: bold;
}

article h2 {
    background: -webkit-linear-gradient(var(--mood-color2), #892598);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

article h2.quote {
    font-style: italic;
}

article p {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-size: clamp(1rem, 5vw, 1.2rem);
    line-height: 1.6;
    letter-spacing: -.01em;
    margin-bottom: 1.1rem;
    margin-block-start: 1em;
    margin-block-end: 1em;
}

article .naschrift-blokken {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2em;
    align-items: baseline;
    margin-left: -30%;
    margin-right: -30%;
}

article .reactie {
    background-color: var(--mood-color);
    padding: 2%;
    border: 2px dashed #f98f06;
}

article .naschrift {
    background-color: #e9bbf0;
    padding: 2%;
    border: 2px dashed #df0aff;
}

article .reactie h3,
article .naschrift h3 {
    font-size: 1.4rem;
    font-size: clamp(1.2rem, 5vw, 1.4rem);
}

article .reactie p,
article .naschrift p {
    font-family: var(--font-sans);
    font-size: 1.1rem;
}

/* responsive */

@media screen and (width <=968px) {

    .jumbotron {
        display: block;
    }

    .jumbotron span {
        margin: 5% 0;
        display: block;
    }

    article .naschrift-blokken {

        display: block;
        margin: 0;
    }

    article .reactie {
        margin-bottom: 5%;
    }

}