:root {
  color-scheme: light;
  font-family: "Times New Roman", Times, serif;
  color: #222;
  background: #fff;
  font-size: 18px;
  line-height: 1.6;
}
* { box-sizing: border-box; }
body { margin: 0; }

main { max-width: 660px; margin: 72px auto 80px; padding: 0 24px; }
header { margin-bottom: 24px; }
h1 { margin: 0 0 18px; font-size: 1.65rem; line-height: 1.2; }
h2 { margin: 0 0 14px; font-size: 1rem; }
p { margin: 0 0 18px; }
section { margin-top: 34px; }

a { color: #0000b8; text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:visited { color: #551a8b; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid #0000b8; outline-offset: 4px; }

.links { display: flex; flex-wrap: wrap; gap: 10px; }

#bloch { display: block; width: 120px; height: 120px; cursor: grab; touch-action: none; }
#bloch:active { cursor: grabbing; }
#bloch:focus-visible { outline: 1px solid #0000b8; outline-offset: 2px; }

@media (max-width: 600px) { main { margin: 36px auto 48px; } }

/* pictures */
main.wide { max-width: 1100px; }
.wall { columns: 4 220px; column-gap: 16px; }
.wall > * { break-inside: avoid; margin: 0 0 16px; display: block; width: 100%; }
.wall img { height: auto; }
.video { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
button.video { padding: 0 0 56.25%; border: 0; background: #000; cursor: pointer; }
button.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: rgba(0,0,0,.6); }
.play::after { content: ""; position: absolute; left: 20px; top: 15px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent #fff; }
button.video:focus-visible { outline: 2px solid #0000b8; outline-offset: 3px; }
