/* progress bar style */

#progress {
  width: 85%;
  margin: 2% auto;
  background-color: #fff;
  border: 1px solid #000;
}
#bar {
  width: 1%;
  height: 30px;
  background-color: green;
  color: #000;
}

#progressCaption {
  font-size: 1em;
  width: 85%;
  margin: 2% auto 5%;
  text-align: left;
}

/* chart styles */

.chart {
  width: 100%;
  display: grid;
  max-width: 400px;
  gap: 1em;
  grid-template-rows: min-content minmax(0, 1fr) min-content;
  grid-template-columns: 1fr minmax(0, 3fr);
  grid-template-areas:
    'a h'
    'a c'
    'a f';
  /* height: calc(100vh - 2em); */
  /*width: calc(100vw - 2em);  not necessary, but just to be explicit */
  height: auto;
  margin: 1em;
  border-radius: 10px;
  margin: 5%;
  background-color: #fff;
}
.chart div {
  grid-column: 1/4;
  grid-row: 2/3;
}
.chart h3 {
  background: var(--color-1);
  color: #191a1a;
  line-height: 1.3;
  padding: 0.2em;
  text-align: center;
  grid-row: 1/2;
  grid-column: 1/4;
  text-align: center;
}
#legend-container {
  width: 80%;
  margin: 0% auto 5%;
}
#legend-container > ul {
  flex-direction: column !important;
}
#legend-container > ul > li {
  align-items: start;
  margin-top: 8px;
}

#legend-container > ul > li > p {
  font-size: 0.75em !important;
  line-height: 1.15em;
}
