/* The "How to play" pages (how-to-play.html, comment-jouer.html): plain pages search engines can read. */
/* Copies of the game's fonts (src/fonts, latin only), since these pages don't load the game's styles. */
@font-face {
  font-family: 'Patrick Hand';
  font-display: swap;
  src: url(/fonts/patrick-hand-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Permanent Marker';
  font-display: swap;
  src: url(/fonts/permanent-marker-latin.woff2) format('woff2');
}
body {
  margin: 0;
  background-color: #fbfbf8;
  background-image: linear-gradient(#dfe7f3 1px, transparent 1px), linear-gradient(90deg, #dfe7f3 1px, transparent 1px);
  background-size: 28px 28px;
  color: #2b2d35;
  font-family: 'Patrick Hand', 'Comic Sans MS', 'Segoe Print', cursive;
  font-size: 19px;
  line-height: 1.45;
}
main {
  background: #fff;
  border: 2px solid #2b2d35;
  border-radius: 14px;
  box-shadow: 4px 5px 0 #2b2d35;
  max-width: 760px;
  margin: 32px auto;
  padding: 24px 36px 28px;
}
header { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
header img { width: 64px; height: 64px; }
h1, h2, .play { font-family: 'Permanent Marker', 'Patrick Hand', cursive; font-weight: 400; }
h1 { margin: 0; font-size: 40px; }
.tagline { margin: 4px 0 0; color: #5c5f6b; }
h2 { margin: 28px 0 6px; border-bottom: 2px dashed #dfe7f3; }
h3 { margin: 18px 0 4px; font-size: 22px; }
a { color: #2b2d35; }
.play {
  display: inline-block;
  margin: 18px 0 4px;
  padding: 10px 28px;
  background: #e8584a;
  color: #fff;
  font-size: 22px;
  text-decoration: none;
  border: 2px solid #2b2d35;
  border-radius: 12px;
  box-shadow: 3px 4px 0 #2b2d35;
}
.play:hover { transform: translateY(-1px); }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 4px 10px 4px 0; vertical-align: top; }
th { white-space: nowrap; }
kbd {
  font-family: inherit;
  border: 1.5px solid #2b2d35;
  border-radius: 5px;
  padding: 0 5px;
  background: #fbfbf8;
}
dt { font-weight: bold; margin-top: 12px; }
dd { margin: 2px 0 0; }
footer { margin-top: 32px; color: #5c5f6b; font-size: 16px; }
@media (max-width: 720px) {
  main { margin: 12px; padding: 18px 20px; }
  h1 { font-size: 32px; }
}
