/* Estilos generales */

footer {
  background-color: var(--color1);
  text-align: center;
  padding: 4rem 1.5rem 2rem;
  color: var(--color11);
  margin: 0 auto;
  scroll-margin-top: 100px;
}

.contenedor-footer {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.footer-bloque {
  margin: 1rem 0rem;
}

.footer-bloque img {
  display: inline;
}

.footer-bloque p {
  font-size: 1.1rem;
  margin: 2rem 0rem;
  line-height: 1.5rem;
}

.footer-bloque ul li a,
.footer-contacto a,
.redes a {
  color: var(--color11);
  text-decoration: none;
  line-height: 1.8rem;
}

.footer-menu ul li a:hover,
.footer-contacto a:hover,
.redes a:hover {
  text-decoration: underline;
}

.footer-bloque h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.contacto {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.contacto li {
  display: flex;
  justify-content: center;
}

.contacto a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  white-space: nowrap;
}

.contacto img {
  width: 20px;
}

.footer hr {
  border: none;
  border-top: 1px solid var(--color11);
  margin: 1rem 0;
}

#email-text a {
  color: var(--color11);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  padding-left: 0.5rem;
  font-size: 1rem;
}

#email-text a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .footer-menu {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 1rem 4rem;
    justify-content: center;
    padding-left: 0;
    list-style: none;
    text-align: left;
  }

  .footer-bloque p {
    font-size: 1.1rem;
    line-height: 1.8rem;
  }

  .footer-bloque h4 {
    font-size: 1.2rem;
  }

  .footer-bloque ul li a,
  .footer-contacto a,
  .redes a {
    color: var(--color11);
    text-decoration: none;
    line-height: 2.2rem;
    font-size: 1.1rem;
  }

#email-text a {
  display: inline-flex;
  align-items: center;
  font-size: 1.1rem;
}

#email-text a:hover {
  text-decoration: underline;
}


}

@media (min-width: 1024px) {
  .contenedor-footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
  }

  .footer-bloque {
    flex: 1;
    margin: 0;
  }

  .footer-bloque img {
    max-width: 200px;
    height: auto;
  }

  .footer-bloque p {
    margin-top: 1rem;
    font-size: 1.1rem;
    line-height: 1.5;
  }

  .footer-bloque:not(:last-child) {
    border-right: 1px solid var(--color11);
    padding-right: 2rem;
  }

  .footer-bloque:not(:first-child) {
    padding-left: 2rem;
  }

  .contacto {
  gap: 0rem;
  align-items:start;
}

  .contacto li {
    margin-bottom: 0.5rem;
  }

  .contacto a {
    justify-content: flex-start;
  }

  .contacto img {
    margin-right: 0.5rem;
    width: 20px;
    height: auto;
  }

  .footer-menu {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 0.5rem 4rem;
    padding-left: 0;
    list-style: none;
    justify-content: flex-start;
  }
}

