html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


:root {
  --content-width: 100ch;
}

ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 1rem 0;
}

body {
  background-color: #ffffff;
  display: grid;
  grid-template-columns: 1fr minmax(0, var(--content-width)) 1fr;
  grid-template-rows: 50ch 1fr 0fr;
  min-height: 100vh;
  font-family: sans;
}

.content {
  max-width: 120ch;
  margin: 0 auto;
  width: 100%;
  background-color: #ffffff;
}

main {
  grid-column: 2;
  grid-row: 2;
  box-sizing: border-box;
  padding: 2em;
}

footer {
  grid-column: 2;
  grid-row: 3;
  padding: 2em;
  text-align: center;
  box-sizing: border-box;
}

header {
  grid-column-start: 1;
  grid-column-end: 4;
  grid-row: 1;
  background-image: url(img/title.jpg);
  background-size: 100% auto;
  color: #ffffff;
  text-align: center;

  box-sizing: border-box;
  padding-right: 3ch;
  padding-bottom: 2ch;
  
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding-inline: max(1rem, calc((100vw - var(--content-width)) / 2));
}

header a {
  text-decoration: none;
  color: inherit;
  display: block;
}

main {
  line-height: 1.5;
}

h1, h2, h3, h4, p {
  margin-block: 1rem;
}

h2, h3, h4, h5 {
  font-weight: bold;
}

header h1, header p#subtitle {
  margin-block: 0;
}

h1 {
  font-size: 30pt;
  font-weight: 900;
}

h2 {
  font-size: 20pt;
  font-weight: bold;
}

p#subtitle {
  font-size: 20pt;
}

h3 {
  font-size: 18pt;
}

h4 {
  font-size: 16pt;
}

h5 {
  font-size: 15pt;
}

a {
  text-decoration: none;
  color: #ca480e;
}
