a#wpp-popup {
  position: fixed;

  bottom: 15px;
  height: 50px;

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

  background-color: #4caf50;
  color: white;

  font-size: 16px;
  cursor: pointer;

  &.left {
    left: 0;
    transform: translateX(calc(-100% + 50px));

    padding: 0 50px 0 2rem;

    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;

    > i {
      right: 0;
    }
  }

  &.right {
    right: 0;
    transform: translateX(calc(100% - 50px));

    padding: 0 2rem 0 50px;

    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;

    > i {
      left: 0;
    }
  }

  transition: transform 0.4s ease;

  &:hover {
    transform: translateX(0);
  }

  &:not(:hover) {
    animation: pulse 2s infinite 0.5s;
  }

  > i {
    position: absolute;

    width: 50px;
    height: 50px;

    line-height: 50px;
    font-size: 24px;
    text-align: center;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba($color: #4caf50, $alpha: 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba($color: #4caf50, $alpha: 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba($color: #4caf50, $alpha: 0);
  }
}
