.footer {
  background-color: var(--color-background);
  padding: 3.0rem 2.5rem 1.7rem;
  border-top: .0625rem solid var(--color-separator-border);
}

.footer-data-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1%;
}

.logo-section {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(30% - 0.0625rem);
  border-right: 0.0625rem solid var(--color-separator-border);
}

.footer-logo {
  height: 6rem;
  fill: var(--color-text);
  fill-opacity: 0.9;
}

.links-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  width: 38%;
}

.social-media-links {
  display: flex;
  flex-direction: row;
  gap: 3rem;
}

.social-media-links button {
  border: none;
  cursor: pointer;
  display: flex;
  background-color: transparent;
  padding-block: 0;
  padding-inline: 0;
}

.footer-sm-icon{
  height: 1.2rem;
  width: 1.2rem;
  fill: var(--purple-3);
}

.page-nav-links {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-evenly;
}

.page-nav-links a {
  text-decoration: none;
  color: var(--color-text);
  text-wrap: nowrap;
}

.subscribe-section {
  display: flex;
  flex-direction: column;
  width: 30%;
  gap: 1rem;
}

.subscribe-section h3 {
  margin: 0;
  color: var(--color-text);
}

.subscribe-section span {
  color: var(--color-text);
  overflow-x: auto;
}

.subscribe-form {
  display: flex;
  height: 2rem;
  gap: 0.5rem;
}

.subscribe-form input {
  padding: 0 1rem;
  border-radius: 0.5rem;
  outline: none;
  width: 70%;
}

.subscribe-form input:focus {
  outline: 0.125rem solid var(--purple-1);
  border-color: transparent;
}

.subscribe-form button {
  padding: 0 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  background: var(--gradient-1);
  color: var(--white-1);
  cursor: pointer;
  border: .0625rem solid var(--gradient-1);
  width: 30%;
}

.footer-copyright {
  font-size: 0.8rem;
  line-height: 0.8rem;
  color: var(--color-text);
  margin-top: 0.5rem;
  margin-bottom: 0;
  justify-content: center;
  display: flex;
}

@media (pointer: fine) {
  .page-nav-links a:hover {
    color: var(--purple-1);
  }
}

@media (width < 1200px) {
  .footer {
    padding: 2rem;
  }

  .footer-data-container {
    gap: 1rem;
  }

  .logo-section {
    width: 100%;
    border-right: none;
  }

  .links-section {
    width: calc(50% - 0.5rem);
  }

  .subscribe-section {
    width: calc(50% - 0.5rem);
  }

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

  .social-media-links {
    display: flex;
    flex-direction: row;
    gap: 2rem;
  }
}

@media (width < 768px) {
  .footer-data-container {
    gap: 2rem;
  }

  .logo-section {
    width: 100%;
    border-right: none;
  }

  .footer-logo {
    height: 4rem;
  }

  .links-section {
    width: 100%;
  }

  .subscribe-section {
    width: 100%;
  }

  .subscribe-section h3 {
    text-align: center;
  }

  .subscribe-section span {
    text-align: center;
  }

  .subscribe-form {
    display: flex;
    height: 2rem;
    gap: 0.5rem; 
    border: none;
  }

  .social-media-links {
    gap: 3rem;
  }
}

@media (width < 576px) {
  .footer-logo {
    height: 3rem;
  }

  .page-nav-links a {
    font-size: 0.8rem;
  }

  .social-media-links {
    gap: 1.6rem;
  }

  .subscribe-form button {
    width: min-content;
  }
}
