// Footer Section
// --------------------------------------------------
.footer {
  color: $grey-dark;
  font-size: $font-size-small;
  padding: 20px 0;

  &.footer-fixed {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
  }

  img {
    border: 0;
  }
}

.footer-inner {
  margin: 0 auto;
  text-align: center;
  width: $content-desktop;

  +desktop-large() {
    .container & {
      width: $content-desktop-large;
    }
  }

  +desktop-largest() {
    .container & {
      width: $content-desktop-largest;
    }
  }
}

@keyframes iconAnimate {
  0%, 100% {
    transform: scale(1);
  }

  10%, 30% {
    transform: scale(.9);
  }

  20%, 40%, 60%, 80% {
    transform: scale(1.1);
  }

  50%, 70% {
    transform: scale(1.1);
  }
}

if (hexo-config('footer.icon.animated')) {
  #animate {
    animation: iconAnimate 1.33s ease-in-out infinite;
  }
}

.with-love {
  color: unquote(hexo-config('footer.icon.color'));
  display: inline-block;
  margin: 0 5px;
}

.powered-by, .theme-info {
  display: inline-block;
}
