:root {
  
  --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  --font-josefin: "Josefin Sans", Helvetica, Arial, sans-serif;
  --font-code: "Cascadia Code", "Fira Code", Monaco, Consolas, monospace;

  --color-grey-blue: rgb(53, 62, 72);
  --color-grey-blue-lighten-40: #97a4b2;
  --color-grey-blue-lighten-50: #b4bdc8;

  
  --color-interactive: #d57e85;
  --color-code: #69a9a7;
  --color-code-background: #fbfbfb;
  --color-info: #7297b9;
  --color-warn: #dcb16c;

  --breakpoint-desktop-content-max-width: 36em;

  --selection-background: rgba(
    213,
    126,
    133,
    0.24
  ); 
}




@font-face {
  font-family: "Josefin Sans";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  
  src: local("Josefin Sans Light"), local("JosefinSans-Light"), url("/assets/fonts/josefin-sans_300_latinext.woff2") format("woff2");
  
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


@font-face {
  font-family: "Josefin Sans";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  
  src: local("Josefin Sans Light"), local("JosefinSans-Light"), url("/assets/fonts/josefin-sans_300_latin.woff2") format("woff2");
  
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


@font-face {
  font-family: "Josefin Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  
  src: local("Josefin Sans Regular"), local("JosefinSans-Regular"), url("/assets/fonts/josefin-sans_400_latinext.woff2") format("woff2");
  
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


@font-face {
  font-family: "Josefin Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  
  src: local("Josefin Sans Regular"), local("JosefinSans-Regular"), url("/assets/fonts/josefin-sans_400_latin.woff2") format("woff2");
  
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


@font-face {
  font-family: "Josefin Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  
  src: local("Josefin Sans Bold"), local("JosefinSans-Bold"), url("/assets/fonts/josefin-sans_700_latinext.woff2") format("woff2");
  
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


@font-face {
  font-family: "Josefin Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  
  src: local("Josefin Sans Bold"), local("JosefinSans-Bold"), url("/assets/fonts/josefin-sans_700_latin.woff2") format("woff2");
  
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}



* {
  border: 0;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

::selection {
  background: var(--selection-background);
}

::-moz-selection {
  background: var(--selection-background);
}

html {
  font-size: 125%;
}

body {
  background: #fff;
  color: var(--color-grey-blue);
  font-family: var(--font-system);
  font-weight: 300;
  line-height: 1.4;
  
  -webkit-text-size-adjust: 100%;
}

p {
  margin: 0 auto 1.5em;
  line-height: 1.5;
}

strong,
b {
  font-weight: 400;
}

em,
i {
  font-style: italic;
}

img {
  display: block;
  margin: 2em auto;
  max-width: 100%;
}

a {
  color: var(--color-interactive);
  text-decoration: none;
  &:hover,
  &:focus {
    outline: none;
    text-decoration: none;
    border-bottom: 2px solid var(--color-interactive);
  }
}

ul,
ol {
  margin: 0 auto 1.6em;
  padding: 0 0 0 2.8em;
  p {
    margin: 0;
  }
  ul,
  ol {
    
    margin: 0.3em 0 0;
  }
  li {
    margin: 0 0 0.2em;
  }
}

ul li {
  list-style-type: disc;
}

hr {
  border-bottom: 1px solid var(--color-grey-blue-lighten-50);
  display: block;
  height: 0;
  margin: 2em auto;
  width: 10em;
  &.long {
    width: 100%;
  }
}

h1 {
  font-family: var(--font-josefin);
  line-height: 1.1;
  font-size: 2em;
  margin: 0 auto 1.5em;
  font-weight: 400;
}

h2 {
  font-size: 1.4em;
  margin: 1.6em auto 0.6em;
  font-weight: 300;
}

h3 {
  font-size: 1.2em;
  margin: 0 auto 0.5em;
  font-weight: 300;
}

h4 {
  font-size: 1.1em;
  margin: 0 auto 0.25em;
  font-weight: 300;
}

h5 {
  margin: 0 auto 0.25em;
  font-weight: 300;
}

h6 {
  font-weight: 300;
  margin: 0 auto 0.25em;
}

blockquote {
  color: var(--color-grey-blue-lighten-40);
  font-size: 1.1em;
  font-style: italic;
  margin: 0 auto;
  padding: 0 1em;
  line-height: 1.5;
}