.right-btn {
  margin-bottom: $spacing-unit / 3;
}

$local-time: 0.5s;
.up-btn-container {
  display: flex;
  justify-content: center;
  width: 2.5em;
  opacity: 0;

  max-height: 0;

  transition: visibility $local-time, opacity $local-time,
    max-height $local-time;
}

.up-btn-container.show {
  visibility: visible;

  max-height: 2.5em;
  opacity: 0.75;
}

.up-btn {
  width: 2em;
  height: 2em;

  z-index: 333;

  border: 3px solid $brand-color;
  border-radius: 25%;

  font-size: large;
  font-weight: border;
  line-height: 1.75em;

  color: $brand-color;
  background-color: transparent;
}

.up-btn:hover {
  cursor: pointer;
}

.up-btn:active {
}

.up-btn:after {
}

.share-btn {
  height: 2.5em;
  width: 2.5em;

  cursor: pointer;
  border-radius: 50%;

  display: flex;
  justify-content: center;
  align-items: center;
}

.share-btn.share-btn-vanilla {
  // background-color: $grey-color-dark;

  // padding: 2px;
}
.share-btn.share-btn-vanilla > svg > circle,
.share-btn.share-btn-vanilla > svg > path {
  fill: $brand-color-dark;
}

.code-copy-btn {
  opacity: 0;
  position: absolute;
  top: 0.4rem;
  right: 1rem;
  font-size: 1.2rem;
  width: 2.5rem;

  background-color: $grey-color-dark;
  border-radius: 0.5rem;
  border: none;

  transition: opacity $local-time / 2, background-color $local-time / 4;

  @include media-query($on-palm) {
    opacity: 1;
    width: 1.75rem;
    font-size: 1rem;
  }
}

.code-copy-btn.show {
  opacity: 1;
}

.code-copy-btn:hover {
  cursor: pointer;
}

.code-copy-btn:active {
  background-color: darken($grey-color-dark, 10%);
}

.code-copy-btn:after {
}
