/*
==========
Styles for footer.
==========
*/

.footer {
  width: 100%;
  background-color: var(--lightskyblue-color);
  color: var(--white-color);
  line-height: 1.6;
}

.footer__logos {
  padding: 40px 20px 20px;
  text-align: center;
}

.footer__logos-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2em;
}

.footer__logo {
  height: 60px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.footer__legal {
  text-align: center;
  padding: 15px 20px;
  color: var(--white-color);
}

.footer__legal a{
  color: var(--white-color);
  transition: all ease-in-out .3s;
}

.footer__legal a:hover{
  color: var(--white-color-transparent);
  transition: all ease-in-out .3s;
}

.footer__main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 50px 20px 30px;
  gap: 2em;
  flex-wrap: wrap;
}

.footer__about {
  flex: 1 1 300px;
}

.footer__about-logo {
  width: 300px;
  height: auto;
}

.footer__about-logo img {
    width: 150px;
    height: auto;
  }

.footer__about-text {
  color: var(--white-color);
}

.footer__nav {
  flex: 1 1 200px;
}

.footer__nav-title {
  font-size: 16px;
  margin-bottom: 10px;
}

.footer__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__nav-link {
  display: block;
  color: var(--white-color);
  text-decoration: none;
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

.footer__nav-link:hover {
  color: var(--white-color-transparent);
}

.footer__social {
  flex: 1 1 150px;
}

.footer__social-title {
  margin-bottom: 10px;
}

.footer__social-icons {
  display: flex;
  gap: 10px;
}

.footer__social-icons a{
    color: var(--white-color);
    text-decoration: none;
}

.footer__social-icons .icon{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
}

.footer__social-icons .icon svg{
    fill: var(--white-color);
    width: 100%;
    height: 100%;
}

.footer__social-link img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.footer__social-link:hover img {
  transform: scale(1.2);
}

.footer__rights {
  text-align: center;
  padding: 10px 20px;
  color: var(--white-color);
}

.footer__developer-link {
  color: var(--white-color);
  text-decoration: none;
}

.footer__developer-link:hover {
  color: var(--white-color-transparent);
}

@media (max-width: 992px) {
  .footer__main {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .footer__about,
  .footer__nav,
  .footer__social {
    flex: 1 1 100%;
    text-align: center;
  }

  .footer__social-icons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer__about-logo {
    width: 200px;
    height: auto;
  }

  .footer__about-logo img {
    width: 200px;
    height: auto;
  }

  .footer__logo {
    height: 50px;
  }
}