/* //font from https://www.dafont.com/vic-fieger.d852?text=Verbeter+je+wereld%2C+doe+iets%21 */
@font-face { 
    font-family: 'Edo';
    src: url('/longreads/fonts/edosz.woff2') format('woff2'),
        url('/longreads/fonts/edosz.woff') format('woff');
    font-weight: normal;
    font-display: swap;
}

:root {
    --main-bg-color: #c2c1ad;
    --main-text-color: #282b35;
    --second-color: #324957;
    --third-color: #a4352c; 
    --font-brush: "Edo", Helvetica, Arial, sans-serif;
    --font-header: 'Arial Black', Helvetica, Arial, sans-serif;
    --font-sans: 'PT Sans', 'Gill Sans', Helvetica, Arial, sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--main-bg-color);
    color: var(--main-text-color);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.3;
}

:focus {
    outline: 2px dotted var(--third-color);
}

::selection {
    background-color: var(--second-color);
    color: #FFF;
}


.jumbotron {
    margin: 0 auto;
    max-width: 1024px;
    margin-bottom: 20px;
}

.jumbotron h1 {
    font-family: var(--font-header);
    color: var(--third-color);
    font-size: 5rem;
    font-size: clamp(3rem, 10vw, 5rem);
}


.container {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 2% 0 2.5%;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

strong, b {
    font-weight: bold;
}

em, i {
    font-style: italic;
}

h1, h2, h3 {
    font-family: var(--font-header);
    font-weight: bold;
}

a {
    color: var(--second-color);
    text-decoration-style: solid;
    text-decoration-color: var(--second-color);
    text-decoration-thickness: 2px;
}

a:hover {
    text-decoration-color: var(--second-color);
    background-color: #FFF;
}

.right {
    float: right;
    margin-right: -100px;
    padding: 0 0 50px 30px;
}

.left {
    float: left;
    margin-left: -100px;
    padding: 0 30px 50px 0;
}

@media screen and (max-width: 800px) {
    .right,
    .left { float: none; }

    .right {
        margin-right: 0;
    }
    .left {
        margin-left: 0;
    }
}

.center {
    margin: 0 auto;
}

article {
    margin-bottom: 10%;
}


article img.featured {
        /* border */
        padding: 10px;
        background-color: beige;
        border: 1px solid darkgray;
}

.intro p {
    font-size: 1.5rem;
    font-size: clamp(1.2rem, 5vw, 1.5rem);
    font-weight: bold;
    color: var(--second-color);
}

article p {
    font-size: 1.2rem;
    font-size: clamp(1rem, 5vw, 1.2rem);
}

article h3 {
    font-size: 1.8rem;
    font-size: clamp(1.4rem, 5vw, 1.8rem);
    color: var(--third-color);
    margin-bottom: -10px;
}

article blockquote {
    font-family: var(--font-brush);
    color: var(--second-color);
    max-width: 300px;
}

article blockquote p {
    font-size: 1.8rem;
    font-size: clamp(1.5rem, 5vw, 2rem);
}

@media screen and (max-width: 800px) {

    article blockquote {
        max-width: max-content;
    }

}

article blockquote span {
    background-color: var(--second-color);
    color: #FFF;
}

.credits {
    background: linear-gradient(#324957 5px, transparent 5px);
    background-size: 9em 1em;
    background-repeat: no-repeat;
    background-position: top left;
    padding-left: 2%;
    padding-top: 2%;
}

.credits p {
    font-size: 1.1rem;
    font-size: clamp(1rem, 5vw, 1.1rem);
}