﻿footer {
  background-color: var(--color-black);
  padding: 2.5rem 1rem;
  position: relative;
}

footer h3 {
  color: var(--color-black-300);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

footer li {
  padding: 0.5rem 0;
}

footer a {
  color: var(--color-white);
  text-decoration: none;
}

footer a:hover {
  opacity: 0.8;
}

.logo-section {
  margin-bottom: 3rem;
}

.logo-section img {
  width: 100%;
}

.logo-link>img {
  width: 100%;
  height: auto;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding: 3.5rem 0;
}

.footer-bottom-section {
  display: flex;
  flex-direction: column;
}

.footer-title {
  margin-bottom: 52px;
}

.social-media-links {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin-bottom: 1rem;
}

@media screen and (min-width: 768px) {
  footer {
    padding: 4rem 2rem;
  }

  .footer-links {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-bottom-section {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer-title {
    max-width: 250px;
    margin-bottom: 0;
  }
}

@media screen and (min-width: 992px) {
  footer {
    padding: 6rem 7rem;
  }

  .footer-body {
    display: flex;
    justify-content: space-between;
  }

  .footer-links {
    order: 2;
    padding: 0;
  }

  .footer-bottom-section {
    order: 1;
    flex-direction: column;
    justify-content: center;
  }
}
