footer {
  width: 100%;
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
  padding: 10px;
  min-height: 100px;
}
@media screen and (min-width: 800px) {
  footer {
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: flex-start;
  }
}
footer > a {
  height: 100%;
  display: block;
}
footer img {
  height: 160px;
  max-height: 100%;
  object-fit: contain;
}
footer > article {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 5px;
  padding: 0 5px;
  width: 100%;
}
@media screen and (min-width: 800px) {
  footer > article {
    width: fit-content;
  }
}
footer > article > h4 {
  margin: 5px 0;
  font-family: Montserrat, sans-serif;
  font-size: 19px;
  font-weight: 800;
  text-transform: uppercase;
}
footer > article > div {
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
@media screen and (min-width: 800px) {
  footer > article > div {
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    width: fit-content;
  }
}
footer > article > div > a,
footer > article > p {
  text-decoration: none;
  font-size: 13px;
  font-family: Montserrat, sans-serif;
}
footer > article > p {
  align-self: flex-end;
}
#newsLetterContainer {
  width: 100%;
}
@media screen and (min-width: 800px) {
  footer > article > p {
    align-self: normal;
  }
  #newsLetterContainer {
    max-width: 300px;
    padding-left: 10px;
    border-left: 1px solid var(--heritageWhite);
  }
}
#newsLetterInput {
  box-sizing: border-box;
  width: 100%;
  height: 30px;
  background-color: transparent;
  border: 1px solid var(--heritageWhite);
  padding: 0 5px;
  color: var(--heritageWhite);
}
#newsLetterLegal {
  font-size: 7px;
  font-family: Montserrat, sans-serif;
}

footer > article > h4,
footer > article > div > a,
#newsLetterLegal {
  color: var(--heritageWhite);
  transition: all 0.3s ease;
}

footer > article > div > a:hover {
  color: var(--heritageRed);
}
