.storytelling {
  color: var(--text-color);
  background-color: #EAEFF4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 640px;
  overflow: hidden;
  padding: 145px 16px 170px 16px;
  position: relative;
}
.storytelling h2 {
  color: var(--text-color);
  font-family: Inter;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -1.2px;
  line-height: 44px;
  margin: 0;
  text-align: center;
}
.storytelling h3 {
  color: #788AA8;
  font-family: "IBMPlexSans";
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: 4.16px;
  margin: 0px;
  padding-bottom: 25px;
  text-align: center;
  text-transform: uppercase;
}
.storytelling h2 strong {
  font-weight: 500;
}

.storytelling--line-container {
  display: flex;
}

.storytelling--text-container{
  position: relative;
  z-index: 1;
}
.storytelling .figure {
  position: absolute;
  z-index: 0;
}
.storytelling .figure img{
  object-fit: contain;
  width: 100%;
  z-index: 0;
}

.storytelling .figure-orange-top-right {
  right: -63px;
  top: -44px;
  width: 270px;
}

.storytelling .figure-grey-top-right {
  right: -135px;
  top: 26px;
  width: 228px;
}

.storytelling.storytelling--theme-dark {
  background-color: var(--brand-color-orange);
  color: var(--light-color);
  padding: 130px 0px;
  position: relative;
}

.storytelling.storytelling--theme-dark .storytelling--text-container{
  width: 327px;
  margin: 0 auto;
}

.storytelling.storytelling--theme-dark h2 {
  color: var(--light-color);
  font-size: 38px;
  font-weight: 300;
  line-height: 40px;
  letter-spacing: -1.52px;
  text-align: left;
  text-transform: uppercase;
  /* text-wrap: balance; */
}
.storytelling.storytelling--theme-dark h3 {
  position: relative;
  color: var(--light-color);
  /* border-left: 2px solid var(--light-color); */
  margin:70px 0px;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 2.52px;
  padding: 0px 0px 0px 20px;
  text-align: left;
  text-transform: uppercase;
  width: 285px;
}
.storytelling.storytelling--theme-dark h3:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 80%;
  width: 2px;
  background-color: var(--light-color);
}
.storytelling.storytelling--theme-dark h3:first-child {
  margin-top:0px;
}
.storytelling.storytelling--theme-dark h3:last-child {
  margin-bottom:0px;
}

.storytelling.storytelling--theme-dark h2 {
  display: block;
}

.storytelling.storytelling--theme-dark h2:nth-of-type(5n+1) {
  text-align: left;
}

.storytelling.storytelling--theme-dark h2:nth-of-type(5n+2) {
  text-align: left;
}

.storytelling.storytelling--theme-dark h2:nth-of-type(5n+3) {
  text-align: center;
}

.storytelling.storytelling--theme-dark h2:nth-of-type(5n+4) {
  text-align: left;
}

