/* FONTS */
/* ----------------------------------------------------- */

/* Basteleur-Bold*/
@font-face  {
    font-family: 'Basteleur-Bold';
    src: url('Basteleur-Bold.eot');
    src: url('Basteleur-Bold.eot?#iefix') format('embedded-opentype'),
         url('Basteleur-Bold.woff2') format('woff2'),
         url('Basteleur-Bold.woff') format('woff'),
         url('Basteleur-Bold.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
}
/* Basteleur-Moonlight*/
@font-face  {
  font-family: 'Basteleur-Moonlight';
  src: url('Basteleur-Moonlight.eot');
  src: url('Basteleur-Moonlight.eot?#iefix') format('embedded-opentype'),
       url('Basteleur-Moonlight.woff2') format('woff2'),
       url('Basteleur-Moonlight.woff') format('woff'),
       url('Basteleur-Moonlight.ttf') format('truetype');
  font-style: normal;
  font-weight: normal;
}

/* FT88 Regular */
@font-face  {
    font-family: 'FT88';
    src: url('FT88-Regular.eot');
    src: url('FT88-Regular.eot?#iefix') format('embedded-opentype'),
         url('FT88-Regular.woff2') format('woff2'),
         url('FT88-Regular.woff') format('woff'),
         url('FT88-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
}
/* FT88 Italic */
@font-face  {
    font-family: 'FT88';
    src: url('FT88-Italic.eot');
    src: url('FT88-Italic.eot?#iefix') format('embedded-opentype'),
         url('FT88-Italic.woff2') format('woff2'),
         url('FT88-Italic.woff') format('woff'),
         url('FT88-Italic.ttf') format('truetype');
    font-style: italic;
    font-weight: normal;
}


/* CSS RESETS */
/* ----------------------------------------------------- */

*   {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html    {
    margin: 0;
    padding: 0;
    width: 100%;
}

body    {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

img {
    display: block; 
    margin: 0 auto;
    max-width: 100%;
}

h1,h2,h3,h4 {
  margin: 0;
  padding: 0;
  font-weight: normal;
}


/* FONTS ONLY */
/* ----------------------------------------------------- */

html {
    font-family: 'FT88', monospace;
    letter-spacing: -0.05rem;
    font-size: 18px;
}

h2 {
  font-family: 'Basteleur', serif;
  font-size: 1.2rem;
}

body > aside {
  font-size: 0.8em;
}


/* POPUP STYLING */
/* ----------------------------------------------------- */

#openPopup {
  position: fixed;
  top: 25px;
  right: 25px;
  width: 30px;
  height: 30px;
  outline: 0;
  border: 0;
  border-radius: 50%;
  background-color: white;
}

#popupCover {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  opacity: 80%;
  background-color: lightgray;
}

#popup {
  font-family: 'Basteleur-Moonlight';
  font-size: 0.8rem;
  width: 400px;
  min-width: 250px;
  max-width: 100vw;;
  position: fixed;
  height: calc(100vh - 50px);
  overflow-y: auto;
  top: 25px;
  right: 25px;
  border: 1px solid black;
  padding: 15px;
  background-color: white;
  z-index: 20;
  letter-spacing: 0;
}

#popup > ol {
  margin-left: 1rem;
  padding-left: 1em;
}
#popup > ol li {
  margin-bottom: 10px;
}

#popup > ul {
  margin-left: 0;
  padding-left: 1em;
}