body {
	font-family: 'Lato', helvetica, sans-serif;
  background-color: #fafafa;
}

h1 {
  position: fixed;
  color: #545454;
  left: 30vw;
}

#graphic {
  padding-top: 60px;
  margin-top: 8em;
}

#sections {
  position: relative;
  display: inline-block;
  width: 250px;
  top: 0;
  z-index: 90;
  padding-bottom: 200px;
}

.step {
  margin-bottom: 200px;
  font-size: 16px;
  line-height: 23px;
  color: #767678;
}

.step p {
  font-size: 1.2em;
}

#sections .title {
  font-family: 'Lato', Helvetica, sans-serif;
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 2px;
  color: #262626;
  line-height: 1.2em;
}

#extra-space {
  height: 300px;
}

#vis {
  display: inline-block;
  position: fixed;
  top: 60px;
  z-index: 1;
  margin: 2em 0 2em 6em;
  width: 50%;
}

#vis .title {
  font-size:70px;
  text-anchor: middle;
}

#vis .sub-title {
  font-size:40px;
  text-anchor: middle;
}

.axis path, .axis line {
  fill: none;
  stroke: #666;
  shape-rendering: crispEdges;
}

.highlight {
  fill: #008080;
  font-weight: bold;
}

rect.legend{
  fill-opacity: .7;
}

text.tree-num {
  fill: #3f3f3f;
}

text.tree-text {
  fill: #3f3f3f;
}

text.top-text {
  font-size: 1.3em;
}

circle.top {
  stroke: black;
  stroke-width: 2;
  fill-opacity: .7;
}

text.legend-text {
  font-size: 1.2em;
}

text.bar-text {
  font-size: 1.3em;
}

#x-label {
  font-size: 1.4em;
}

rect.fast {
  fill: steelblue;
}

rect#China {
  fill: #cc0000;
  fill-opacity: .7;
}

rect#United-States{
  fill: #002868;
  fill-opacity: .7;
  opacity: .1;
}

@media screen and (max-width: 992px) {
  #vis {
    margin-left: 2em;
    width: 55%;
  }

  h1 {
    left: 20vw;
  }

  #sections {
    display: block;
    padding-top: 190px;
    padding-bottom: 100px;
    margin: 0 auto;
  }

  #sections .title {
    font-size: 1em;
  }

  .step p {
    font-size: 1em;
  }
}

@media screen and (max-width: 768px) {
  #vis {
    width: 80%;
    margin-left: 1em;
    top: 30px;
  }

  #sections {
    display: block;
    margin: 0 auto;
    padding-bottom: 50px;
    padding-top: 200px;
  }

  #sections .title {
    font-size: 1em;
  }

  .step p {
    font-size: 1em;
  }

  h1 {
    font-size: 2em;
    text-align: center;
    left: 20vw;
  }
}

@media screen and (max-width: 640px) {
  #vis {
    width: 80%;
    margin-left: 1em;
  }

  #sections {
    display: block;
  }

  #sections .title {
    font-size: 1em;
  }

  .step p {
    font-size: 1em;
  }

  h1 {
    left: 20vw;
  }
}

@media screen and (max-width: 480px) {
  #vis {
    width: 100%;
    /*margin-left: 1em;*/
  }

  #sections {
    display: block;
    padding-top: 100px;
    padding-bottom: 150px;
  }

  #sections .title {
    font-size: 1em;
  }

  .step p {
    font-size: 1em;
  }

  h1 {
    left: 0;
  }

  @media screen and (min-width: 320px) and (max-width: 479px) {
  #vis {
    width: 80%;
    margin-left: 1em;
  }

  #sections {
    display: block;
    padding-top: 100px;
  }

  #sections .title {
    font-size: 1em;
  }

  .step p {
    font-size: 1em;
  }

  h1 {
    left: 5vw;
    margin: .4em;
    font-size: 1.8em;  
  }
}