/* FOOTER STYLES */
footer {
  position: relative;
  border-top: 1rem double #fff;
  padding: 3rem 1.5rem 1.5rem;
  background-color: #ddd;
}

.footer--content {
  margin-top: 3rem;
}

.footer--logo {
  position: absolute;
  top: -5.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 10rem;
  height: auto;
}

.all-footer-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.footer--links {
  width: 100%;
  padding: 0;
  list-style-type: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.footer--link {
  font-size: 1.4rem;
}

.footer--link > a {
  font-weight: 600;
  color: var(--normal-gray);
  text-decoration: none;
}

.footer--link > a:hover {
  text-decoration: underline;
}

.social--links {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}

.social--link > img {
  width: 4rem;
  height: auto;
}

.social--link > img:hover {
  transform: scale(1.1);
  transition: all 0.5s;
}

.footer-copyright {
  margin-top: 2.5rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--normal-gray);
  text-align: center;
}

/******************************************
/* MEDIA QUERIES FOR RESPONSIVENESS
/*******************************************/
@media screen and (min-width: 1024px) {
  .footer--content {
    margin-top: 1.5rem;
    padding: 2rem 2rem;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .all-footer-links {
    flex-direction: row;
    align-items: center;
  }

  .footer--links {
    gap: 3rem;
  }

  .footer--link {
    font-size: 1.4rem;
  }
}

@media screen and (min-width: 1280px) {
  footer {
    padding-top: 1rem;
  }

  .footer--content {
    max-width: 196rem;
    margin: auto;
    padding: 0 2rem;
    padding-bottom: 10rem;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer--links {
    gap: 1.2rem;
  }

  .footer-copyright {
    margin: 0.9rem;
    font-size: 1.4rem;
  }
}

@media screen and (min-width: 1366px) {
  .footer--links {
    gap: 2.8rem;
  }
}
