@import "../_assets/reveal.js/css/theme/black.css";
@import "../_assets/fonts/Rajdhani/index.css";
@import "../_assets/styles/quote.css";

.reveal h1,
.reveal h2,
.reveal h3,
.reveal h4,
.reveal h5,
.reveal h6,
.reveal {
  font-family: "Rajdhani", sans-serif;
}

.reveal td {
  vertical-align: top;
}

.election-results {
  height: 500px;
  margin: 0 auto !important;
  padding: 10px 50px 30px 50px !important;
  background: #e8d499;
  color: #3e3e3e;
}

.election-results .bars,
.election-results .legend {
  display: flex;
}

.election-results .year {
  height: 10%;
}

.election-results .bars {
  height: 85%;
}

.election-results .legend {
  height: 5%;
}

.bar {
  flex: 1;
  align-self: flex-end;
  transition: all .2s ease;
}

.legend-item {
  flex: 1;
  font-size: 0.7em !important;
}

.legend-item .result::after {
  content: ' %';
}

.legend-item .party::after {
  content: ': ';
}

div.slides section:last-child section {
  font-size: 0.75em;
}
