:root {
  /* Let the browser handle light and dark automatically */
  color-scheme: light dark;

  /* Two system-font stacks: sans for body, serif for headings */
  --font-body: system-ui, sans-serif;
  --font-head: "Lacquer", ui-serif, Georgia, "Iowan Old Style", serif;

  .lacquer-regular {
    font-family: "Lacquer", system-ui;
    font-weight: 400;
    font-style: normal;
  }


  /* Purple/pink palette. light-dark() picks the light value first, dark second */
  --bg: light-dark(#fffcf2, #252422);
  --text: light-dark(#252422, #fffcf2);
  --muted: light-dark(#ccc5b9, #ccc5b9);
  --accent: light-dark(hsl(17, 83%, 54%), hsl(17, 83%, 54%));
  --border: light-dark(#ecd9ec, #3a2f40);
}



*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 80rem;
  margin-inline: auto;
  padding: 0 1rem;
}

/* Site header */
header {
  text-align: center;
  padding-block: 1rem;
}

/* Navigation */
nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

/* Main content */
main {
  padding-block: 2rem;
}

/* Site footer */
footer {
  margin-top: 1rem;
  padding-block: 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
}

/* Links */
a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration: none;
}

/* Headings */
h1 {
  font-family: var(--font-head);
  line-height: .5;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 1.8rem;
  margin-top: 2.5rem;
  font-family: var(--font-head);
}

h3 {
  font-family: var(--font-head);
}
/* Images */



/* Gallery */

.wrapper {
  max-width: 100%;
  margin: 2rem auto;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 10px;
  grid-auto-flow: row;
}

.gallery img {
  display: block;
  width: 100%;
  object-fit: cover;
  background-color: hsl(0 0% 90%);
  border-radius: 15px;

}

.gallery img:hover {
  border: 3px solid hsl(17, 83%, 54%);
}