:root {
  color-scheme: dark;
  background: #000;
  color: #fff;
  font-family: "Times New Roman", Times, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  min-width: 100%;
  min-height: 100%;
  margin: 0;
  background: #000;
}

body {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 4vw;
}

a {
  color: #fff;
  text-decoration: none;
}

a:hover {
  color: #d8ff52;
}

a:focus-visible {
  outline: 3px solid #d8ff52;
  outline-offset: 5px;
}

.legacy-stage {
  width: min(800px, 88vw);
}

.legacy-photo-link,
.legacy-photo-link img {
  display: block;
  width: 100%;
}

.legacy-photo-link {
  border-radius: 35px;
  cursor: zoom-in;
  transform: translateY(0) scale(1) rotate(0);
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.legacy-photo-link img {
  height: auto;
  border-radius: 35px;
  box-shadow: 3px 3px 10px #333;
  filter: grayscale(1);
  transition: box-shadow 420ms ease, filter 420ms ease;
}

.legacy-photo-link:hover,
.legacy-photo-link:focus-visible {
  transform: translateY(-8px) scale(1.018) rotate(-0.35deg);
}

.legacy-photo-link:hover img,
.legacy-photo-link:focus-visible img {
  box-shadow: 10px 18px 34px rgba(255, 255, 255, 0.13), 0 2rem 5rem rgba(0, 0, 0, 0.72);
  filter: grayscale(1) contrast(1.06);
}

.legacy-photo-link:active {
  transform: translateY(-2px) scale(0.995);
}

@media (max-width: 620px) {
  body {
    padding-inline: 5vw;
  }

  .legacy-stage {
    width: 90vw;
  }

  .legacy-photo-link img {
    border-radius: 22px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .legacy-photo-link,
  .legacy-photo-link img {
    transition: none;
  }

  .legacy-photo-link:hover,
  .legacy-photo-link:focus-visible,
  .legacy-photo-link:active {
    transform: none;
  }
}
