footer {
  display: flex;
  width: 100%;
  height: auto;
  color: #ffffff;
  background-color: #563232;
  padding: 15px 0;
}

footer a, footer a:visited {
  color: #fff;
  text-decoration: underline;
}

footer a:hover {
  text-decoration: none;
}

footer .wrapper {
  max-width: 820px;
  width: 100%;
  margin: auto;
  display: flex;
  justify-content: space-between;
}

footer .wrapper .left {
  text-align: left;
  margin: auto auto auto 0;
  font-size: 13px;
}

footer .wrapper .center {
  text-align: center;
  margin: auto 0;
  font-size: 13px;
}

footer .wrapper .right {
  margin: auto 0 auto auto;
  text-align: right;
  font-size: 0.8em;
}

footer .wrapper .right a, footer .wrapper .right a:visited {
  color: #fff;
  text-decoration: underline;
  font-weight: bold;
}

footer .wrapper .right a:hover {
  text-decoration: none;
}

.footer__addresses {
  font-size: 0.8em;
}

.footer__addresses img {
  display: inline-block;
  vertical-align: middle;
  width: 16px;
  height: 16px;
}

.phone-btn {
  display: block;
  margin: 0;
  width: 1em;
  height: 1em;
  font-size: 25vmin;
  background-color: #42d12f;
  border-radius: 0.5em;
  box-shadow:
    0 0 0 0em rgba(66, 209, 47, 0),
    0em 0.05em 0.1em rgba(0, 0, 0, 0.2);
  transform: translate3d(0, 0, 0) scale(0.35);
  position: fixed;
  right: 10px;
  bottom: 10px;
}

.phone-btn::before, .phone-btn::after {
  position: absolute;
  content: "";
  display: block;
}

.phone-btn::before {
  top: 0;
  left: 0;
  width: 1em;
  height: 1em;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 100%;
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(0);
}

.phone-btn::after {
  top: 0.25em;
  left: 0.25em;
  width: 0.5em;
  height: 0.5em;
  background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTYuNiAxMC44YzEuNCAyLjggMy44IDUuMSA2LjYgNi42bDIuMi0yLjJjLjMtLjMuNy0uNCAxLS4yIDEuMS40IDIuMy42IDMuNi42LjUgMCAxIC40IDEgMVYyMGMwIC41LS41IDEtMSAxLTkuNCAwLTE3LTcuNi0xNy0xNyAwLS42LjQtMSAxLTFoMy41Yy41IDAgMSAuNCAxIDEgMCAxLjIuMiAyLjUuNiAzLjYuMS40IDAgLjctLjIgMWwtMi4zIDIuMnoiIGZpbGw9IiNmZmZmZmYiLz48L3N2Zz4=);
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  transform: translate3d(0, 0, 0);
}

.phone-btn.is-animating {
  animation: phone-outer 3000ms infinite;
}

.phone-btn.is-animating::before {
  animation: phone-inner 3000ms infinite;
}

.phone-btn.is-animating::after {
  animation: phone-icon 3000ms infinite;
}

@keyframes phone-outer {
  0% {
    transform: translate3d(0, 0, 0) scale(0.35);
    box-shadow:
      0 0 0 0em rgba(66, 209, 47, 0),
      0em 0.05em 0.1em rgba(0, 0, 0, 0.2);
  }

  33.3333% {
    transform: translate3d(0, 0, 0) scale(0.38);
    box-shadow:
      0 0 0 0em rgba(66, 209, 47, 0.1),
      0em 0.05em 0.1em rgba(0, 0, 0, 0.5);
  }

  66.6666% {
    transform: translate3d(0, 0, 0) scale(0.35);
    box-shadow:
      0 0 0 0.5em rgba(66, 209, 47, 0),
      0em 0.05em 0.1em rgba(0, 0, 0, 0.2);
  }

  100% {
    transform: translate3d(0, 0, 0) scale(0.35);
    box-shadow:
      0 0 0 0em rgba(66, 209, 47, 0),
      0em 0.05em 0.1em rgba(0, 0, 0, 0.2);
  }
}

@keyframes phone-outer-mobile {
  0% {
    transform: translate3d(0, 0, 0) scale(0.65);
    box-shadow:
      0 0 0 0em rgba(66, 209, 47, 0),
      0em 0.05em 0.1em rgba(0, 0, 0, 0.2);
  }

  33.3333% {
    transform: translate3d(0, 0, 0) scale(0.75);
    box-shadow:
      0 0 0 0em rgba(66, 209, 47, 0.1),
      0em 0.05em 0.1em rgba(0, 0, 0, 0.5);
  }

  66.6666% {
    transform: translate3d(0, 0, 0) scale(0.65);
    box-shadow:
      0 0 0 0.5em rgba(66, 209, 47, 0),
      0em 0.05em 0.1em rgba(0, 0, 0, 0.2);
  }

  100% {
    transform: translate3d(0, 0, 0) scale(0.65);
    box-shadow:
      0 0 0 0em rgba(66, 209, 47, 0),
      0em 0.05em 0.1em rgba(0, 0, 0, 0.2);
  }
}

@keyframes phone-inner {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(0);
  }
  33.3333% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(0.9);
  }
  66.6666% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0);
  }
  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0);
  }
}

@keyframes phone-icon {
  0% { transform: translate3d(0em, 0, 0); }
  2% { transform: translate3d(0.01em, 0, 0); }
  4% { transform: translate3d(-0.01em, 0, 0); }
  6% { transform: translate3d(0.01em, 0, 0); }
  8% { transform: translate3d(-0.01em, 0, 0); }
  10% { transform: translate3d(0.01em, 0, 0); }
  12% { transform: translate3d(-0.01em, 0, 0); }
  14% { transform: translate3d(0.01em, 0, 0); }
  16% { transform: translate3d(-0.01em, 0, 0); }
  18% { transform: translate3d(0.01em, 0, 0); }
  20% { transform: translate3d(-0.01em, 0, 0); }
  22% { transform: translate3d(0.01em, 0, 0); }
  24% { transform: translate3d(-0.01em, 0, 0); }
  26% { transform: translate3d(0.01em, 0, 0); }
  28% { transform: translate3d(-0.01em, 0, 0); }
  30% { transform: translate3d(0.01em, 0, 0); }
  32% { transform: translate3d(-0.01em, 0, 0); }
  34% { transform: translate3d(0.01em, 0, 0); }
  36% { transform: translate3d(-0.01em, 0, 0); }
  38% { transform: translate3d(0.01em, 0, 0); }
  40% { transform: translate3d(-0.01em, 0, 0); }
  42% { transform: translate3d(0.01em, 0, 0); }
  44% { transform: translate3d(-0.01em, 0, 0); }
  46% { transform: translate3d(0em, 0, 0); }
}

@media (max-width: 600px) {
  footer {
    height: auto;
  }
  footer .wrapper {
    margin: 8px;
    flex-direction: column;
    justify-content: flex-start;
  }
  footer .wrapper .left {
    text-align: center;
    margin: 0px auto;
  }
  footer .wrapper .center {
    text-align: center;
    margin: 0px auto;
  }
  footer .wrapper .right {
    text-align: center;
    margin: 0px auto;
  }

  .phone-btn {
    transform: translate3d(0, 0, 0) scale(0.65);
  }

  .phone-btn.is-animating {
    animation: phone-outer-mobile 3000ms infinite;
  }
}
