/* Sketch dump collage: the look. Used by template.html here and by the pages on ametrien.dev. */
* { box-sizing: border-box; }
/* #808080: the gray Ametrien picked (same as SAI's canvas background) */
html, body { margin: 0; background: #808080; }
body {
  color: #f2f2f2;
  font: 15px/1.4 -apple-system, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}

/* laid out on a fixed 2000 px board, scaled down to the window */
#wrap { position: relative; width: 100%; }
#board {
  position: absolute; top: 0; left: 0;
  width: 2000px;
  padding: 44px 48px 48px;
  transform-origin: 0 0;
}

header { text-align: center; margin-bottom: 26px; }
h1 { margin: 0; font-size: 34px; font-weight: 700; letter-spacing: .01em; }
.sub { margin: 4px 0 0; color: #dedede; font-size: 18px; }

h2 {
  height: 40px; margin: 0 0 10px;
  display: flex; align-items: flex-end; justify-content: center;
  font-size: 17px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em;
  color: #ececec;
}

.cols, .side { display: flex; align-items: flex-start; }
.row { display: flex; gap: 14px; margin-bottom: 14px; }
.row:last-child { margin-bottom: 0; }

/* frame like the SAI Pen README pictures: rounded, thin light rim, one soft shadow falling down */
.pic {
  position: relative; flex: none; cursor: zoom-in;
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(0,0,0,.47);
}
.pic::after {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
  pointer-events: none;
}
.pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* the date on the picture */
.pic span {
  position: absolute; left: 8px; bottom: 8px;
  white-space: nowrap;
  padding: 3px 8px;
  background: rgba(0,0,0,.6);
  color: #fff;
  font-size: 15px; font-weight: 600;
  border-radius: 4px;
}
/* comments: plain text under the pictures, no dots or dashes */
.notes {
  list-style: none;
  margin: 0; padding: 12px 0 0;
  font-size: 16px; line-height: 1.45; color: #f2f2f2;
}
.notes b { font-weight: 600; margin-right: 6px; }
.feature-row { display: flex; gap: 14px; margin-bottom: 14px; align-items: flex-start; }
.feature-row:last-child { margin-bottom: 0; }
.caption { margin: 12px 0 0; font-size: 16px; line-height: 1.45; color: #f2f2f2; }

#view {
  position: fixed; inset: 0; z-index: 10;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(0,0,0,.9);
  cursor: zoom-out;
}
#view.open { display: flex; }
#view img { max-width: 94vw; max-height: 94vh; }
