:root {
  --accent: #d7a85b;
  --bg: #1c1b22;
  --fg: #e6e3dc;
  --muted: #aaa;
}

* {
  box-sizing: border-box;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--muted);
  text-decoration: underline;
}

a[rel="license"] {
  color: var(--muted);
}

address {
  font-style: normal;
}

body {
  align-items: center;
  background: var(--bg);
  color: var(--fg);
  display: flex;
  flex-direction: column;
  font-family: "Georgia", serif;
  height: 100vh;
  justify-content: start;
  margin: 0;
  padding: 0;
}

button {
  background: var(--accent);
  border: none;
  border-radius: 0.4rem;
  color: #000;
  cursor: pointer;
  font-weight: bold;
  margin: 1.5rem 0;
  padding: 0.8rem 1.2rem;
  transition: background 0.2s ease;
}

button:hover {
  background: #e7c47a;
}

footer {
  bottom: 0;
  color: var(--muted);
  flex-grow: 0;
  flex-shrink: 0;
  font-size: 0.8rem;
  line-height: 1.6;
  padding: 1rem 0 2rem 0;
  position: relative;
  text-align: center;
}

h1 {
  color: var(--accent);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

header {
  align-items: center;
  display: flex;
  flex-direction: column;
  flex-grow: 0;
  flex-shrink: 0;
}

html {
  margin: 0;
  min-height: 100%;
  padding: 0;
}

main {
  align-items: center;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  margin: 2rem 0;
  text-align: center;
  width: 100%;
}

p.seed {
  margin: 0;
  transition: opacity 350ms ease;
}

p.subtitle {
  color: var(--muted);
  font-style: italic;
  margin-top: 0;
}

.category {
  color: var(--accent);
  font-weight: bold;
}

.result {
  align-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--accent);
  border-radius: 0.6rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 600px;
  overflow: hidden;
  /* Reflect changes to padding in utils/animation.js as well */
  padding: 1.5rem;
  text-align: center;
  /* Keep this shorter than p.seed transition or refactor utils/animation.js */
  transition: height 150ms ease-out;
  width: stretch;
}

.wrapper {
  justify-content: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  margin: 0;
  margin-top: 2rem;
  height: 100%;
  padding: 0 1rem;
  width: 100%;
}
