.rich-text {
  z-index: 1;
}

.rich-text__wrapper {
  display: flex;
  justify-content: center;
  /* width: calc(100% - 4rem / var(--font-body-scale)); */
}

.rich-text:not(.rich-text--full-width) .rich-text__wrapper {
  margin: auto;
  width: calc(100% - 8rem / var(--font-body-scale));
}

.rich-text__blocks {
  width: 100%;
}

@media screen and (min-width: 750px) {
  .rich-text__wrapper {
    width: 100%;
  }

  .rich-text__wrapper--left {
    justify-content: flex-start;
  }

  .rich-text__wrapper--right {
    justify-content: flex-end;
  }

  .rich-text__blocks {
    max-width: 50rem;
  }
}

@media screen and (min-width: 990px) {
  .rich-text__blocks {
    max-width: 78rem;
  }
}

.rich-text__blocks * {
  overflow-wrap: break-word;
}

.rich-text__blocks > * {
  margin-top: 0;
  margin-bottom: 0;
}

.rich-text__blocks > * + * {
  margin-top: 2rem;
}

.rich-text__blocks > * + a {
  margin-top: 3rem;
}

.rich-text__buttons {
  display: inline-flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
  max-width: 45rem;
  word-break: break-word;
}

.rich-text__buttons--multiple > * {
  flex-grow: 1;
  min-width: 22rem;
}

.rich-text__buttons + .rich-text__buttons {
  margin-top: 1rem;
}

.rich-text__blocks.left .rich-text__buttons {
  justify-content: flex-start;
}

.rich-text__blocks.right .rich-text__buttons {
  justify-content: flex-end;
}




#sectionRichtext1 .rich-text__blocks {
  max-width: 100%;
}
#sectionRichtext1 .rich-text__blocks > * + * {
  margin-top: 0rem;
}
#sectionRichtext1 .rich-text__buttons {
  margin-bottom: 3rem;
}
#sectionRichtext1 h2.rich-text__heading {
  font-family: 'Inter';
  font-weight: 700;
  font-size: 26px;
}
#sectionRichtext1 h3.rich-text__heading {
  font-family: 'Inter';
  font-size: 26px;
}
#sectionRichtext1 .rich-text__text p {
  font-family: 'Inter';
  font-size: 14px;
  font-weight: 700;
  margin-top: 1.5rem;
}
@media screen and (min-width: 750px) {
  #sectionRichtext1 .rich-text__buttons {
    margin-bottom: 6rem;
  }
  #sectionRichtext1 h2.rich-text__heading {
    font-size: 47px;
  }
  #sectionRichtext1 h3.rich-text__heading {
    font-size: 47px;
  }
  #sectionRichtext1 .rich-text__text p {
    font-size: 36px;
    margin-top: 1.5rem;
  }
}



#sectionRichtext2 h2.rich-text__heading {
  font-family: 'Poppins';
  font-weight: 700;
  font-size: 32px;
}
.rich-text__text.rte {
  max-width: 60rem;
  margin: 0 auto;
  margin-top: 1rem;
}

@media screen and (min-width: 750px) {
  #sectionRichtext2 h2.rich-text__heading {
    font-size: 64px;
} 
.rich-text__text.rte {
  margin-top: 2.5rem;
}
}

.home .rich-text__text.rte.scroll-trigger {
  max-width: 1400px;
}

body.home.pi-dark-mode .rich-text__blocks::after {
  content: '';
  position: absolute;
  right: 0;
  top: 68px;
  background: radial-gradient(circle, #16E0A899 -71%, transparent 77%);
  border-radius: 50%;
  animation: float 30s infinite ease-in-out, pulse 4s infinite ease-in-out;
  width: 500px;
  height: 507px;
  bottom: -144px;
  right: 0;
} 

/* Float Animation */
@keyframes float {
  0%, 100% {
      transform: translate(0, 0) scale(1);
  }
  25% {
      transform: translate(50px, -30px) scale(1.1);
  }
  50% {
      transform: translate(-30px, 50px) scale(0.9);
  }
  75% {
      transform: translate(30px, 30px) scale(1.05);
  }
} 
 
