html, body {
  margin: 0;
  background:#f0f0f0 ;
  color:#000000;
}
a, li > a {
  text-decoration: underline;
}

main {
    align-items: center;
  margin: 0 auto;
    display: flex;
    flex-direction: column;
    position: relative;
  margin: 0 auto;
}
#container {
    max-width: 700px;
    margin: 0 auto;
}
h1 {
    margin-top: 2em;
    /* background: #8087ff; */
    /* color: white; */
    display: inline-block;
    max-width: 900px;
    padding: 5px 20px;
    text-align: center;
    /* font-family: 'Space Mono', monospace; */
    font-family: 'Courier Prime', monospace;
    font-size: 52px !important
  }
.container h2 {
    text-align: center;
    padding-top: 20px;
    margin: 20px;
    font-family: 'Courier Prime', monospace;
    font-style: italic;
    color: #67645e;
    font-size: .7em;
    font-weight: 600;
}
.container h3 {
  text-align: center;
  font-family: 'Source Sans Pro', sans-serif;
}
.text.section{
    max-width: 700px;
    padding: 10px !important;
    /* font-family: 'Noto Sans', sans-serif; */
    font-family: 'Source Sans Pro', sans-serif;
    /* font-family: 'Lato', sans-serif; */
    font-size:16px;
    font-weight: 400;
}
#webgl-viz {
    position: sticky;
    /* top: 5rem; */
}
/* my scrolly stuff (from mitch)*/
/* article {
    align-items: flex-end; 
    display: flex;
    flex-direction: column;
    position: relative;
}  */
.step {
    margin: 0;
    margin-bottom: 70vh;
    position: relative;
    z-index: 20;
  background-color: rgba(240,240,240,0.75);
  color:black;
  transform: translate3d(0,0,0);
}
.step p {
    max-width: 500px;
  padding: 20px;
  font-family: 'Courier Prime', monospace;
  color: #67645e;
  font-size: 14px;
  font-weight: 200;
}
#scrolly {
    position: relative;
    /* display: -webkit-box;
    display: -ms-flexbox; */
    display: flex;
    padding: 30px;
    /* margin-top: 10px;
    margin-bottom: 10px; */
    transform: translate3d(0,0,0);

  } 
  #scrolly > * {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
  }
  article {
    position: relative;
    max-width: 30rem;
  }
  .sticky-thing {
    position: -webkit-sticky;
    position: sticky;
    width: 100%;
    /* left: 0; */
    /* margin: 5 em; */
    padding: 0 5rem;
    background-color:#f0f0f0 ;
    z-index: 0;
    top: 0;
    height: 100vh;
    /* Center everything inside */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  .sticky-thing p {
    position: sticky;
    padding: 10px;
    margin-bottom: 2rem;
    justify-content: center;
    font-family: 'Courier Prime', monospace;
    color: #67645e;
    font-weight: 400;
    font-size: large;
  }
  .step.last-child {
    margin-bottom: 0;
  }
  .hidden { visibility: hidden; }
      /* When it's less than 700 pixels wide, do normal scrollytelling */
    /* still need to work this out*/
      @media only screen and (max-width: 700px) {
        #scrolly {
            /* display: flex; */
          display: block !important;
          max-width: 350px;
      /* display: -webkit-box;
      display: -ms-flexbox; */
        }
    #scrolly > article {
      margin: 0 auto;
      padding-left: 0;
      max-width: 350px;
    }
        #scrolly > div {
            flex-basis: 0;
            flex-grow: 1;
            flex-shrink: 1;
            padding: 0.75em;
        }
        #scrolly .scrolly-overlay {
            margin-top: 60vh;
            order: 0;
            /* Change these to adjust sizing options */
            /* min-width: 15rem; */
            max-width: 350rem;
            z-index: 1 !important;
            position: relative;
            transform: translate3d(0,0,0);
        }

        #scrolly .sticky-thing {
            order: 0;
            flex-grow: 2;
            max-width: 350px;
            z-index: 0 !important;
        }

        .sticky-thing p.top {
          min-width: 350px;
          font-size: 14px;
          text-align: center;
        }

        .sticky-thing p {
          font-size: 10px;
        }

        canvas{
          width: 300px !important;
          height: 300px !important;
        }
  }
  /* getting the SVG to show up */
  .graphic{
    max-width: 800px;
    padding: 3rem;
    margin: 0, auto;
  }
  .graphic p {
    text-align: center;
    padding: 2rem;
    font-family: 'Courier Prime', monospace;
    color: #67645e;
    font-weight: 400;
    font-size: large;
  }
  
  .svg {
    width: 100%;
  }
  .github {
    padding-bottom: 3em;
  }


  /* mobile */
  @media (max-width:750px) {
    main > #text {
      width: 90%;
  }
  h1 {
    font-size: 32px !important;
  }

  h2{
    font-size: .5em;
  }


  }