:root {
  --page-bg: #f3ede8;
  --page-bg-soft: #f5f0eb;
  --shadow: rgba(61, 45, 34, 0.28);
  --border: rgba(96, 71, 52, 0.14);
}

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

html {
  min-height: 100%;
  background: var(--page-bg);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.74), transparent 34rem),
    radial-gradient(circle at 82% 88%, rgba(224, 204, 190, 0.62), transparent 32rem),
    linear-gradient(135deg, var(--page-bg-soft), var(--page-bg));
}

body::before {
  position: fixed;
  inset: -2rem;
  z-index: -2;
  background: url("ielugums.jpg?v=1") center / cover no-repeat;
  content: "";
  filter: blur(36px) saturate(1.04);
  opacity: 0.28;
  transform: scale(1.04);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(243, 237, 232, 0.72);
  content: "";
}

.invitation {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(1rem, 3vw, 2.5rem);
}

.invitation__image {
  display: block;
  width: auto;
  max-width: min(94vw, 58rem);
  max-height: min(94vh, 96rem);
  height: auto;
  border: 1px solid var(--border);
  box-shadow: 0 1.75rem 5rem var(--shadow);
}
