@keyframes bounceInLeft {
  from, 60%, 75%, 90%, to {
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }

  0% {
    opacity: 0;
    transform: translate3d(-3000px, 0, 0);
  }

  60% {
    opacity: 1;
    transform: translate3d(25px, 0, 0);
  }

  75% {
    transform: translate3d(-10px, 0, 0);
  }

  90% {
    transform: translate3d(5px, 0, 0);
  }

  to {
    transform: none;
  }
}

@keyframes bounceOutRight {
  20% {
    opacity: 1;
    transform: translate3d(-20px, 0, 0);
  }

  to {
    opacity: 0;
    transform: translate3d(2000px, 0, 0);
  }
}


.c-article-feedback-form-wrapper {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;

}

.c-article-feedback-form {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: auto;
  padding: 24px;
  background: black;
  color: white;
  height: auto;

  &.fbsVisible { // need a special name due to WordPress already using .hidden
    animation-name: bounceInLeft;
    animation-duration: 1.3s;
    animation-fill-mode: both;
  }


  &.fbsHidden { // need a special name due to WordPress already using .hidden
    animation-name: bounceOutRight;
    animation-duration: 1.3s;
    animation-fill-mode: both;
  }

  .c-article-feedback-form__heading {
    display: block;
    font-size: 125%;
    margin-bottom: 16px;
  }

  .c-article-feedback-form__text {
    display: block;
  }

  .c-article-feedback-form__votes {
    display: block;
    margin-top: 16px;
  }
}

.c-vote-button {

  &.c-vote-button--icon {
    display: inline-flex;
    height: 48px;
    width: 48px;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
    transition: all .3s ease-in-out;

    &:hover {
      background: rgba(255,255,255,0.1);
    }
  }
}