:root {

  /* change color combinations here
  --color-bg: #3b0764;
  --color-fg: #ffd166;

  --color-bg: #FFF;
  --color-fg: #000;

  --color-bg: #FAF3E0;
  --color-fg: #008080;

  --color-bg: #78237B;
  --color-fg: #EEEE95;
  */
  --color-bg: #C3F8CE;
  --color-fg: #9D0B12;
}

@font-face {
  font-family: "HenryPenny";
  src: url("fonts/HennyPenny-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background-color: var(--color-bg);
  color: var(--color-fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--color-fg);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

a:hover,
a:focus {
  text-decoration-thickness: 2px;
}

b {
  font-weight: 700;
}

.site-header {
  padding: clamp(2rem, 8vw, 5rem) 1rem 1rem;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.title {
  margin: 0;
  text-align: center;
  font-family: "HenryPenny", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(2rem, 8vw, 5rem);
  line-height: 1.1;
  letter-spacing: 0.15em;
  cursor: default;
}

.title .z-layer:not(:first-child) {
  filter: brightness(0.55);
}

main {
  flex: 1;
  width: 100%;
  max-width: 50rem;
  margin: 0 auto;
  padding: 1rem 1.5rem 3rem;
}

main section {
  margin-bottom: 2.5rem;
}

.share {
  margin-top: 10rem;
}

main h2 {
  font-size: 1.3rem;
  border-bottom: 1px solid var(--color-fg);
  padding-bottom: 0.3rem;
}

main ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

main li {
  margin: 0.5rem 0;
}

main code {
  background: rgba(255, 255, 255, 0.12);
  padding: 0.1em 0.4em;
  border-radius: 0.3em;
  font-size: 0.9em;
}

.intro {
  max-width: 42rem;
  margin: 0 auto;
}

.intro p {
  font-size: 1.05rem;
  line-height: 1.75;
}

.intro .highlight {
  margin-top: 2rem;
  margin-bottom: 0.2rem;
  padding-left: 1.2rem;
  border-left: 0.25rem solid var(--color-fg);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
}


@media (min-width: 48rem) {
  .links-row {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
  }

  .links-col {
    flex: 1;
    min-width: 0;
  }
}

.image-collection {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  max-width: 50rem;
  margin: 0 auto;
}

.image-collection img {
  max-width: 100%;
  max-height: 8rem;
  width: auto;
  height: auto;
}

