@font-face {
    font-family:'Allura';
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    font-display: swap;
    unicode-range: U+0020-FB06;
    src: local('Allura'),
        url('/fonts/Allura.woff2') format('woff2'),
        url('/fonts/Allura.woff') format('woff');
}

@font-face {
    font-family:'Source Sans Pro Light';
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    font-display: swap;
    unicode-range: U+0020-1F16B;
    src: local('Source Sans Pro Light'),
        url('/fonts/Source Sans Pro Light.woff2') format('woff2'),
        url('/fonts/Source Sans Pro Light.woff') format('woff');
}

@font-face {
    font-family:'Source Sans Pro Semibold';
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    font-display: swap;
    unicode-range: U+0020-1F16B;
    src: local('Source Sans Pro Semibold'),
        url('/fonts/Source Sans Pro Semibold.woff2') format('woff2'),
        url('/fonts/Source Sans Pro Semibold.woff') format('woff');
}

@font-face {
    font-family:'Source Sans Pro Light';
    font-weight: 300;
    font-style: italic;
    font-stretch: normal;
    font-display: swap;
    unicode-range: U+0020-FEFF;
    src: local('Source Sans Pro Light Italic'),
        url('/fonts/Source Sans Pro Light Italic.woff2') format('woff2'),
        url('/fonts/Source Sans Pro Light Italic.woff') format('woff');
}

@font-face {
    font-family:'Playfair Display';
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    font-display: swap;
    unicode-range: U+000D-FB02;
    src: local('Playfair Display'),
        url('/fonts/Playfair Display.woff2') format('woff2'),
        url('/fonts/Playfair Display.woff') format('woff');

}
@font-face {
    font-family:'Playfair Display';
    font-weight: 400;
    font-style: italic;
    font-stretch: normal;
    font-display: swap;
    unicode-range: U+000D-FB02;
    src: local('Playfair Display Italic'),
        url('/fonts/Playfair Display Italic.woff2') format('woff2'),
        url('/fonts/Playfair Display Italic.woff') format('woff');
}

/* Typography */
body {
    font-size: 18px;
}

pre {
    font-size: 15px;
}

.contentblok table,
.contentblok li,
.contentblok p {
    font-family: 'Source Sans Pro Light', sans-serif;
    font-size: 100%;
}

.contentblok table strong,
.contentblok li strong,
.contentblok p strong {
    font-family: 'Source Sans Pro Semibold', sans-serif;
}

.contentblok > h1,
.contentblok > h2,
.contentblok > h3 {
    margin-top: 0;
}

.contentblok h1,
.contentblok h2,
.contentblok h3 {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 200;
}

.contentblok h1 {
    color: indigo;
    font-size: 2.3rem;
    font-weight: 700;
}

.contentblok h2 {
    color: indigo;
    font-size: 2.1rem;
}

.contentblok h3 {
    font-size: 1.5rem;
    margin: 0 0 -0.5em 1em;
}

.contentblok h4 {
    color: indigo;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 100;
    margin: 0 0 -0.5em 3em;
}

@media (max-width: 500px) {
    body {
        font-size: 16px;
    }
    .contentblok h1 {
        font-size: 1.8rem;
    }
    .contentblok h2 {
        font-size: 1.6rem;
    }
    .contentblok h3 {
        font-size: 1.3rem;
    }


}
/* general */

* {
  scroll-behavior: smooth;
  box-sizing: border-box;
}

html { /* sticky footer */
  height: 100%;
}

body {
    -webkit-transition: .7s;
    transition: .7s;
    background-size: calc(100vw) calc(100vh);
    background-size: cover;
}

body {
    height: 100%; /* sticky footer */
}

#background {
  min-height: 100%;
}

@media (max-width: 500px) {
    body {
        background-size: cover;
    }
}

body {
  font-weight: 300;
  margin: 0;
  padding: 0;
}

a, .link {
  text-decoration: none;
  color: #108db8;
  cursor: pointer;
}

img {
  max-width: 100%;
}

.content {
    display: flex;
    flex-direction: row-reverse;
    margin: 0 auto;
    max-width: 1100px;
    min-height: calc(100% - 30px); /* sticky footer */
    padding: 20px 0 30px;
}

.content main {
    margin: 0 30px;
    width: calc(65% - 30px);
}

/* .content header {
    position: sticky;
    margin: 0 30px 0 0;
    width: calc(35% - 60px);
    min-width: 360px;
} */

@media (max-width: 1020px) {
    .topright {
        min-width: 330px;
    }
}

@media (max-width: 1020px) {
    #background .content {
        flex-direction: column;
        max-width: 700px;
    }

    #background .content main,
    #background .content > header {
        margin: 5px 10px;
        width: calc(100% - 20px);
    }
}

.contentblok {
    -webkit-transition: 1s;
    transition: 1s;
}
