@import url('https://fonts.bunny.net/css2?family=Inria+Serif');
@import url('https://fonts.bunny.net/css2?family=Caveat');
@import url('https://fonts.bunny.net/css2?family=Beth+Ellen');

:root {
  --page-bg: #fffafb;
  --card-bg: #fffafb;
  --border: #ecb4cc;
  --border-soft: #d9a3b7;
  --text: #151515;
  --pink: #efa3bb;
  --pink-strong: #ff0073;
  --pink-deep: #b76a91;
  --muted: #5c5357;
  --shadow: rgba(0, 0, 0, .22);
  --photo-bg: #171415;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #0d0c0c url("/assets/blackhearts.jpg") repeat;
  color: var(--text);
  font-family: 'Inria Serif';
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: .6px;
}

html, a {
  cursor: url("/assets/heart.png"), auto;
}
a {
  color: #cf4d8e;
  text-decoration-thickness: 1px;
  text-underline-offset: .15em;
}
a:visited {
  color: #8b7c83;
}
a:hover, a:active {
  font-style: italic;
}
img {
  max-width: 100%;
}
strong {
  color: var(--pink-strong);
}
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background-color: #505455;
}
::-webkit-scrollbar-thumb {
  background-color: #ebacbf;
}

.missing-page {
  width: min(1080px, calc(100% - 1.5rem));
  margin: 1.25rem auto;
}
.missing-intro, .year-section, .missing-footer {
  background: var(--page-bg);
  border: 3px solid var(--border);
  border-radius: 5px;
}
.missing-intro {
  padding: 1.1rem 1.35rem;
  text-align: center;
  max-width: 760px;
  margin: 0.55rem auto 0;
}
.missing-intro h1 {
  margin: 0;
  color: var(--pink);
  font-family: 'Beth Ellen';
  font-size: 35px;
  line-height: 1.2;
  text-shadow: 1px 1px 1px #fff;
}
.year-section {
  margin-top: 1rem;
  padding: 1rem;
}
.year-section > h2 {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.85rem;
  color: var(--pink-deep);
  font-size: 1.35rem;
  line-height: 1.2;
  text-shadow: 1px 1px 1px #fff;
}
.year-section > h2::after {
  content: "";
  flex: 1;
  height: 3.5px;
  background: linear-gradient(to right, var(--border), transparent);
}
.wanted-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}
.wanted-card {
  min-width: 0;
  padding: 0.9rem;
  border: 1px dashed var(--border-soft);
  border-radius: 9px;
  background:
    linear-gradient(rgba(255, 255, 255, .68), rgba(255, 255, 255, .68)),
    #ffe8f1;
}
.wanted-card--wide {
  grid-column: 1 / -1;
}
.wanted-card--updated {
  border-style: solid;
  background: linear-gradient(rgba(255, 255, 255, .65), rgba(255, 255, 255, .65)), #f8e5ee;
}
.wanted-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(217, 163, 183, .65);
}
.wanted-card h3 {
  margin: 0;
  color: var(--pink-deep);
  font-family: 'Caveat';
  font-size: 24px;
  line-height: 1.2;
}
.wanted-card p {
  margin: 0.65rem 0 0;
}
.photo-set {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 0.45rem;
  margin: 0.75rem 0 0;
}
.photo-set img {
  display: block;
  width: 100%;
  height: 205px;
  padding: 0.25rem;
  object-fit: contain;
  background: var(--photo-bg);
  border: 2px solid var(--border-soft);
  border-radius: 0.55rem;
}
.photo-set--single {
  grid-template-columns: minmax(0, 1fr);
}
.photo-set--single img {
  max-width: 430px;
  height: min(360px, 58vw);
  margin-inline: auto;
}
.photo-set--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.photo-set--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.photo-set--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.photo-set--five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.photo-set--thumbnail img {
  image-rendering: auto;
}
.photo-set figcaption {
  grid-column: 1 / -1;
  margin-top: 0.05rem;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
}
.update-note {
  padding: 0.55rem 0.65rem;
  border: 2px solid var(--pink-strong);
  border-radius: 7px;
  background: rgba(255, 255, 255, .7);
}
.missing-footer {
  width: min(475px, calc(100% - 1.5rem));
  margin: 1rem auto;
  padding: 0.8rem;
  text-align: center;
}
.missing-footer a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
}
.missing-footer img {
  width: auto;
  max-height: 110px;
}

@media (max-width: 820px) {
  .wanted-grid {
    grid-template-columns: 1fr;
  }
  .wanted-card--wide {
    grid-column: auto;
  }
  .photo-set--four, .photo-set--five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  body {
    font-size: 13px;
    letter-spacing: 0.35px;
  }
  .missing-page {
    width: min(100% - 1rem, 1080px);
    margin: 0.75rem auto;
  }
  .missing-intro, .year-section {
    padding: 0.8rem;
    border-radius: 0.8rem;
  }
  .wanted-card {
    padding: 0.75rem;
  }
  .wanted-card__header {
    display: grid;
  }
  .photo-set--two, .photo-set--three, .photo-set--four, .photo-set--five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .photo-set img {
    height: 155px;
  }
  .photo-set--single img {
    height: auto;
    max-height: 420px;
  }
}

@media (max-width: 360px) {
  .photo-set--two, .photo-set--three, .photo-set--four, .photo-set--five {
    grid-template-columns: 1fr;
  }
}
