/* Go
 * Licence: plushgirlsdozen.com/font/LICENCE-Go.txt
 */
@font-face {
  font-family: "Go";
  font-style: normal;
  font-weight: 400;
  src: url("/font/Go-Regular.ttf");
}

@font-face {
  font-family: "Go";
  font-style: normal;
  font-weight: 800;
  src: url("/font/Go-Bold.ttf");
}

@font-face {
  font-family: "Go Mono";
  font-style: normal;
  font-weight: 400;
  src: url("/font/Go-Mono.ttf");
}

/* Inria Serif
 * Licence: plushgirlsdozen.com/font/LICENCE-InriaSerif.txt
 */
@font-face {
  font-family: "InriaSerif";
  font-style: normal;
  font-weight: 400;
  src: url("/font/InriaSerif-Regular.otf");
}

@font-face {
  font-family: "InriaSerif";
  font-style: normal;
  font-weight: 800;
  src: url("/font/InriaSerif-Bold.otf");
}

@font-face {
  font-family: "InriaSerif";
  font-style: italic;
  font-weight: 400;
  src: url("/font/InriaSerif-Italic.otf");
}

@font-face {
  font-family: "InriaSerif";
  font-style: italic;
  font-weight: 800;
  src: url("/font/InriaSerif-BoldItalic.otf");
}

/* belly.. */

* {
  --dark-colour: #1a1c2c;
  --bright-colour: #f4f4f4;
  --highlight-1: #dc273e;
  --highlight-2: #6577df;
  --p8-dark: #222222;
  --tic-dark: #1a1c2c;
}

html {
  background:
  /*
  linear-gradient(
      in oklab 342deg,
      oklab(from var(--highlight-2) 0.9 a b),
      transparent 15%
    ),
    linear-gradient(
      in oklab 250deg,
      oklab(from var(--highlight-1) 0.9 a b),
      transparent 10%
    ),
    linear-gradient(
      in oklab 32deg,
      oklab(from var(--highlight-1) 1 a b),
      transparent
    ),
    linear-gradient(
      in oklab 151deg,
      oklab(from var(--highlight-2) 1 a b),
      transparent
    ),*/ var(
    --bright-colour
  );
}

body {
  color: var(--dark-colour);

  max-width: 1200px;
  margin: 0 auto;

  font-size: 18pt;
  font-family: "InriaSerif", serif;
}

h2 {
  padding-left: 8px;
  color: var(--highlight-1);
}
h3 {
  color: var(--highlight-2);
}

a:link {
  color: var(--highlight-1);
  text-decoration-style: dotted;
  text-underline-offset: 0.25ex;
}

a:link:hover {
  color: #fc475e;
}

img.pixel {
  image-rendering: crisp-edges;
}

body > p {
  margin-left: 1em;
  margin-right: 1em;
  max-width: 40em;
  line-height: 1.5;
}

a.big-button {
  display: block;
  margin: 20px 0 20px 40px;
  max-width: 600px;
  padding: 8px 8px 8px 1em;
  font-size: 24pt;
  color: var(--bright-colour);
  background: #dc273e;
  text-decoration: none;
  font-family: "Go", sans-serif;
}

a.big-button:hover {
  background: #fc475e;
  color: var(--bright-colour);
}

a.small-button {
  display: inline-block;
  margin: 4px;
  max-width: 400px;
  padding: 4px 8px 4px 8px;
  font-size: 18pt;
  color: var(--bright-colour);
  background: #dc273e;
  text-decoration: none;
  font-family: "Go", sans-serif;
}
a.small-button:hover {
  background: #fc475e;
  color: var(--bright-colour);
}
footer {
  height: 200px;
}

div#list-of-games {
  display: flex;
  flex-direction: column-reverse;
}

div.game-entry {
  display: flex;
  flex-direction: row;
  padding: 10px;
}

@media (max-width: 800px) {
  div#list-of-games {
    gap: 6ex;
  }
  div.game-entry {
    flex-direction: column;
  }
}

div.game-info {
  padding: 10px;
  flow-direction: column;
}

div.game-info > div {
}
div.game-image {
  flex: 0 0 384px;
}
div.game-image > img {
  max-width: 384px;
  width: 100%;
}
div.game-info > h3 {
  font-size: 32pt;
  margin: 0;
}
div.game-info > dl {
  font-family: "Go Mono", monospace;
  font-size: 16pt;
}
div.game-info > dl > dt {
  color: var(--highlight-1);
}
