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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--white);
  background:
    radial-gradient(ellipse 120% 80% at 50% -10%, #f0d4ea 0%, transparent 55%),
    radial-gradient(ellipse 90% 70% at 85% 40%, #d8b8e8 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 10% 70%, #c4a8dc 0%, transparent 45%),
    linear-gradient(165deg, #cbb6e4 0%, var(--bg-lavender) 35%, var(--bg-mist) 65%, #e2c0d8 100%);
  background-attachment: fixed;
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../img/hero-bg.webp") center / cover no-repeat;
  opacity: 0.22;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: -1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

body.nav-open {
  overflow: hidden;
}
