:root {
  color-scheme: dark;
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  background: #06131f;
  color: #f5fbff;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background-color: #06131f;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(31, 125, 160, 0.28), transparent 38rem),
    linear-gradient(180deg, #071e2d 0%, #040b12 100%);
}

.site-shell,
.photo-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
}

.home-card {
  width: min(100%, 68.75rem);
  overflow: hidden;
  border: 1px solid rgba(196, 232, 247, 0.24);
  border-radius: clamp(1rem, 2.5vw, 2rem);
  background: rgba(5, 16, 25, 0.82);
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.55);
}

.boat-photo {
  width: 100%;
  height: auto;
  display: block;
}

.main-link {
  display: block;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  color: #2f9dff;
  font-size: clamp(1.55rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-align: center;
  text-decoration-color: currentColor;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.2em;
  transition: color 160ms ease, background 160ms ease;
}

.main-link:visited {
  color: #2f9dff;
}

.main-link:hover,
.main-link:focus-visible {
  color: #70d6ff;
  background: rgba(112, 214, 255, 0.08);
}

.main-link:focus-visible,
.back-link:focus-visible {
  outline: 3px solid #70d6ff;
  outline-offset: -3px;
}

.photo-page {
  grid-template-rows: auto 1fr;
  place-items: stretch center;
  gap: 1rem;
}

.back-link {
  justify-self: start;
  color: #dff6ff;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.back-link:hover {
  color: #70d6ff;
}

.girl-photo {
  width: auto;
  max-width: 100%;
  height: min(84vh, 75rem);
  align-self: center;
  border-radius: 1.25rem;
  object-fit: contain;
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.55);
}
