.section-text_with_image {
  margin: 7rem 0;
}
.section-text_with_image:first-child {
  padding-top: 3rem;
}
.section-text_with_image .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  grid-column-gap: 100px;
  grid-row-gap: 50px;
  flex-direction: row-reverse;
}
.section-text_with_image .container h1, .section-text_with_image .container h2 {
  max-width: 800px;
  margin: 0 auto 25px;
  line-height: 1.1em;
}
.section-text_with_image .container .subheading {
  margin: 0 0 10px;
  font-weight: 600;
  color: var(--primary);
}
.section-text_with_image .container .content {
  width: calc(50% - 50px);
}
.section-text_with_image .container .content *:first-child {
  margin-top: 0;
}
.section-text_with_image .container .content *:last-child {
  margin-bottom: 0;
}
.section-text_with_image .container .content :is(h1, h2) {
  width: 100%;
  margin: 0 0 25px;
}
.section-text_with_image .container .content .description {
  line-height: 1.7em;
  font-size: 0.9em;
}
.section-text_with_image .container .content .description :is(ul, ol) {
  padding-left: 20px;
}
.section-text_with_image .container .content .list {
  margin-top: 25px;
}
.section-text_with_image .container .content .list:not(:last-child) { margin-bottom: 25px; }
.section-text_with_image .container .content .list .item {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 15px;
  grid-gap: 10px;
}
.section-text_with_image .container .content .list .item img {
  max-width: 30px;
  max-height: 30px;
}
.section-text_with_image .container .content .list .item p {
  margin: 5px 0 0;
}
.section-text_with_image .container .content .buttons {
  margin-top: 2rem;
}
.section-text_with_image .container .image {
  width: calc(50% - 50px);
}
.section-text_with_image .container .image img {
  display: block;
  min-height: 500px;
  -o-object-fit: cover;
     object-fit: cover;
}

@media (max-width: 1100px) {
  .section-text_with_image .container {
    grid-column-gap: 50px;
  }
  .section-text_with_image .container .content, .section-text_with_image .container .image {
    width: calc(50% - 25px);
  }
}
@media (max-width: 820px) {
  .section-text_with_image .container .content {
    width: 100%;
  }
  .section-text_with_image .container .image {
    width: 90%;
    max-width: 450px;
    margin: 0 auto;
  }
}
/*

Options - Large Text

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

/*

Options - Background White

*/
.section-text_with_image[options~=background-white] {
  background-color: #fff;
  margin: 0;
  padding: 7rem 0;
}

/*

Options - Background Gray

*/
.section-text_with_image[options~=background-gray] {
  background-color: #f9f9f9;
  margin: 0;
  padding: 7rem 0;
}

/*

Options - Align right

*/
.section-text_with_image[options~=align-right] :is(.container, .main-container) {
  flex-direction: unset;
}

/*

Options - Negative Margin Top

*/
.section-text_with_image[options~=negative-margin-top] {
  margin-top: -5rem;
}

/*

Options - Background Primary

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

/*

Options - Background Secondary

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

/*

Options - Background Image

*/
.section-text_with_image[options~=background-image] .container {
  position: relative;
  padding: 75px;
}
.section-text_with_image[options~=background-image] .container .content {
  position: relative;
  z-index: 1;
  padding: 40px;
  width: 40%;
}
.section-text_with_image[options~=background-image] .container .content:before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: var(--primary);
  border-radius: 20px;
}
.section-text_with_image[options~=background-image] .container .content:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: var(--white);
  border-radius: 20px;
}
.section-text_with_image[options~=background-image] .container .content * {
  position: relative;
  z-index: 1;
}
.section-text_with_image[options~=background-image] .container .content :is(h1, h2) {
  font-size: 1.75em;
}
.section-text_with_image[options~=background-image] .container .content p.subheading {
  font-weight: 500;
  font-size: 1.1em;
}
.section-text_with_image[options~=background-image] .container .image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: unset;
}
.section-text_with_image[options~=background-image] .container .image .layers {
  height: 100%;
}
.section-text_with_image[options~=background-image] .container .image img {
  -o-object-fit: cover;
     object-fit: cover;
  height: 100%;
  width: 100%;
  min-height: unset;
}

