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

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

  100% {
    transform: scale(1, 1);
  }
}

.footer {
  color: $white;
  font-family: $font-family4;
  padding: 50px 0 0;
  position: relative;
  text-align: center;

  .legal-pages {
    display: flex;
    width: 50%;
    margin: auto;
    flex-flow: row wrap;
    justify-content: center;
  }

  .legal-pages > * {
    margin-left: 5px;
    margin-right: 5px;
  }

  .footer-links {
    width: 100%;
    padding-bottom: 30px;
  }

  .custom-links {
    margin-bottom: 40px;

    a {
      font-size: $font-size-s;
      padding: 0 40px;
    }
  }

  .copyright,
  .assembl-version {
    bottom: 10px;
    font-size: $font-size-xxs;
    position: absolute;
  }

  .assembl-version {
    right: 0;
  }

  a {
    color: $footer-link-text-color;
    font-size: $font-size-xxs;
    text-decoration: none;

    &:hover {
      color: $white;
      text-decoration: none;
    }
  }

  .social-medias {
    list-style-type: none;
    padding: 0;

    li {
      display: inline-block;
    }

    [class^='media-']:hover {
      animation: pop 0.3s 2;
    }

    i:before {
      font-size: 30px;
      margin: 10px 20px 30px;
    }
  }
}

@media screen and (max-width: 767px) {
  .footer {
    .legal-pages {
      width: 100%;
      flex-direction: column;
      margin-bottom: 30px;
    }

    .copyright {
      font-size: $font-size-xxs;
    }

    .social-medias {
      img {
        margin: 0 20px 100px;
      }

      min-height: 85px;
    }
  }
}
