* { box-sizing: border-box; }
html { background: #fff; color: #111; font-family: Arial, Helvetica, sans-serif; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: #666; }
a:focus-visible { outline: 1px solid #111; outline-offset: 7px; }
.sidebar { position: fixed; top: 52px; left: 5.65vw; width: 150px; }
.name { display: inline-block; font-size: 28px; line-height: 1.2; font-weight: 400; letter-spacing: -.7px; }
nav { margin-top: 47px; font-size: 18px; line-height: 1.6; }
main { margin-left: 24%; padding: 140px 6% 90px 0; outline: none; }
.gallery { max-width: 1100px; margin: 0 auto; }
figure { margin: 0 0 80px; }
figure:last-child { margin-bottom: 0; }
img { display: block; width: 100%; height: auto; }
.skip { position: fixed; top: -100px; left: 20px; background: #fff; padding: 12px; z-index: 1; }
.skip:focus { top: 12px; }
#error { line-height: 1.6; }
@media (min-width: 1600px) { main { padding-top: 160px; } }
@media (max-width: 700px) {
.sidebar { position: static; width: auto; margin: 30px 24px 0; display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.name { font-size: 26px; }
nav { margin-top: 0; font-size: 16px; }
main { margin: 0; padding: 64px 24px 48px; }
figure { margin-bottom: 40px; }
}
