*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
button {
  color: inherit;
}
button,
[role="button"] {
  cursor: pointer;
}
code {
  font-family:
    ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  font-size: 1em;
}
img,
svg {
  display: block;
}
img,
video {
  max-width: 100%;
  height: auto;
}

html {
  color: #fff1e8;
  background-color: #ffc500;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    "Noto Sans",
    sans-serif,
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Segoe UI Symbol",
    "Noto Color Emoji";
}

a {
  color: #ff004d;
}

.content {
  background-color: #222222;
  max-width: 720px;
  margin: 0px auto;
  padding: 24px;
}

.center {
  text-align: center;
}

img.cover {
  max-width: 280px;
  margin: 0 auto 12px;
}

img.center {
  text-align: center;
  margin: 16px auto;
}

.subtitle {
  font-weight: bold;
  font-style: italic;
  font-size: 18px;
}

h1,
h2,
h3,
h4 {
  margin: 18px 0 10px;
}

p {
  margin: 12px 0;
}

section {
  margin: 24px 0;
}

.buy-links {
  display: block;
  list-style: none;
  padding: 0;
  text-align: center;
  max-width: 400px;
  margin: 32px auto 48px;
}

.buy-links li {
  margin: 8px 0;
  border-radius: 8px;
}

.buy-links a {
  color: white;
  text-decoration: none;
  width: 100%;
  display: block;
  height: 100%;
  padding: 12px;
  font-weight: bold;
}

.buy-links .leanpub {
  background: #372ea0;
}

.buy-links .itch {
  background: #fa5c5c;
}

.buy-links .amazon {
  background: #ff9900;
}

.buy-links .apple {
  background: #000000;
}

.buy-links .kobo {
  background: rgb(191, 0, 0);
}

.buy-links .bn {
  background: rgb(62, 89, 98);
}

.buy-links .bookshop {
  background: rgb(127, 72, 217);
}

img.author-photo {
  max-width: 160px;
  border-radius: 50%;
  margin: 0 auto 12px;
}

.social-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-links li {
  margin: 0;
}
