.icon-shortcut__aside {
  display: none;
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 3000;
  width: 45px;
}

.icon-shortcut__aside.-fixed {
  display: block;
}

.icon-shortcut {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.icon-shortcut__link {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border: 1px solid rgb(var(--c-neutral-lightest));
  background: rgb(var(--c-primary));
  color: rgb(var(--c-neutral-lightest));
  box-sizing: border-box;
  transition: background 0.2s ease;
}

.icon-shortcut__link:not(.-top) {
  display: none;
}

.icon-shortcut__icon {
  font-size: 20px;
  line-height: 1;
  color: rgb(var(--c-neutral-lightest));
}

.icon-shortcut__icon .fas,
.icon-shortcut__icon .far,
.icon-shortcut__icon .fal {
  font-family: "Font Awesome 6 Pro";
}

.icon-shortcut__icon .fas {
  font-weight: 900;
}

.icon-shortcut__icon .far {
  font-weight: 400;
}

.icon-shortcut__icon .fal {
  font-weight: 300;
}

.icon-shortcut__icon .fab {
  font-family: "Font Awesome 6 Brands";
  font-weight: 400;
}

.icon-shortcut__image {
  display: block;
  max-width: 26px;
  max-height: 26px;
}

.icon-shortcut__text {
  position: absolute;
  top: 50%;
  right: calc(100% + 8px);
  padding: 0.4rem 1rem;
  font-size: 15px;
  line-height: 1.4;
  white-space: nowrap;
  letter-spacing: 0.02em;
  color: rgb(var(--c-neutral-lightest));
  background: rgb(var(--c-primary));
  border-radius: var(--b-radius-s);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity 0.3s ease, right 0.3s ease;
}

@media (hover: hover) {
  .icon-shortcut__link:hover {
    background: rgb(var(--c-secondary));
    box-shadow: 0 3px 7px rgba(var(--c-neutral-darkest), 0.1);
  }

  .icon-shortcut__link:hover .icon-shortcut__icon {
    color: rgb(var(--c-primary));
  }

  .icon-shortcut__link:hover .icon-shortcut__text {
    opacity: 1;
    right: calc(100% + 1rem);
  }
}

/* =============================================================================
   Media Queries
   ========================================================================== */

@media (min-width: 1024px) {
  /* Starts below the header like live, then sticks while scrolling */
  .icon-shortcut__aside,
  .icon-shortcut__aside.-fixed {
    display: block;
    position: sticky;
    top: 0;
    right: auto;
    bottom: auto;
    width: auto;
    height: 0;
  }

  .icon-shortcut {
    position: absolute;
    top: 100px;
    right: 3%;
    width: 45px;
  }

  .icon-shortcut__link:not(.-top) {
    display: flex;
  }
}
