.section-text {
  margin: 5rem 0;
  position: relative;
}
.section-text .container {
  text-align: center;
  position: relative;
  max-width: 800px;
}
.section-text .container img.heading-icon {
  width: 50px;
  margin: 0 auto 25px;
  display: block;
}
.section-text .container *:is(h1, h2):last-child {
  margin-bottom: 0;
}
.section-text .container .text {
  margin-top: 25px;
}
.section-text .container .text:first-child {
  margin-top: 0;
}
.section-text .container .description {
  line-height: 1.7em;
}
.section-text .container .description *:first-child {
  margin-top: 0;
}
.section-text .container .buttons {
  margin: 25px 0 0;
  justify-content: center;
}

/*

Options - Large Text

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

/*

Options - Side by side

*/
.section-text[options~=side-by-side] .container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  grid-gap: 100px;
  text-align: left;
  flex-wrap: wrap;
  max-width: 1100px;
}
.section-text[options~=side-by-side] .container .heading-container {
  width: calc(50% - 50px);
}
.section-text[options~=side-by-side] .container .heading-container .buttons {
  justify-content: flex-start;
  margin-top: 50px;
}
.section-text[options~=side-by-side] .container .text {
  margin-top: 0;
  width: calc(50% - 50px);
}

@media (max-width: 1000px) {
  .section-text[options~=side-by-side] .container {
    grid-gap: 50px;
  }
  .section-text[options~=side-by-side] .container .heading-container {
    width: calc(50% - 25px);
  }
  .section-text[options~=side-by-side] .container .text {
    width: calc(50% - 25px);
  }
}
@media (max-width: 800px) {
  .section-text[options~=side-by-side] .container .heading-container {
    width: 100%;
  }
  .section-text[options~=side-by-side] .container .text {
    width: 100%;
  }
}
/*

Options - Background Gray

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

/*

Options - Background Secondary Dark

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

/*

Scroll Animations

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