@media (max-width: 1000px) {
  .section-text_with_image[options~=background-image] .container {
    padding: 75px 25px;
  }
}
@media (max-width: 900px) {
  .section-text_with_image[options~=background-image] .container .content {
    width: 100%;
  }
}
@media (max-width: 600px) {
  .section-text_with_image[options~=background-image] .container {
    padding: 100px 10px;
  }
}
/*

Options - Background Image V2

*/
.section-text_with_image[options~=background-image-2] {
  padding: 100px 0;
  position: relative;
  margin: 0;
}
.section-text_with_image[options~=background-image-2] .container .content {
  max-width: 500px;
  margin: 0 auto;
  padding: 60px 30px;
  text-align: center;
  border-top: 10px solid var(--primary);
  position: relative;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  color: var(--white);
}
.section-text_with_image[options~=background-image-2] .container .content :is(h1, h2) {
  font-size: 1.75em;
}
.section-text_with_image[options~=background-image-2] .container .content p.subheading {
  font-weight: 500;
  font-size: 1.1em;
}
.section-text_with_image[options~=background-image-2] .container .content .list .item {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 15px;
  grid-gap: 10px;
}
.section-text_with_image[options~=background-image-2] .container .content .list .item img {
  max-width: 30px;
  max-height: 30px;
}
.section-text_with_image[options~=background-image-2] .container .content .list .item p {
  margin: 5px 0 0;
}
.section-text_with_image[options~=background-image-2] .container .content .buttons {
  justify-content: center;
}
.section-text_with_image[options~=background-image-2] .container .image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: unset;
}
.section-text_with_image[options~=background-image-2] .container .image .layers {
  height: 100%;
}
.section-text_with_image[options~=background-image-2] .container .image img {
  -o-object-fit: cover;
     object-fit: cover;
  min-height: unset;
  height: 100%;
  width: 100%;
  border-radius: 0 !important;
}

@media (max-width: 1000px) {
  .section-text_with_image[options~=background-image-2] .container {
    padding: 75px 25px;
  }
}
@media (max-width: 900px) {
  .section-text_with_image[options~=background-image-2] .container {
    padding: 0;
  }
  .section-text_with_image[options~=background-image-2] .container .content {
    width: 100%;
  }
}
/*

Options - Background Image V3

*/
.section-text_with_image[options~=background-image-3] .container {
  position: relative;
  padding: 75px 0 75px 75px;
}
.section-text_with_image[options~=background-image-3] .container .content {
  position: relative;
  z-index: 1;
  padding: 40px;
  width: 40%;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
}
.section-text_with_image[options~=background-image-3] .container .content:before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: var(--primary);
  border-radius: 20px;
}
.section-text_with_image[options~=background-image-3] .container .content:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: var(--white);
  border-radius: 20px;
}
.section-text_with_image[options~=background-image-3] .container .content * {
  position: relative;
  z-index: 1;
}
.section-text_with_image[options~=background-image-3] .container .content :is(h1, h2) {
  font-size: 1.75em;
}
.section-text_with_image[options~=background-image-3] .container .content p.subheading {
  font-weight: 500;
  font-size: 1.1em;
}
.section-text_with_image[options~=background-image-3] .container .image {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - 200px);
  height: 100%;
  max-width: unset;
}
.section-text_with_image[options~=background-image-3] .container .image .layers {
  height: 100%;
}
.section-text_with_image[options~=background-image-3] .container .image img {
  -o-object-fit: cover;
     object-fit: cover;
  height: 100%;
  width: 100%;
  min-height: unset;
}

@media (max-width: 1000px) {
  .section-text_with_image[options~=background-image-3] .container {
    padding: 75px 25px;
  }
}
@media (max-width: 900px) {
  .section-text_with_image[options~=background-image-3] .container {
    flex-direction: column-reverse;
    padding: 0;
  }
  .section-text_with_image[options~=background-image-3] .container .content {
    width: calc(100% - 125px);
    margin: -100px 25px 0 auto !important;
  }
  .section-text_with_image[options~=background-image-3] .container .image {
    width: 100%;
    position: relative;
  }
}
@media (max-width: 600px) {
  .section-text_with_image[options~=background-image-3] .container .content {
    width: 100%;
    margin: 0 !important;
  }
}
/*

Loading transitions

*/
/* Image */
.section-text_with_image .container .image {
  opacity: 0;
}

.section-text_with_image.scrolled-to .container .image {
  animation: tWIIMage 1s forwards;
}

@keyframes tWIIMage {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/* Content */
.section-text_with_image .container .content {
  opacity: 0;
  margin-top: -3rem;
  margin-bottom: 3rem;
}

.section-text_with_image.scrolled-to .container .content {
  animation: tWIContent 1.5s forwards;
}

@keyframes tWIContent {
  0%, 30% {
    opacity: 0;
    margin-top: -3rem;
    margin-bottom: 3rem;
  }
  100% {
    opacity: 1;
    margin-top: 0;
    margin-bottom: 0;
  }
}