*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  width: 100%;
}

body {
  background-image: url('background.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  min-height: 100vh;
  position: relative;
  font-family: 'Georgia', serif;
}

/* Gradient overlay: nearly opaque white on left, fading to ~10% white on right */
.overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.93) 0%,
    rgba(255, 255, 255, 0.85) 25%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0.18) 75%,
    rgba(255, 255, 255, 0.08) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding: 0 6vw;
  max-width: 480px;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.01em;
  margin-bottom: 1.6rem;
}

nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

nav a {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #2a2a2a;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  padding-bottom: 2px;
  width: fit-content;
  transition: color 0.2s, border-color 0.2s;
}

nav a:hover {
  color: #0057d9;
  border-color: #0057d9;
}
