/* Alata ships with the site rather than coming from Google Fonts. */
@font-face {
  font-family: "Alata";
  src: url("/static/alata.woff2") format("woff2");
  font-display: swap;
}

:root {
  --bg: #0b0a17;
  --text: #f3fbfb;
  --muted: #8d8c99;
  --accent: #fba62c;
  --rule: #3a3946;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 Arial, Helvetica, sans-serif;
}

a { color: inherit; }

header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 8px 24px;
  font-family: "Alata", sans-serif;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 26px;
  text-decoration: none;
}

.brand img { border-radius: 50%; }

nav { display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 17px; }
nav a { text-decoration: none; }
nav a:hover, nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; }

main {
  max-width: 1140px;
  margin: 0 auto;
  padding: 24px 24px 64px;
}

h1 {
  margin: 24px 0 48px;
  font: 700 46px/1.3 "Alata", sans-serif;
}

h2 { margin: 40px 0 12px; font-size: 22px; line-height: 1.3; }
h3 { margin: 28px 0 8px; font-size: 18px; }

li { margin: 6px 0; }

.screenshot { display: block; width: 100%; max-width: 760px; height: auto; margin: 32px 0; }

.languages {
  padding: 16px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-family: "Alata", sans-serif;
}

/* Home: the title, game art and store badges in one centred column. */
.home main { text-align: center; }
.home h1 { color: var(--accent); }
.hero { display: block; width: 100%; max-width: 365px; height: auto; margin: 0 auto 32px; }
.stores { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.stores img { display: block; width: 240px; height: auto; }

@media (max-width: 600px) {
  header, nav { justify-content: center; }
  h1 { font-size: 34px; margin-bottom: 32px; }
}
