* {
  box-sizing: border-box;
}

header,
main,
article,
figure,
figcaption,
footer {
  display: block;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", "·L³n¥¿¶ÂÅé", sans-serif;
  margin: 0;
  background-color: #eee;
  color: #212529;
}

header {
  color: white;
  text-align: center;
}

header h1 {
  background-color: #338ee0;
  margin: 0;

  font-size: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px 15px;
}

header h2 {
  background-color: #2dc8f7;
  margin: 0;

  font-size: 16px;
  height: 30px;
  line-height: 30px;
}

main {
  min-height: 500px;
  min-height: 80vh;
  width: 100%;
  padding: 20px 30px;
  padding-bottom: 100px;
  margin: 0 auto;

  background-color: #fff;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;

  overflow-wrap: anywhere;
}

main p:first-child {
  margin-top: 0;
}

main figure {
  margin: 0;
  margin-top: 60px;
  text-align: center;
}

main figure img {
  height: auto;
  max-width: 100%;
}

main figure figcaption {
  font-size: 20px;
}

main figure figcaption::before {
  content: "¡¶";
  margin-right: 5px;
}

article {
  font-size: 20px;
}

footer {
  background-color: #338ee0;
  color: white;

  height: 80px;

  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 50px;
}

footer .lh-icon {
  width: 60px;
  height: 65px;
}

footer .footer-lh {
  font-size: 20px;
  padding: 0 20px;
}

table {
  border-collapse: collapse;
  margin: 0 auto;
  margin-top: 30px;
  min-width: 25vw;
}

table,
tr,
th,
td {
  border: 2px solid #999;
}

td,
th {
  padding: 0.3em 0.75em;
}

th {
  background: #333;
  color: white;
}

@media (max-width: 576px) {
  table {
    font-size: 18px;
  }
}

@media (min-width: 576px) {
  main {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  main {
    max-width: 720px;
  }
  main figure {
    margin-left: 10%;
    margin-right: 10%;
  }
  footer {
    justify-content: flex-end;
  }
}

@media (min-width: 992px) {
  main {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  main {
    max-width: 1140px;
  }
}
