.footer {
  // background-color: $primary-color-alt;
  z-index: 20;
  position: relative;
}
.footer.hide {
  display: none;
}

.insta-wrap {
  display: flex;
}
.insta-box {
  position: relative;
  height: calc(100vw / 6 - 20px);
  width: calc(100vw / 6);
  margin: 10px;
  &:first-child {
    margin-left: 0;
  }
  &:last-child {
    margin-right: 0;
  }
  img {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: all 0.25s;
    &:hover {
      opacity: 0.8;
    }
  }
}

.footer-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  .nuxt-link-exact-active {
    color: $secondary-color;
  }
}
.footer-right {
  display: flex;
  flex-direction: column;
}

.footer .logo {
  width: 100%;
}

.footer a {
  transition: all 0.2s;
  &:hover {
    color: $secondary-color;
  }
}

.back-to-top {
  align-self: flex-end;
  max-width: 7vw;
  img {
    height: 100%;
    width: 100%;
  }
}

.icon-cont {
  width: 27px;
  height: 17px;
  object-fit: contain;
}

.footer-copy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  color: #fff;
  padding-top: 20px;
}

.logo-lloyds {
  width: 33px;
}

@media (max-width: 1000px) {
  .insta-box {
    margin: 5px;
  }
  .footer .logo {
    width: 80%;
  }
}

@media (max-width: 600px) {
  .footer-right {
    padding: 30px 0;
  }
  .footer .logo {
    width: 60%;
    object-fit: contain;
  }
  .footer {
    .fs-xl {
      letter-spacing: -2px;
    }
  }
  .insta-wrap {
    flex-wrap: wrap;
    padding: 6px;
    align-items: center;
    justify-content: center;
    .insta-box {
      height: calc(100vw / 3 - 16px);
      width: calc(100vw / 3 - 14px);
      &:first-child {
        margin-left: 5px;
      }
      &:last-child {
        margin-right: 5px;
      }
    }
  }
  .back-to-top {
    max-width: 10vw;
    width: 100%;
  }
}
