.footer {
  padding: 1rem 0;
  background-color: var(--dark-color);
  color: white;
}

.footer .links {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 3rem;
  padding-bottom: 1rem;
}

.footer .links .btn {
  padding: 0.7rem 1rem;
  background-color: var(--primary-color);
  text-align: center;
}

.footer .links .w-2 {
  flex: 1.5;
}

.footer .links .w-1 {
  flex: 1;
}

.footer .title {
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
}

.footer .links .left p {
  margin-top: 1rem;
  font-size: 0.85rem;
}

.footer .links ul {
  list-style: none;
  font-size: 0.85rem;
}

.footer .links a {
  display: block;
}

.footer .copyright {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.355) !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  flex-wrap: wrap;
}

.footer .copyright .social-media {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.5rem;
  font-size: 1.2rem;
}

.footer a {
  transition: all 0.3s ease;
}

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

@media only screen and (max-width: 997px) {
  .footer .links {
    flex-wrap: wrap;
    flex-direction: column;
  }

  .footer .links .left {
    width: 100%;
    flex: 1;
  }

  .footer .links .center {
    width: 100%;
    flex: 1;
  }

  .footer .links .right {
    width: 100%;
    flex: 1;
  }

  .footer .links .title {
    font-size: 0.9rem;
  }

  .footer .links .left p {
    font-size: 0.8rem;
  }

  .footer .links .center .categories {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .footer .links .center .categories .cats {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 0.25rem;
    font-size: 0.8rem;
  }

  .footer .links .right ul {
    list-style: none;
    font-size: 0.8rem;
  }

  .footer .copyright {
    gap: 1rem;
  }

  .footer .copyright .social-media {
    font-size: 1rem;
  }
}

@media only screen and (max-width: 560px) {
  .footer .links .center .categories .cats {
    grid-template-columns: repeat(1, 1fr);
  }
}
