/* === Shared background CSS === */

:root {
  /* central panel */
  --panel-width: 920px; /* total white box width */
  --panel-pad-x: 20px; /* inner horizontal padding */

  /* background image and fading */
  --bg-image: url("images/lila-bett.jpg");
  --fade-soft: 30%; /* where the fade starts getting opaque */
  --fade-hard: 60%; /* where it becomes fully white */
}

.background-wrapper {
  position: fixed;
  inset: 0;
  display: flex;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

/* uncomment the part below only of you want the flowers background */
/* .gradient-left,
.gradient-right {
  position: relative;
  width: 50%;
  height: 100%;
  background-image: var(--bg-image);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.gradient-left::after,
.gradient-right::after {
  content: "";
  position: absolute;
  inset: 0;
} */
/* uncomment the part above only of you want the flowers background */

.gradient-left::after {
  right: 0;
  background: linear-gradient(
    to right,
    rgba(255, 251, 245, 0) 0%,
    rgba(255, 251, 245, 0.85) var(--fade-soft),
    #fffbf5 var(--fade-hard),
    #fffbf5 100%
  );
}
.gradient-right::after {
  left: 0;
  background: linear-gradient(
    to left,
    rgba(255, 251, 245, 0) 0%,
    rgba(255, 251, 245, 0.85) var(--fade-soft),
    #fffbf5 var(--fade-hard),
    #fffbf5 100%
  );
}

.content-wrapper {
  position: relative;
  z-index: 1;
  background: transparent !important;
  padding-left: 0;
  padding-right: 0;
}

/* uncomment the part below only of you want the flowers background */
/* .content-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--panel-width), calc(100% - 2rem));
  background: rgba(255, 251, 245, 0.92);
  z-index: 0;
} */
/* uncomment the part above only of you want the flowers background */

.content-wrapper > .mx-auto {
  position: relative;
  z-index: 1;
  max-width: calc(var(--panel-width) - 2 * var(--panel-pad-x)) !important;
  padding-left: var(--panel-pad-x);
  padding-right: var(--panel-pad-x);
}

@media (max-width: 1920px) {
  :root {
    --panel-width: 800px;
  }
}
@media (max-width: 1400px) {
  :root {
    --panel-width: 660px;
  }
}
@media (max-width: 1200px) {
  :root {
    --panel-width: 620px;
  }
}
@media (max-width: 992px) {
  :root {
    --panel-width: 540px;
  }
}
