
.transition
{
  transition: .2s;
}

.transition-0\.5
{
  transition: .5s;
}

.transition-1
{
  transition: 1s;
}

.ease-in-out
{
  transition-timing-function: ease-in-out;
  transition-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
}


.spinning
{
  animation: spin 1.5s infinite linear;
}

@keyframes spin
{
  0% {
    transform: rotate(0deg)
  }

  to {
    transform: rotate(360deg)
  }
}

.bouncing
{
  animation: bounce 1.4s infinite ease-in-out;
  animation-fill-mode: both;
}

@keyframes bounce
{
  0%, 100% {
    transform: scale(0.0);
  } 50% {
    transform: scale(1.0);
  }
}


.fading
{
    animation: fade 1.5s infinite cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

@keyframes fade
{
  0%
  {
    opacity: 0;
  }
  50%
  {
    opacity: 1;
  }
  100%
  {
    opacity: 0;
  }
}

@keyframes fadeinout
{
  0%,to {
    opacity: 0
  }

  50% {
    opacity: 1
  }
}

@keyframes fadein
{
  0% {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

.flipping
{
  animation: flip 0.5s ease both;
}

@keyframes flip
{
    0%
    {
        opacity: 0;
        transform-origin: top center;
        transform: rotateX(-90deg);
    }
    5%
    {
        opacity: 1;
    }
    80%
    {
        transform: rotateX(8deg);
    }
    83%
    {
        transform: rotateX(6deg);
    }
    92%
    {
        transform: rotateX(-3deg);
    }
    100%
    {
        transform-origin: top center;
        transform: rotateX(0deg);
    }
}

.shaking
{
  animation: shake .5s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

@keyframes shake
{
    8%, 41%
    {
        -webkit-transform: translateX(-10px);
    }
    25%, 58%
    {
        -webkit-transform: translateX(10px);
    }
    75%
    {
        -webkit-transform: translateX(-5px);
    }
    92%
    {
        -webkit-transform: translateX(5px);
    }
    0%, 100%
    {
        -webkit-transform: translateX(0);
    }
}

.flashing-once
{
  animation: flash 1s normal forwards;
}

@keyframes flash
{
  0%
  {
    background-color: $yellow-light;
  }
  30%
  {
    background-color: $yellow-light;
  }
  100%
  {
    background-color: transparent;
  }
}

.pulsing
{
  animation: pulse .8s infinite cubic-bezier(.45,.05,.55,.95);
}

@keyframes pulse
{
  0% {
    transform: scale(.5);
    opacity: 0
  }

  45% {
    opacity: .5
  }

  90%,to {
    transform: scale(1.25);
    opacity: 0
  }
}
