/**
 * @file
 * Section styles
 */

.region-content {
  position: relative;
}

.section-background--primary {
  margin-top: auto;
  background-color: var(--color-primary--1);
  position: relative;
  z-index: 1;
}

.section-background--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='1' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.35 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.6;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: -1;
}

.section-background--primary--35 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  z-index: 1;
}

.section-background--primary--35::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  opacity: 95%;
  height: 35%;
  background:
    url("data:image/svg+xml;utf8,<svg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='1' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.35 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"),
    var(--color-primary--1);
  z-index: -1;
}

.internal_background--xclear_primary {
  align-items: flex-start;
  padding: 32px;
  background-color: #E8F5F8;
  border-radius: 10px;
}

.internal_background--xclear_primary > .layout--twocol {
  align-items: flex-start;
}

/**
 * Section decoration
 */
.section {
  position: relative;
  z-index: 1;
  overflow: visible;
}

@media screen and (min-width: 999px) {

  .section-decoration--illu1::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    transform: translateX(-20%) translateY(95%);
    width: 600px;
    height: 400px;
    z-index: 0;
    background-image: url(../../images/illustrations/illu1.webp);
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
  }

  .section-decoration--illu2::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    transform: translateX(53%) translateY(20%);
    width: 600px;
    height: 400px;
    z-index: 0;
    background-image: url(../../images/illustrations/illu2.webp);
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    overflow: visible;
  }

  .section-decoration--illu3::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    transform: translateX(-170%) translateY(61%);
    width: 700px;
    height: 500px;
    z-index: 0;
    background-image: url(../../images/illustrations/illu3.webp);
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    overflow: visible;
  }

  .section-decoration--illu4::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    transform: translateX(20%) translateY(-15%);
    width: 700px;
    height: 500px;
    z-index: 0;
    background-image: url(../../images/illustrations/illu4.webp);
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    overflow: visible;
    z-index: 0;
  }

}

.join-us__container {
  position: relative;
}

