.section-text {
  margin: 5rem 0;
  position: relative;
}
.section-text .container {
  text-align: center;
  position: relative;
}
.section-text .container .subheading {
  max-width: -moz-max-content;
  max-width: max-content;
  margin: 0 auto;
  color: var(--black);
}
.section-text .container *:is(h1, h2) {
  max-width: 700px;
  font-weight: 600;
  margin: 0 auto 25px;
}
.section-text .container *:is(h1, h2):last-child {
  margin-bottom: 0;
}
.section-text .container *:is(h1, h2) img {
  height: 50px;
  margin: 0 20px -10px 0;
}
.section-text .container .description {
  line-height: 1.7em;
  max-width: 800px;
  margin: 35px auto 0;
}
.section-text .container .buttons {
  margin: 40px 0 0;
  justify-content: center;
}

/*

Options - Large Text

*/
.section-text[options~=large-text] .container .description {
  font-size: 1.2em;
}

/*

Options - Background Gray

*/
.section-text[options~=background-gray] {
  background-color: var(--gray);
  margin: 0;
  padding: 8rem 0;
}

/*

Options - Background Primary

*/
.section-text[options~=background-primary] {
  background-color: var(--primary);
  margin: 0;
  padding: 8rem 0;
  color: var(--white);
}
.section-text[options~=background-primary] .container img.top-icon {
  filter: brightness(0) invert(1);
}

/*

Options - Background Secondary

*/
.section-text[options~=background-secondary] {
  background-color: var(--secondary);
  margin: 0;
  padding: 8rem 0;
  color: var(--white);
}
.section-text[options~=background-secondary] .container img.top-icon {
  filter: brightness(0) invert(1);
}

/*

Options - 2 Columns

*/
.section-text[options~=columns-2] .container .description {
  -moz-column-count: 2;
       column-count: 2;
  -moz-column-gap: 40px;
       column-gap: 40px;
  text-align: left;
}

@media (max-width: 700px) {
  .section-text[options~=columns-2] .container .description {
    -moz-column-count: 1;
         column-count: 1;
    text-align: center;
  }
}
/*

Options - Text to side

*/
.section-text[options~=text-to-side] .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  grid-column-gap: 100px;
  grid-row-gap: 50px;
}
.section-text[options~=text-to-side] .container > div {
  width: calc(50% - 50px);
}
.section-text[options~=text-to-side] .container > div img.top-icon {
  margin-left: 0;
  display: block;
}
.section-text[options~=text-to-side] .container > div :is(h1, h2) {
  text-align: left;
  max-width: unset;
}
.section-text[options~=text-to-side] .container > div .buttons {
  justify-content: flex-start;
  margin-top: 100px;
}
.section-text[options~=text-to-side] .container > div .description {
  text-align: left;
  margin-top: 0;
}
.section-text[options~=text-to-side] .container:has(img.top-icon) div .description {
  margin-top: 40px;
}

@media (max-width: 1100px) {
  .section-text[options~=text-to-side] .container {
    grid-column-gap: 50px;
  }
  .section-text[options~=text-to-side] .container > div {
    width: calc(50% - 25px);
  }
}
@media (max-width: 820px) {
  .section-text[options~=text-to-side] .container > div {
    width: 100%;
  }
  .section-text[options~=text-to-side] .container > div img.top-icon {
    margin-left: auto;
    margin-right: auto;
  }
  .section-text[options~=text-to-side] .container > div :is(h1, h2) {
    text-align: center;
  }
  .section-text[options~=text-to-side] .container > div .buttons {
    margin-top: 40px;
    justify-content: center;
  }
}
/*

Options - Large left icon

*/
.section-text[options~=large-left-icon] .container {
  padding-left: 250px;
}
.section-text[options~=large-left-icon] .container img.large-left-icon {
  position: absolute;
  width: 300px;
  right: calc(100% - 200px);
  top: 0;
}

@media (max-width: 700px) {
  .section-text[options~=large-left-icon] .container {
    padding-left: 0;
  }
  .section-text[options~=large-left-icon] .container img.large-left-icon {
    opacity: 0.1;
  }
}
/*

Scroll Animations

*/
.section-text .container {
  margin-top: -50px;
  opacity: 0;
  transition: all 1s;
}
.section-text.scrolled-to .container {
  margin-top: 0;
  opacity: 1;
}