/**
 * @file
 * The footer components.
 *
 * It includes styles for the footer itself and its
 * components.
 */

/**
 * Global footer rules
 */

.main-footer {
  margin-top: auto;
  padding: 0 clamp(12px, 7vw - 14.4px, 70px);
}
@media (min-width: 1200px) {
  .main-footer {
    margin-top: auto;
    padding: 0 70px;
  }
}

/**
 * Main Footer
 */

.main-footer__content {
  background-color: var(--color-neutral--1);
  padding: 1.5rem 1rem;
}
.main-footer__content p,
.main-footer__content a {
  color: var(--color-white);
  padding: 0;
  margin: 0;
}
.main-footer__wrapper {
  display: grid;
  gap: 1rem;
}
.main-footer__wrapper .main-footer__left,
.main-footer__wrapper .main-footer__middle,
.main-footer__wrapper .main-footer__right {
  padding: 1.5rem;
  display: grid;
  gap: .5rem;
  height: fit-content;
  width: 100%;
  max-width: 400px;
}
.main-footer__right a {
  text-decoration: underline;
}
.main-footer__logo {
  padding: 0 1.5rem;
}
.main-footer__wrapper .title_footer {
  font-size: var(--content-size--l);
  font-weight: 800;
  line-height: 140%;
}
p.email_footer,
p.tel_footer {
  padding: 8px 0px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.email_footer::before,
.tel_footer::before {
  content: "";
  width: 43px;
  height: 43px;
  background-repeat: no-repeat;
}
.email_footer::before {
  background-image: url('../../images/footer/solar_email.svg');
}
.tel_footer::before {
  background-image: url('../../images/footer/solar_phone.svg');
}
@media all and (min-width: 650px) {
  .main-footer__wrapper {
    grid-template-columns: auto auto;
    gap: 1.5rem;
  }
}
@media all and (min-width: 1000px) {
  .main-footer__wrapper {
    display: flex;
    gap: 2rem;
  }
}
@media all and (min-width: 1350px) {
  .main-footer__content {
    padding: 3rem 4rem;
  }
}


/**
 * Footer menu
 */

.main-footer__menu {
  padding: 1.25rem 1.5rem;
}
.main-footer__menu-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}
@media all and (min-width: 700px) {
  .main-footer__menu-wrapper {
    flex-direction: row;
    justify-content: center;
  }
}
