main {
  max-width: 1200px;
}

.rev-back-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: .5rem;
  border-radius: 2px;
  color: rgb(215, 215, 215);
  font-size: clamp(12px, 1.5vw, 14px);
}

.rev-back-link:hover {
  color: var(--color-quiver-white);
}

.rev-back-link .fa-arrow-left {
  margin-right: .33rem;
  font-size: 12px;
  color: var(--color-quiver-green);
}

.page-title-container {
  display: flex;
  align-items: center;
  margin: 1rem 0 0;
}

h1.page-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  color: white;
  line-height: 1.15;
}

.page-title-container img {
  display: inline-block;
  width: 34px;
  height: 34px;
  margin-right: .75rem;
  vertical-align: middle;
}

.page-subtitle-container {
  border-top: 1px solid rgb(35, 35, 35);
  margin-top: .5rem;
  padding-top: .5rem;
}

.page-content {
  position: relative;
}

h2.breakdown-text,
h3.page-subtitle {
  visibility: hidden;
  padding: .75rem 4rem 0rem 0;
  max-width: 1050px;
  color: rgb(140, 140, 140);
  font-size: clamp(13px, 2vw, 14px);
  font-weight: 350;
  line-height: 1.55;
}

h2.breakdown-text a,
h3.page-subtitle a {
  color: inherit;
  text-decoration: none;
}

.rev-chart-container,
.rev-chart-container-cursor {
  display: flex;
  height:365px;
}

.rev-chart-container-cursor {
  margin-bottom: 4rem;
}


.tooltip {
  z-index: 1000;
  position: absolute;
  display: block;
  border: 1px solid rgb(40, 42, 46);
  border-radius: 2px;
  padding: .75rem .75rem .25rem;
  min-width: 150px;
  background-color: #141414;
  color: var(--color-quiver-white);
  font-size: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  opacity: 1;
}

.rev-legend {
  padding-top: .25rem;
  width: 18%;
  height: 100%;
}

.rev-legend ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rev-legend li {
  display: flex;
  align-items: baseline;
  padding: 5px;
}

.rev-legend li span {
  display: flex;
  align-items: baseline;
  line-height: 1.35;
  color: var(--color-quiver-white);
  font-size: clamp(12px, 2vw, 14px);
  text-decoration:none;
}

.rev-legend li.rev-legend-toggle:hover {
  text-decoration: underline;
  cursor: pointer;
}

.rev-legend-color-box {
  margin-right: .5rem;
  min-width: 10px;
  width: 10px;
  height: 10px;
}

.tooltip-color-box {
  margin-right: .4rem;
  min-width: 8px;
  width: 8px;
  height: 8px;
}

.tooltip > div {
  display: flex;
  align-items: baseline;
  padding-bottom: .66rem;
  width: 100%;
  font-size: clamp(11px, 1.5vw, 13px);
}

.tooltip > div:first-child {
  justify-content: center;
  padding: .25rem 0 .75rem;
  font-size: clamp(12px, 1.5vw, 14px);
  font-weight: 400;
  color: rgb(180, 180, 180);
}

.tooltip > div span {
  display: inline-block;
  margin-left: auto;
  padding-left: 1rem;
  text-align: right;
  font-family: "Roboto", sans-serif;
}

.tooltip > div:not(:first-child) strong {
  max-width: 150px;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 768px) {
  main {
    padding-top: calc(var(--header-height) + 2rem);
  }
  .rev-chart-container {
    flex-direction: column-reverse;
    height: auto;
  }
  .rev-legend {
    width: 100%;
    height: auto;
    padding-left: 3rem;
  }
  .rev-legend ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .25rem .5rem;
  }
}