@font-face {
  font-family: "Fredoka";
  src: url("fonts/Fredoka.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("fonts/Nunito.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --cream: #f7f1dd;
  --paper: #fffaee;
  --shade: #e8cfa0;
  --ink: #472b1a;
  --terra: #b34f29;
  --terra-hi: #c45e36;
  --round: "Fredoka", "Nunito", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.55 "Nunito", system-ui, sans-serif;
}

main,
footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2 {
  font-family: var(--round);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}

h2 {
  font-size: 1.75rem;
  text-align: center;
}

a {
  color: var(--terra);
  font-weight: 700;
}

/* Hero */

.hero {
  text-align: center;
  padding-top: 28px;
}

.logo {
  display: block;
  width: min(440px, 88%);
  height: auto;
  margin: 0 auto;
}

.tagline {
  font-family: var(--round);
  font-weight: 500;
  font-size: 1.3rem;
  margin: 6px 0 22px;
}

.screen {
  border: 5px solid var(--ink);
  border-radius: 22px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 7px 0 var(--ink);
  aspect-ratio: 16 / 9;
}

.screen video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Follow and Discord */

.follow {
  margin-top: 36px;
  text-align: center;
}

.discord {
  margin-top: 40px;
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: 22px;
  box-shadow: 0 6px 0 var(--ink);
  padding: 24px 22px 28px;
  text-align: center;
}

.discord p {
  margin: 8px 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 260px;
  min-height: 56px;
  margin-top: 20px;
  padding: 10px 26px;
  border: 3px solid var(--ink);
  border-radius: 16px;
  background: var(--terra);
  color: var(--paper);
  font-family: var(--round);
  font-weight: 600;
  font-size: 1.2rem;
  text-decoration: none;
  box-shadow: 0 5px 0 var(--ink);
  transition: transform 0.08s, box-shadow 0.08s, background 0.15s;
}

.btn:hover {
  background: var(--terra-hi);
}

.btn:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--ink);
}

.btn svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

/* Socials */

.socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 4px 0 var(--ink);
  transition: transform 0.08s, box-shadow 0.08s, background 0.15s, color 0.15s;
}

.socials a:hover {
  background: var(--terra);
  color: var(--paper);
}

.socials a:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--ink);
}

.socials svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

/* Footer */

footer {
  margin-top: 56px;
  padding-bottom: 36px;
  text-align: center;
  font-size: 0.95rem;
}

footer a {
  color: inherit;
}

/* Privacy page */

.doc {
  max-width: 660px;
  margin: 0 auto;
  padding-top: 28px;
}

.doc .logo {
  width: min(220px, 60%);
  margin: 0;
}

.doc h1 {
  font-size: 2.2rem;
  margin-top: 28px;
}

.doc h2 {
  font-size: 1.35rem;
  text-align: left;
  margin-top: 32px;
}

.doc .updated {
  margin-top: 6px;
  opacity: 0.75;
}

.doc li {
  margin-bottom: 6px;
}
