/* Layout only; visual design to come later. */
body { font-family: "Courier New", Courier, monospace; text-align: center; }
button, input { font-family: inherit; }
button { font-size: 1.25rem; padding: 0.75em 1.5em; margin: 0.5em; }
img { max-width: 100%; height: auto; display: block; margin-inline: auto; }

.featured { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.featured img { flex: 1 1 calc(20% - 8px); min-width: 120px; aspect-ratio: 2 / 3; object-fit: cover; }

.gallery { columns: 4 150px; column-gap: 8px; }
.gallery figure { margin: 0 0 8px; break-inside: avoid; position: relative; }
.gallery figure button { position: absolute; top: 8px; right: 8px; }

/* The camera buttons only open a camera on touch devices; elsewhere they would duplicate "Choose photo". */
@media not (pointer: coarse) {
  #camera-button { display: none; }
}
