.wrapper {
  display: flex;
}

.wrapper h1 {
  margin: 1rem 0;
  font-size: calc(24rem / 16);
  font-weight: 600;
  color: var(--primary-accent);
}

.content {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.nav {
  margin: calc(8rem / 16) calc(32rem / 16) 0 0;
  color: var(--primary-heading);
  font-weight: 500;
}

.navItem {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  font-size: calc(14rem / 16);
  border-bottom: calc(1rem / 16) solid var(--primary-accent-light);
  align-items: center;
  height: calc(40rem / 16);
  width: calc(284rem / 16);
  padding: 0 calc(14rem / 16);
  cursor: pointer;
}

.navItem > div {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.selected {
  background-color: var(--primary-accent-dim);
  color: var(--primary-accent);
  font-weight: 700;
}

.readAll {
  font-weight: 700;
}

.marker {
  display: none;
}

.selected .marker {
  display: inline;
  background-color: var(--primary-accent);
  height: calc(24rem / 16);
  width: calc(4rem / 16);
  margin-right: 1rem;
}

.footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
}

.previous,
.next {
  flex: 1;
  display: flex;
  cursor: pointer;
  color: var(--primary-heading);
  font-size: calc(12rem / 16);
}

.previous {
  margin-right: calc(8rem / 16);
}

.next {
  justify-content: flex-end;
  text-align: end;
  margin-left: calc(8rem / 16);
}

.arrowHeading {
  color: var(--primary-accent);
  font-size: calc(14rem / 16);
  font-weight: 700;
  border-bottom: calc(2rem / 16) solid var(--primary-accent);
  padding-bottom: calc(4rem / 16);
}

.arrow {
  fill: var(--primary-accent);
  margin-top: calc(27rem / 16);
}

.prevArrow {
  transform: rotate(90deg);
  padding-right: calc(8rem / 16);
}

.nextArrow {
  transform: rotate(270deg);
  padding-left: calc(8rem / 16);
}

@media only screen and (max-width: calc(768rem / 16)) {
  .nav {
    display: none;
  }
}
