:root {
  /* Let the browser handle light and dark automatically */

  /* Two system-font stacks: sans for body, serif for headings */
  --font-body: "Chela One", system-ui;
  --font-head: "Chela One", Georgia, "Iowan Old Style", serif;

  /* Purple/pink palette. light-dark() picks the light value first, dark second */
  --bg: (#fdf4fa);
  --text: (#660c72);
  --muted: (#6f5d77);
  --accent: (#a21caf);
  --border: (#ecd9ec);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Chela One", system-ui;
  color: #7c6500;
  background-image: url("https://sneakydeath.com/img/tiled%20background%20small.png");
  background-size: 275px;
  font-size: 1.8rem;
  line-height: 0.2;
  max-width: 65rem;
  margin-inline: auto;
  padding: 1rem;
}

/* Site header */
header {
  color: #302500;
  text-align: center;
  padding-block: 1rem;
  background-color: #e9d97eec;
  margin: auto;
}

/* Navigation */
nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  background-color: #e9d97eec;
}

/* Main content */
main {
  font-family: "Chela One", system-ui;
  padding: 2rem;
  background-color: #e9d97eec;
  text-align: center;
  font-size: 1.2rem;
  line-height: 2rem;
  display: flex;
  flex-wrap: wrap;
}

/* Site footer */
footer {
  margin-top: 4rem;
  padding-block: .5rem;
  text-align: center;
  color: var(--muted);
  background-color: #e9d97eec;
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
}

/* Links */
a {
  color: #daa700;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration: none;
  color: #792600;
}

/* Headings */
h1,
h2 {
  font-family: "Chela One", system-ui;
  line-height: 1.1;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 1.8rem;
  margin-top: 2.5rem;
}

img {
  max-width: 30%;
  margin: 10px;
  border: #6f5d77;
  border-style: solid;
  border-radius: 10px;
  height: auto;
}

button {
  font-size: 1.5rem;
  font-family: "Chela One", system-ui;
  border-radius: 0;
  background-color: #daa700;
  color:#792600;
  border-color: #792600;
}

button:hover {
  background-color: #792600;
  color: #daa700;
}

.gallery {
  display: flex;
  flex: auto;
  padding: 2rem;
}
