header > div,
main > section.lang-container > div.languages {
  display: flex;
}

main > section.lang-container > h1,
main > section.lang-container > div.languages > a.box {
  margin: 50px 0 0 0;
}

header > div {
  padding: 20px 0 0 0;
  align-items: center;
  justify-content: center;
}

header > div > a > figure {
  padding: 20px 0 0 0;
  width: 100px;
  height: 100px;
}

main > section.lang-container > h1,
main > section.lang-container > div.languages > a {
  text-align: center;
}

main > section.lang-container > div.languages {
  flex-direction: column;
}

main > section.lang-container > div.languages > a {
  text-decoration: none;
}

main > section.lang-container > div.languages > a:hover {
  text-decoration: underline;
}

@media (min-width: 500px) {
  main > section.lang-container > div.languages {
    flex-direction: row;
    justify-content: center;
    gap: 50px;
  }
}
