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

body {
    margin: 0;
    padding: 0 16px;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 16px;
}

img,
video,
svg,
iframe {
    max-width: 100%;
    height: auto;
}

main {
    max-width: 720px;
    margin: 0 auto;
}

p,
h1,
h2,
h3,
li,
a {
    overflow-wrap: break-word;
}

pre {
    overflow-x: auto;
}

figcaption {
    text-align: center;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.gallery figure {
    margin: 0;
}

.gallery img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.gallery figcaption {
    font-size: 0.85em;
}

@media (prefers-reduced-motion: reduce) {
    .print-timelapse {
        display: none;
    }
}