[data-sticky-element] {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  transition: transform .5s ease, opacity .5s ease;

  &:not(.is-hidden) {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  &.is-hidden {
    transform: translateY(100%);
    opacity: 0;
    transition: transform .5s ease 0s, opacity .5s ease 5s;
    pointer-events: none;
  }
}
