/**
 * @file
 * Follow links to Grant's social profiles.
 *
 * Plain CSS rather than SCSS, so it deploys without a gulp build. Colors match
 * scss/_variables.scss: $lightbrown #a4805e, $brown #6f4024, $cream #fcdebd,
 * $lightcream #fdebd6.
 */

.social-links {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-links a {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  transition: background-color 0.3s, color 0.3s;
  width: 40px;
}

.social-icon {
  display: block;
  flex: none;
}

/* Header: mirrors the mobile menu button on small screens, then sits in the
   top-right corner, level with the logo. Bootstrap's .navbar is already
   position: relative. */
.social-links--header {
  left: 12px;
  position: absolute;
  top: -4px;
  z-index: 400;
}

.social-links--header a {
  color: #a4805e;
}

.social-links--header a:hover,
.social-links--header a:focus {
  background-color: rgba(111, 64, 36, 0.1);
  color: #6f4024;
}

.dark-theme .social-links--header a {
  color: #fcdebd;
}

@media (min-width: 768px) {
  .social-links--header {
    left: auto;
    right: 15px;
    top: 4px;
  }
}

/* Footer: next to the copyright line. */
.footer-social-legal {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-content: center;
}

@media (min-width: 992px) {
  .footer-social-legal {
    justify-content: flex-end;
  }
}

/* !important beats `.footer-base-wrapper a:hover { background-color:
   transparent !important; }` in scss/components/_footer.scss. */
.footer-base-wrapper .social-links--footer a:hover {
  background-color: rgba(252, 222, 189, 0.1) !important;
}

.footer-base-wrapper .social-links--footer a:focus {
  background-color: rgba(252, 222, 189, 0.1);
}

/* Homepage follow band. */
.social-follow {
  background-color: #fdebd6;
  padding: 48px 0 56px;
  text-align: center;
}

.social-follow__title {
  margin: 0 0 8px;
}

.social-follow__text {
  margin: 0 auto 24px;
  max-width: 32em;
}

a.social-follow__button {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  text-transform: none;
}
