@font-face {
  font-family: 'Trade Winds';
  src: url('tradewinds.woff2') format('woff2'),
    url('tradewinds.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Leander';
  src: url('leander.woff2') format('woff2'), url('leander.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

html {
  -webkit-print-color-adjust: exact;
}
html,
body {
  padding: 0;
  margin: 0;
}
body {
  text-align: justify;
  background-color: #1c1817;
}
body,
table {
  font-family: 'Leander';
  color: #756357;
  font-size: 14px;
}
h1,
h2,
h3,
strong {
  font-family: 'Trade Winds';
}
main {
  width: 210mm;
  height: 297mm;
  margin: 0 auto;
  padding: 8mm 12mm;
  box-sizing: border-box;
  background-color: #ffffff;
  background-image: url('background.jpg');
  background-size: 100% 100%;
  position: relative;
}

h1,
hr,
p,
table {
  mix-blend-mode: multiply;
}

section {
  column-count: 3;
  column-gap: 6mm;
  vertical-align: top;
}
section p:first-of-type {
  margin-top: 0;
}

h1,
h3,
small {
  text-align: center;
}
h1 {
  font-weight: 300;
  color: #fff;
  padding: 2px 0;
  margin: 16px auto 0;
  background: url('https://s2.svgbox.net/pen-brushes.svg?ic=brush-1&color=ad1f1f');
  background-position: 0 -4px;
  background-repeat: no-repeat;
}

h3 {
  font-weight: 300;
  margin: 10px auto 0;
  color: #1f1714;
}

small {
  display: block;
  font-style: italic;
  color: #624a37;
}

a,
.red {
  color: #ad1f1f !important;
}
a {
  text-decoration: none;
}
a:hover {
  color: #d92626;
}

.black,
strong,
em {
  color: #1f1714;
}
em {
  font-style: normal;
  font-weight: bold;
  background: url('https://s2.svgbox.net/pen-brushes.svg?ic=brush-1&color=ddd8d5');
  background-repeat: no-repeat;
  background-size: 100% 80%;
  background-position: center center;
  padding: 0 4px;
  margin: 0 -4px;
  white-space: nowrap;
}

strong {
  background: url('https://s2.svgbox.net/pen-brushes.svg?ic=brush-1&color=d92626');
  background-position: 0 17px;
  background-repeat: no-repeat;
  background-size: 100% 3px;
}

hr {
  overflow: visible;
  height: 1px;
  background: url('https://s2.svgbox.net/pen-brushes.svg?ic=brush-1&color=756357');
  padding: 0;
  border: none;
  color: #756357;
  text-align: center;
  margin: 0.6cm 2cm;
}
hr:after {
  content: '•';
  display: inline-block;
  position: relative;
  top: -10px;
  font-size: 10px;
  padding: 0 8px;
  background: white;
  border-radius: 100%;
}
hr:first-of-type:after {
  content: '⎈';
}

table {
  border-collapse: collapse;
  width: 100%;
  break-inside: avoid-column;
  margin-left: -2mm;
}
table td:first-of-type {
  text-align: center;
  color: #1f1714;
  width: 0.5cm;
}
table td {
  padding: 1mm 2mm;
}
table tr {
  background: url('https://s2.svgbox.net/pen-brushes.svg?ic=brush-1&color=d1cbc7');
  background-repeat: no-repeat;
  background-size: 100% 2px;
  background-position: 0 bottom;
}
table tr:last-of-type {
  background-image: none;
}

@media screen and (max-width: 210mm) {
  body {
    text-align: left;
  }
  main {
    max-width: 210mm;
    width: auto;
    height: auto;
    background-size: cover;
    background-position: bottom;
  }
  h1 {
    padding: 8px 16px;
    margin-left: -8mm;
    margin-right: -8mm;
  }
  section {
    column-count: 1;
  }
  table tr {
    background-position: -16px bottom;
  }
  table tr:last-of-type {
    background-image: url('https://s2.svgbox.net/pen-brushes.svg?ic=brush-1&color=d1cbc7');
  }
}

/* Printer Friendly */
/* body {
  background-color: #ffffff;
}
main,
em {
  background-image: none !important;
} */
