.main-footer {
  background-color: #243447;
  color: #e2e2d2; 
  padding: 3rem 0 1.5rem 0;
  margin-top: 4rem;
  text-align: center;
}

.footer__logo {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.footer__logo-img {
  height: 50px;
  width: auto;
}

.footer__description {
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 40ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

.footer__title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer__nav,
.footer__social {
  margin-bottom: 2rem;
}

.footer__menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__menu li {
  margin-bottom: 0.5rem;
}

.footer__link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: #C51F5D;
}

.footer__divider {
  border: none;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.15);
  margin: 1.5rem auto;
}

.footer__bottom p {
  font-size: 0.85rem;
  opacity: 0.7;
}

.footer__credit {
  margin-top: 0.5rem;
  font-size: 0.8rem;
}

.footer__credit a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s ease;
}

.footer__credit a:hover {
  color: #FFFFFF;
}

@media (min-width: 768px) {
  .main-footer {
      text-align: left;
  }
  
  .footer__top {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 2rem;
  }

  .footer__brand-info {
      flex: 2;
      margin-bottom: 0;
  }

  .footer__description {
      margin-left: 0;
      margin-right: 0;
  }

  .footer__nav,
  .footer__social {
      flex: 1;
      margin-bottom: 0;
  }

  .footer__bottom {
      text-align: center;
  }

  .footer__logo-img {
    height: 60px;
    width: auto;
  }

}