.footerLinks {
  width: 100%;
  height: 6rem;
  padding: 0;
  background-color: white;
  border-radius: 0;
  z-index: 1001;
  display: none;
  &.isStoryBook {
    display: block;
  }
  border-top: 2px solid #6e33e5;
  @media only screen and (max-width: 767px) {
    display: flex;
  }

  > ul {
    display: flex;
    width: 100%;
    margin-top: -20px;
    padding: 0.5rem 0;
    > li {
      width: 100%;
      @include flex-direction(column-reverse);
      @include flex-align(center, center);

      span {
        font-style: normal;
        font-weight: 700;
        font-size: 1.2rem;
        line-height: 2rem;
        text-align: center;
        color: #6e33e5;
        position: relative;
      }

      img {
        width: 4.2rem;
        padding: 0.7rem;
        background-color: #6e33e5;
        border-radius: 2rem;
      }

      a {
        display: flex;
        flex-flow: column;

        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        color: #6e33e5;
        font-weight: 700;

        span {
          font-style: normal;
          font-weight: 700;
          font-size: 1.2rem;
          line-height: 2rem;
          text-align: center;
          color: #6e33e5;
          position: relative;
        }
      }
    }
  }
}

.template_three {
  height: 7.2rem;
  > ul {
    margin-top: 0;
  }
}

.template_two {
  height: 7.2rem;
  background-color: #262629;
  border-top: 2px solid #262629;
  > ul {
    margin-top: 0;

    > li {
      color: white;

      a {
        > span {
          color: white;
        }
      }

      img {
        background-color: transparent;
      }
    }
  }
}
