* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  background-color: #151515;
  padding-top: 100px;
  width: 100%;
  overflow-x: hidden;
}
#root {
  padding-top: 30px;
  padding-bottom: 20px;
}
#header {
  margin: auto;
  max-width: 700px;
  text-align: center;
  margin-bottom: 80px;
}
#header h1 {
  font-family: termina, sans-serif;
  color: #FED34F;
  font-size: 50px;
  line-height: 60px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 10px;
}
#header h2 {
  font-family: termina, sans-serif;
  color: #E8EDDF;
  font-size: 20px;
  line-height: 30px;
  font-weight: bold;
}
.controls {
  width: 100%;
  background-color: #151515;
  height: 70px;
  position: -webkit-sticky;
  position: sticky;
  z-index: 99;
  top: 0;
  transition: box-shadow 0.3s ease;
}
.controls .center {
  display: inline-block;
  position: absolute;
  left: 50%;
  top: 50%;
  white-space: nowrap;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
.controls.stuck {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}
.words-wrap {
  padding-top: 15px;
}
.word {
  color: #E8EDDF;
  font-size: 14px;
  font-weight: medium;
  display: inline-block;
  padding: 5px 10px;
  font-family: neue-haas-grotesk-text, sans-serif;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.text-input {
  background-color: #262626;
  color: #E8EDDF;
  font-family: neue-haas-grotesk-text, sans-serif;
  padding: 12px 15px;
  border: none;
  font-size: 16px;
  outline: none;
  box-shadow: inset 0 4px 15px rgba(0, 0, 0, 0.3);
}
.dropdown {
  background-color: #262626;
  color: #878982;
  font-family: neue-haas-grotesk-text, sans-serif;
  text-transform: uppercase;
  padding: 12px 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  display: inline-block;
  margin-right: 15px;
  font-size: 16px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  position: relative;
  cursor: pointer;
}
.dropdown.selected {
  color: #E8EDDF;
}
.dropdown__list {
  position: absolute;
  left: 0;
  background-color: #262626;
  top: calc(100% + 15px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  min-width: 100%;
  padding: 12px 15px;
  max-height: 300px;
  overflow-y: auto;
}
.dropdown__list .option {
  padding: 5px 0;
  color: #878982;
}
.dropdown__list .option:hover {
  color: #E8EDDF;
}
.dropdown__list .option.selected {
  color: #FED34F;
}
.range {
  display: inline-block;
  width: 150px;
}
.range .rc-slider-track,
.range .rc-slider-track-1,
.range .rc-slider-rail {
  height: 4px;
  border-radius: 0;
}
.range .rc-slider-handle {
  position: absolute;
  margin-left: -4px;
  margin-top: -5px;
  width: 8px;
  height: 14px;
  cursor: pointer;
  cursor: -webkit-grab;
  cursor: grab;
  border-radius: 0;
  border: none;
  background-color: gray;
  touch-action: pan-x;
}
.range .rc-slider-rail {
  background-color: black;
}
.range .rc-slider-track,
.range .rc-slider-track-1 {
  background-color: #FED34F;
}
#text {
  margin: auto;
  max-width: 450px;
  padding: 0 5px;
}
#text p {
  font-family: 'IBM Plex Serif', serif;
  font-size: 18px;
  color: #E8EDDF;
  line-height: 26px;
  margin-bottom: 13px;
}
#text p:last-of-type {
  margin-bottom: 50px;
}
#text p a {
  color: #E8EDDF;
}
#text p .highlight {
  font-family: neue-haas-grotesk-text, sans-serif;
  color: #FED34F;
  font-weight: 500;
  font-size: 17px;
}
#legend {
  display: block;
  margin: auto;
  width: 350px;
  position: relative;
  left: 35px;
}
.block-quote {
  font-size: 22px;
  font-family: 'IBM Plex Serif', serif;
  color: #666B5F;
  font-style: italic;
  margin-bottom: 44px;
}
.block-quote .attribution {
  font-family: neue-haas-grotesk-text, sans-serif;
  font-style: normal;
  font-size: 16px;
  text-align: right;
  font-weight: 500;
  margin-top: 6px;
}
.tooltip {
  width: 450px;
  max-width: 95%;
  background-color: #262626;
  pointer-events: none;
  z-index: 9999;
  padding: 20px;
  position: relative;
  border: 1px solid #666B5F;
}
.tooltip h2 {
  color: #E8EDDF;
  font-family: neue-haas-grotesk-text, sans-serif;
  font-weight: bold;
  text-transform: capitalize;
  font-size: 22px;
  margin-bottom: 16px;
}
.tooltip h2 .score {
  color: #FED34F;
  font-weight: normal;
  margin-left: 20px;
}
.tooltip .sample {
  font-family: 'IBM Plex Serif', serif;
  color: #666B5F;
  margin-top: 12px;
  font-size: 16px;
  line-height: 22px;
}
.tooltip .sample .bright {
  color: #E8EDDF;
}
.tooltip .sample .relevant-word {
  font-family: neue-haas-grotesk-text, sans-serif;
  color: #FED34F;
  font-weight: bold;
}
.tooltip .distribution {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 120px;
  height: 22px;
  opacity: 0.7;
}
.tooltip .distribution .bar {
  display: inline-block;
  vertical-align: bottom;
  width: 20%;
  background-color: #FED34F;
}

