.sticky {
  position: sticky;
  top: 5em;
  z-index: 2;
  background: var(--layout-background-color);

  &.scrolled {
    margin: -1em;
    padding: 1em 0.5em 0.5em 1em;

    box-shadow: 0px 8px 11px -13px #000000a6;
    transition: all 0.1s ease-in;
  }
}