.storytelling.storytelling--theme-dark h2:nth-of-type(5n) {
  text-align: right;
}


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

  .storytelling{
    min-height: 700px;
    padding: 237px 58px 265px 58px;
  }
  .storytelling h2 {
    font-size: 44px;
    letter-spacing: -1.32px;
    line-height: 48px;
  }
  .storytelling h3{
    font-size: 16px;
    letter-spacing: 4.8px;
    line-height: 30px;
    padding-bottom: 22px;
  }

  .storytelling .figure-orange-top-right {
    right: -84px;
    top: -56px;
    width: 370px;
  }

  .storytelling .figure-grey-top-right {
    right: -186px;
    top: 40px;
    width: 315px;
  }

  .storytelling.storytelling--theme-dark {
    padding: 207px 0px;
    min-height: 750px;
  }
  .storytelling.storytelling--theme-dark .storytelling--text-container{
    width: 718px;
  }
  .storytelling.storytelling--theme-dark h2 {
    font-size: 60px;
    letter-spacing: -1.2px;
    line-height: 68px;
  }
  .storytelling.storytelling--theme-dark h3 {
    font-size: 16px;
    letter-spacing: 3.2px;
    line-height: 24px;
    margin: 60px 0px;
    padding: 0px 0px 0px 30px;
    width: 352px;
  }

  .storytelling.storytelling--theme-dark h2:nth-of-type(5n+2) {
    text-align: right;
  }

  .storytelling.storytelling--theme-dark h2:nth-of-type(5n+4) {
    text-align: right;
    padding-right: 100px;
  }

}

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

  .storytelling{
    min-height: 650px;
    padding: 194px 65px 240px 65px;
  }
  .storytelling h2 {
    font-size: 52px;
    letter-spacing: -1.56px;
    line-height: 56px;
  }

  .storytelling h3 {
    font-size: 18px;
    letter-spacing: 5.4px;
    line-height: 23px;
    padding-bottom: 26px;
  }

  .storytelling .figure-orange-top-right {
    right: -65px;
    top: -80px;
    width: 425px;
  }

  .storytelling .figure-grey-top-right {
    right: -180px;
    top: 31px;
    width: 360px;
  }

  .storytelling.storytelling--theme-dark {
    padding: 177px 0px;
    min-height: 720px;
  }
  .storytelling.storytelling--theme-dark .storytelling--text-container{
    width: 860px;
  }
  .storytelling.storytelling--theme-dark h2 {
    font-size: 62px;
    letter-spacing: -1.24px;
    line-height: 70px;
  }
  .storytelling.storytelling--theme-dark h3 {
    font-size: 16px;
    letter-spacing: 3.2px;
    line-height: 26px;
    margin: 30px 0px;
    width: 352px;
  }

  /* .storytelling.storytelling--theme-dark h2:nth-of-type(5n+1) {
    text-align: left;
  }

  .storytelling.storytelling--theme-dark h2:nth-of-type(5n+2) {
    text-align: right;
  } */

  /* .storytelling.storytelling--theme-dark h2:nth-of-type(5n+3) {
    text-align: left;
    padding-left: 100px;
  } */

  .storytelling.storytelling--theme-dark h2:nth-of-type(5n+4) {
    /* text-align: right; */
    padding-right: 100px;
  }

}

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

  .storytelling{
    min-height: 700px;
    padding: 187px 138px 250px 138px;
  }
  .storytelling h2 {
    font-size: 62px;
    line-height: 67px;
    letter-spacing: -1.86px;
  }

  .storytelling h3 {
    font-size: 18px;
    letter-spacing: 5.4px;
    line-height: 35px;
    padding-bottom: 29px;
  }

  .storytelling .figure-orange-top-right {
    right: -117px;
    top: -66px;
    width: 508px;
  }

  .storytelling .figure-grey-top-right {
    right: -257px;
    top: 65px;
    width: 432px;
  }

  .storytelling.storytelling--theme-dark {
    padding: 170px 0px;
    min-height: 768px;
  }
  .storytelling.storytelling--theme-dark .storytelling--text-container{
    width: 1090px;
  }
  .storytelling.storytelling--theme-dark h2 {
    font-size: 80px;
    letter-spacing: -1.6px;
    line-height: 90px;
  }
  .storytelling.storytelling--theme-dark h3 {
    font-size: 18px;
    line-height: 30px;
    letter-spacing: 3.6px;
    width: 400px;
  }

}

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

  .storytelling{
    min-height: 850px;
    padding: 273px 415px 322px 415px;
  }
  .storytelling h2 {
    font-size: 62px;
    letter-spacing: -1.86px;
    line-height: 66px;
  }
  .storytelling h3 {
    font-size: 18px;
    letter-spacing: 5.4px;
    line-height: 20px;
    padding-bottom: 37px;
  }

  .storytelling .figure-orange-top-right {
    right: -152px;
    top: -134px;
    width: 710px;
  }

  .storytelling .figure-grey-top-right {
    right: -346px;
    top: 49px;
    width: 603px;
  }

  .storytelling.storytelling--theme-dark {
    padding: 247px 0px;
    min-height: 1080px;
  }
  .storytelling.storytelling--theme-dark .storytelling--text-container{
    width: 1430px;
  }
  .storytelling.storytelling--theme-dark h2 {
    font-size: 100px;
    letter-spacing: -2px;
    line-height: 110px;
  }
  .storytelling.storytelling--theme-dark h3 {
    font-size: 20px;
    letter-spacing: 4px;
    margin: 40px 0px;
    width: 450px;

  }

  /* .storytelling.storytelling--theme-dark h2:nth-of-type(5n+3) {
    padding-left: 160px;
  } */

  .storytelling.storytelling--theme-dark h2:nth-of-type(5n+4) {
    padding-right: 160px;
  }


}
