footer {
  position: relative;
  width: 100%;
  height: 200px;
  background-color: var(--negroBrillo);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.principalFooter {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  width: calc(100% - 20px);
}

.footerSections {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  width: calc(100% / 3 - 20px);
}

.footerLogo {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 10px;
  width: calc(100% / 3 - 20px);
}

.footerLogo img {
  width: 100px;
}

.subFooter {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background-color: var(--morado);
  width: calc(100% - 20px);
  color: var(--negroBrillo);
}

.subFooter img {
  width: 150px;
  margin-left: 10px;
}

.footerSections a {
  margin-bottom: 20px;
  padding-left: 10px;
  border-left: 1px solid var(--morado);
}

.footerSections a:hover {
  border-left: 1px solid var(--verde);
}

/* Media Queries */
@media (max-width: 768px) {
  footer {
    height: 400px;
  }

  .principalFooter {
    flex-direction: column;
  }

  .footerSections {
    width: calc(100% - 20px);
    margin-bottom: 10px;
    align-items: center;
    margin-top: 10px;
  }

  .footerLogo {
    width: calc(100% - 20px);
  }

  .subFooter {
    font-size: 0.8em;
  }

  .subFooter img {
    width: 100px;
  }
}
