.fixed-bg {
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.is-mobile .fixed-bg {
  background-attachment: unset;
}

.fixed-bg-overlay {
  content: "";
  background-color: #000;
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.fixed-bg-headline,
.fixed-bg-description,
.fixed-bg-buttons {
  grid-column: 3 / span 10;
  text-align: center;
  position: relative;
}

.fixed-bg-description {
  max-width: min(100%, 80ch);
  justify-self: center;
}

.fixed-bg-buttons {
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--grid-gap);
  margin-top: var(--s-sm);
}

.text-left .fixed-bg-headline,
.text-left .fixed-bg-description,
.text-left .fixed-bg-buttons {
  grid-column: 3 / span 5;
}

.text-left .fixed-bg-headline,
.text-left .fixed-bg-description {
  text-align: left;
  text-wrap: balance;
}

.fixed-bg-headline {
  text-wrap: balance;
}

.text-blue .fixed-bg-headline,
.text-blue .fixed-bg-description {
  color: var(--blue);
}

.fixed-bg-boxes {
  grid-column: 3 / span 10;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--grid-gap);
  z-index: 1;
}

.fixed-bg-boxes-item {
  background-color: #25355aee;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  padding: 1em;
  border: 4px double var(--yellow);
  text-align: center;
  align-items: center;
}

.fixed-bg-boxes-item::after {
  content: "";
  height: 2px;
  background-color: var(--white);
  width: min(100%, 15ch);
}

.fixed-bg-boxes-item-icon {
  height: 5em;
  width: auto;
}

.fixed-bg-boxes-item-text {
  order: 2;
}

@media (max-width: 1199.98px) {
  .text-left .fixed-bg-headline,
  .text-left .fixed-bg-description,
  .text-left .fixed-bg-buttons {
    grid-column: 2 / span 7;
  }

  .fixed-bg-boxes {
    grid-column: 2 / span 12;
  }
}

@media (max-width: 991.98px) {
  .fixed-bg-description {
    max-width: unset;
  }

  .fixed-bg-headline,
  .fixed-bg-description,
  .fixed-bg-buttons {
    grid-column: 2 / span 12;
  }

  .text-left .fixed-bg-headline,
  .text-left .fixed-bg-description,
  .text-left .fixed-bg-buttons {
    grid-column: 2 / span 12;
  }

  .fixed-bg-boxes {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .fixed-bg-boxes {
    grid-template-columns: 1fr;
  }
}
