:link {
  text-decoration-line: overline;
}

:focus {
  box-shadow: 0 0 1ex 1ex;
  outline: thick double;
  text-decoration-style: dashed;
  text-decoration-line: line-through;
}

:hover {
  text-decoration-style: double;
}

html {
  font-family: sans-serif;
  font-size: max(2em, 2vmax + 3vmin);
  line-height: calc(10 / 6);
}

body {
  margin: 1ex auto;
  overflow-wrap: anywhere;
}

article {
  contain: layout;
  display: flex;
  flex-wrap: wrap;
}

:target article {
  flex-wrap: nowrap;
}

p {
  box-sizing: border-box;
  contain: layout;
  flex-basis: 100%;
  margin: auto;
  padding: 1em;
}

h1 {
  contain: strict;
  font-size: 0;
}
