@font-face {
  font-family: Baskervville;
  src: url('./baskervville.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}

:root {
  color: #b5b5b5;
  background: #fff;
  font-family: ui-monospace, 'SF Mono', Monaco, Consolas, monospace;
}

body,
figure,
h1,
p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: #686868;
}

a:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

.photograph {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  padding-inline: 10px;
  place-items: center;
}

.photograph figure {
  display: grid;
  width: min(100%, 800px);
  place-items: center;
}

.photograph picture,
.photograph figcaption {
  grid-area: 1 / 1;
}

.photograph picture {
  width: 100%;
  min-width: 0;
}

.photograph img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 2px 2px 22px 10px #e2e2e2;
}

.photograph figcaption {
  max-width: 100%;
  color: #f1f1f1;
  background: #c6c6c6;
  font-size: clamp(15px, 1.56vw, 21px);
  font-weight: 600;
  line-height: 1.42;
  text-align: center;
  text-transform: uppercase;
}

.links {
  box-sizing: border-box;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  padding: 28px 12px 58px;
  align-content: center;
  justify-items: center;
  row-gap: 80px;
  text-align: center;
}

.links h1 {
  font: 400 22px/1.6 Baskervville, Georgia, serif;
  letter-spacing: clamp(9px, 3.3vw, 20px);
  text-shadow: 0 0 8px #e0e0e0;
}

.social {
  margin-top: 33px;
}

.instagram {
  position: relative;
  box-sizing: border-box;
  display: block;
  width: 22px;
  height: 22px;
  border: 1.5px solid currentColor;
  border-radius: 6px;
}

.instagram::before,
.instagram::after {
  position: absolute;
  border-radius: 50%;
  content: '';
}

.instagram::before {
  inset: 4px;
  border: 1.5px solid currentColor;
}

.instagram::after {
  top: 2px;
  right: 2px;
  width: 3px;
  height: 3px;
  background: currentColor;
}

.links footer {
  margin-top: 22px;
  color: #858585;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 1px;
}

@media (max-width: 478px) {
  .links h1 {
    font-size: 20px;
  }
}
