body {
    font-family: 'Trebuchet MS', sans-serif;
    font-size: 13px;
    padding: 30px;
    text-align: center;
  }

  /* dark mode */
  /* body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 13px;
    padding: 30px;
    background: #353535;
    fill: #fff;
    color: #fff;
    text-align: center;
  } */

svg{
  display: block;
  margin: auto;
}

/* chart stuff */
.axis-title {
  font-size: 14px;
  fill: #888;
}

#scatterplot {
  padding: 8px;
}

.inline {
  display: inline-block;
  padding: 8px;
}

.histogram {
  text-align: center;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.map {
  text-align: center;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#state-borders {
  fill: none;
  stroke: #fff;
  stroke-width: 1.5px;
  stroke-linejoin: round;
  stroke-linecap: round;
  pointer-events: none;
}

/* .parent {
  display: grid;
  grid-template-columns: 1fr 1fr
} */

/* Tooltip */
#tooltip {
    position: absolute;
    display: none;
    background: #fff;
    box-shadow: 3px 3px 3px 0px rgb(92 92 92 / 0.5);
    border: 1px solid #ddd;
    font-size: 12px;
    font-weight: 500;
    padding: 8px;
    min-width: 160px;
    color: #333;
  }
  .tooltip-title {
    color: #000;
    font-size: 14px;
    font-weight: 600;
  }
  #tooltip ul {
    margin: 5px 0 0 0;
    padding-left: 20px;
  }
  
  /* Legend */
  .legend {
    margin: 0px 0;
    list-style: none;
    padding: 0;
  }

  .legend li {
    display: inline-block;
    margin: 0 20px 0 0;
  }

  .legend-e {
    width: 12px;
    height: 12px;
    margin-right: 3px;
    display: inline-block;
  }

  .legend-e.urban {
    background: #0d306b;
  }
  .legend-e.suburban {
    background: #3a588b;
  }
  .legend-e.small-city {
    background: #99b3cf;
  }
  .legend-e.rural {
    background: #cfe2f2;
  }