@font-face { font-family: "Courier Prime"; src: url("fonts/CourierPrime-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cutive Mono"; src: url("fonts/CutiveMono-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: #000; color: #fff; font-family: "Courier Prime", "Courier New", monospace; }
a { color: inherit; text-decoration: none; }
.ombre, h1, .numero { text-shadow: 0 0 6px #000, 0 0 14px #000, 0 0 24px #000; }

.fond-anime { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.bande { position: absolute; top: 0; bottom: 0; width: 34vw; background-image: url("images/chaussure.jpg"); background-size: 70vw auto; background-repeat: repeat-y; opacity: .55; }
.bande.gauche { left: 0; background-position: left 0; animation: monte 90s linear infinite; -webkit-mask-image: linear-gradient(to right, #000 40%, transparent); mask-image: linear-gradient(to right, #000 40%, transparent); }
.bande.droite { right: 0; background-position: right 0; animation: descend 110s linear infinite; -webkit-mask-image: linear-gradient(to left, #000 40%, transparent); mask-image: linear-gradient(to left, #000 40%, transparent); }
@keyframes monte { to { background-position: left -1600px; } }
@keyframes descend { to { background-position: right 1600px; } }


main { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; padding: 90px 24px 120px; text-align: center; }
h1 { font-family: "Courier New", "Cutive Mono", monospace; font-weight: 400; font-size: 15px; letter-spacing: .4em; text-transform: uppercase; margin-bottom: 50px; }
.pages { display: flex; flex-direction: column; gap: 34px; }
.pages button { border: none; background: none; padding: 0; cursor: zoom-in; display: block; width: 100%; }
.pages img { width: 100%; display: block; box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 10px 40px rgba(0,0,0,.8); transition: transform .4s ease, box-shadow .4s ease; }
.pages button:hover img { transform: scale(1.02); box-shadow: 0 0 0 1px rgba(255,255,255,.5), 0 14px 50px rgba(0,0,0,.9); }

.loupe { position: fixed; inset: 0; z-index: 20; background: rgba(0,0,0,.94); display: flex; align-items: center; justify-content: center; animation: ouvre .35s ease; }
.loupe[hidden] { display: none; }
.loupe img { max-height: 94vh; max-width: 86vw; box-shadow: 0 0 0 1px rgba(255,255,255,.2); cursor: zoom-out; }
.loupe button { position: absolute; background: none; border: none; color: #fff; font-family: inherit; cursor: pointer; letter-spacing: .2em; text-transform: uppercase; }
.fermer { top: 22px; right: 28px; font-size: 16px; }
.fleche { top: 50%; transform: translateY(-50%); font-size: 34px; padding: 20px; }
.precedente { left: 2vw; }
.suivante { right: 2vw; }
.numero { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-size: 13px; letter-spacing: .3em; color: #cfcfcf; }
@keyframes ouvre { from { opacity: 0; } to { opacity: 1; } }

@media (min-width: 801px) {
  main { margin-left: max(340px, calc(50% - 320px + 150px)); margin-right: auto; }
}
@media (max-width: 800px) {
  main { padding-top: 70px; }
  .bande { width: 20vw; opacity: .35; }
}
@media (prefers-reduced-motion: reduce) { .bande { animation: none; } }
.menu .petit { font-size: 12px; letter-spacing: .18em; text-transform: none; color: #cfcfcf; margin-top: 4px; }
