/* The footer is in the reusable file global_footer.html, and is loaded in 
   global_footer_script.js. All related styles and queries are in 
   global_footer_styles.css and global_footer_queries.css. */

/* ********************************* */
/* FOOTER COMPONENTS    */
/* ********************************* */

/* GENERAL */

.footer {
  padding: 12.8rem 0;
  border-top: solid var(--colour--grey-lightest) 1.5px;
}

.grid--footer {
  grid-template-columns: 1fr 1.5fr 1fr 1fr;
}

/* LINKS */

.footer-link,
.footer-link:link,
.footer-link:visited {
  text-decoration: none;
  color: var(--colour--grey-medium);

  transition: all 0.3s;
}

.footer-link:hover,
.footer-link:active {
  color: var(--colour--grey-dark);
}

/* LOGO COLUMN */

.footer-logo-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-logo {
  display: block;
  margin-bottom: 4.8rem;
}

.footer-logo img {
  height: 12.8rem;
}

/* List of social links embedded into icons */
.footer-social-links {
  display: flex;
  gap: 2.4rem;

  list-style: none;
}

.social-icon {
  height: 2.4rem;
  width: 2.4rem;
}

/* HEADINGS */

.footer-heading {
  font-size: 2.4rem;
  font-weight: var(--font-weight--medium-bold);
  margin-bottom: 4.2rem;
}

/* CONTACT COLUMN */

/* Contains all contact information */
.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;

  font-style: normal;
  font-size: 1.8rem;
}

.address {
  line-height: var(--line-height--paragraph-default);
}

/* NAVIGATION COLUMNS */

/* List of Navigation Links */
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;

  list-style: none;

  font-size: 1.8rem;
}

/* COPYRIGHT */

.footer-copyright {
  margin-top: 4.8rem;
}

.footer-copyright-text {
  font-size: 1.6rem;
  line-height: var(--line-height--paragraph-default);
  color: var(--colour--grey-medium);
}
