.footer {
  background-color: $quaternary-color;
  color: #fff;
}
.footer-main {
  position: relative;
  padding-left: 6%;
  padding-right: 6%;
  letter-spacing: 2px;
  display: flex;
  justify-content: space-between;
}

.footer-social-wrap {
  padding-left: 6%;
  padding-right: 6%;
  display: flex;
  justify-content: flex-end;
}
.footer-social {
  height: 25px;
  transition: all 0.25s;
  &:hover {
    opacity: 0.85;
  }
}

.footer-logo {
  max-height: 180px;
}

.footer-copy {
  background-color: $quaternary-color-alt;
  padding-left: 6%;
  padding-right: 6%;
}

.back-to-top-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: 10px;

  &:hover {
    .back-to-top-arrow {
      opacity: 0.9;
      transform: rotate(-90deg) translateX(5px);
    }
    .back-to-top {
      opacity: 0.9;
    }
  }
}

.back-to-top {
  text-orientation: mixed;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  cursor: pointer;
  transition: all 0.2s ease;
}
.back-to-top-arrow {
  height: 15px;
  width: 15px;
  transform: rotate(-90deg);
  margin-right: 17px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.footer-social {
  height: 25px;
}

.footer {
  .nav-link {
    transition: all 0.2s;
    &:hover {
      text-shadow: 0px 0px 0px #fff;
    }
  }
}

@media (max-width: 1400px) {
  .footer-main,
  .footer-social-wrap {
    padding-left: 3%;
    padding-right: 3%;
  }
  .footer-social-wrap {
    padding-top: 12px;
  }
  .footer-logo {
    max-height: 140px;
  }
  .footer-social {
    height: 20px;
  }
}

@media (max-width: 1100px) {
  .footer-social-wrap {
    justify-content: flex-start;
  }
  .footer-copy {
    padding-left: 3%;
    padding-right: 3%;
  }
  .footer-logo {
    max-height: 100px;
  }
}

@media (max-width: 900px) {
  .footer-main {
    flex-direction: column;
    padding-top: 20px;
    padding-bottom: 50px;
  }
  .back-to-top-wrap {
    position: absolute;
    right: 5px;
    bottom: -35px;
  }
  .back-to-top-arrow {
    margin-right: 8px;
  }
}

@media (max-width: 600px) {
  .footer-copy {
    flex-direction: column;
    align-items: flex-start;
  }
}
