:root{
  --margin-bottom: 1%
}

/* Background */
#copyright.copyright-background {
  position: relative;
  height: auto;
  padding: 2.5rem 0;
  width: auto;
  z-index: 2;
  isolation: isolate;
}

/* Copyright */
#copyright { 
  color: var(--text-color);
  font-size: var(--third-color);
  text-align: center;
}

/* Footer Container */
.footer-container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

/* Footer Links */
.footer-links, .footer-text{
  list-style-type: none; 
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  transition: .5s;
}

/* Footer Links */
.footer-links {
  display: flex;
  gap: 2rem;
  margin-top: 1%;
  margin-bottom: 0.5rem;
  align-items: center;
}

.footer-heading {
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.5rem 0;
}

.footer-links a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1.7rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
}

#download-resume {
  font-size: 1.2rem;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.05em;
}

#download-resume:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--primary-color);
}

.footer-text{
  gap: 15px;
}

.links h2{
  font-weight: var(--thrid-weight);
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* Footer Links Items */
.footer-links li, .footer-text li {
  position: relative; 
  font-size: 1.23em;
}

/* Footer Links Anchor */
.footer-links li a, 
.footer-text li a,
.footer-links li a i{
  color: var(--text-color);
  text-decoration: none;
  transition: .3s;
}

/* Footer Links Anchor Hover */
.footer-text li a:hover, .footer-links i.fa-2xl:hover{
  color: var(--button-color-hover);
  background-color: transparent;
}

/* Media Container For Footer Links */
@media (max-width: 850px) {
  .footer-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 5%;
    margin: 0 auto;
    margin-top: 5%;
  }
  #copyright, .footer-links, .links{
    font-size: var(--third-font-size-shrink);
  }
  .footer-links li a i{
    font-size: 2rem;
  }
}

/* Media Container For Footer Links */
@media (max-width: 350px) {
  .footer-links, .footer-text {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  /* Add some spacing between the stacked items */
  .footer-links li a i {
    margin-bottom: 20px;
  }
  #copyright, .footer-links, .links{
    font-size: var(--third-font-size-shrink);
  }
}