.BackButton {
  background: none;
  border: none;
  padding: 0.5rem 0;
  font-family: inherit;
  text-decoration: none;
  color: #666;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  text-transform: lowercase;
  cursor: pointer;
  display: block;
  width: 100%;
  text-align: center;
}

@media (hover: hover) {
  .BackButton:hover {
    color: var(--accent-color);
  }
}

.BackButton:active {
  color: var(--accent-color);
  transition-duration: 0.05s;
}

.BackButton-top {
  width: 100vw;
  align-self: center;
  margin: -2rem 0 1rem;
  padding: 2.5rem 0 0.5rem;
  transition:
    background 0.2s ease,
    text-decoration 0.2s ease;
}

@media (hover: hover) {
  .BackButton-top:hover {
    background: linear-gradient(
      to bottom,
      color-mix(in srgb, var(--accent-color) 12%, transparent),
      transparent
    );
    text-decoration: underline;
    text-decoration-color: var(--accent-color);
  }
}

.BackButton-top:active {
  text-decoration: underline;
  text-decoration-color: var(--accent-color);
  transition-duration: 0.05s;
}
