:root {
  --page-width: 850px;
  --header-height: max(6vh, 80px);
  --footer-height: max(3vh, 40px);
}

body {
  display: flex;
  flex-direction: column;
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  font-size: 20px;
  background-color: #333;
  color: #fff;
}

header {
  display: flex;
  background-color: #111;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
}

header h1 {
  display: flex;
  align-items: center;

  margin: 0 auto;
  padding: 0;
  max-width: var(--page-width);
  width: 100%;

  font-family: system-ui;
  font-size: 50px;
  line-height: 80px;
}

header h1 img {
  width: 60px;
  margin: 0;
  margin-right: 20px;
}

article {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: var(--footer-height);
}

.container {
  margin: 0 auto;
  padding: 4vw;
  max-width: var(--page-width);
  max-height: 100%;
  background-color: #555;
  box-sizing: border-box;
  overflow-y: auto;
}

.container img {
  margin: 20px 0 40px 0;
  max-width: 100%;
  width: 100%;
}

table {
  border-collapse: collapse;
  font-size: 16px;
}

th, td {
  border: solid 1px #555;
  padding: 6px 30px;
  font-weight: normal;
}

td[center] {
  text-align: center;
}

th {
  text-align: left;
  background-color: #333;
}

td[ok] {
  background-color: rgb(176, 255, 169);
  color: #000;
}

td[ok]:after {
  content: '✔';
}

td[ko] {
  background-color: rgb(255, 145, 145);
  color: #000;
}

td[ko]:after {
  content: '✖';
}

footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;

  display: flex;
  justify-content: center;
  align-items: center;

  height: var(--footer-height);
  padding: 0;
  background-color: #111;
  /* font-size: max(2.5vh, 14px); */
  font-size: min(calc(1vh + 1vw), 22px);
  box-sizing: border-box;
}

@media screen and (max-width: 850px) {

  header h1 {
    padding: 0 4vw;
  }
}
