Stacking divs

by mests

HTML

<section class="story">
    <div class="container">
        <div class="story__head">
            <p class="story__date">Since 2010</p>
            <h4 class="story__title">Victoria Blend</h4>
        </div>
        <div class="story__images">
            <div class="story__image-container">
                <div class="story__shape"><svg width="78" height="263" fill="none" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M38.502 157C52.01 157 63 146.005 63 132.5c0-13.508-10.99-24.5-24.498-24.5C24.989 108 14 118.992 14 132.5c0 13.505 10.99 24.5 24.502 24.5z" stroke="#E5DADC"></path><path clip-rule="evenodd" d="M70 6.275L57.526 1 38.34 46.137 19.503 1.031 7 6.225 38.231 81 70 6.275zM7 257.726L19.472 263l19.185-45.135 18.84 45.104L70 257.776 38.767 183 7 257.726z" stroke="#E5E5E4"></path><path d="M15.05 133c0-13.204 10.745-23.947 23.95-23.947v-1c-13.757 0-24.95 11.19-24.95 24.947h1zM39 109.053c13.205 0 23.947 10.743 23.947 23.947h1c0-13.757-11.19-24.947-24.947-24.947v1zM62.947 133c0 13.205-10.743 23.95-23.947 23.95v1c13.757 0 24.947-11.193 24.947-24.95h-1zM39 156.95c-13.204 0-23.95-10.746-23.95-23.95h-1c0 13.757 11.193 24.95 24.95 24.95v-1zm0 14.55c21.228 0 38.5-17.269 38.5-38.5h-1c0 20.679-16.825 37.5-37.5 37.5v1zM77.5 133c0-21.231-17.272-38.5-38.5-38.5v1c20.675 0 37.5 16.821 37.5 37.5h1zM39 94.5C17.77 94.5.5 111.769.5 133h1c0-20.679 16.821-37.5 37.5-37.5v-1zM.5 133c0 21.231 17.27 38.5 38.5 38.5v-1c-20.679 0-37.5-16.821-37.5-37.5h-1z" fill="#E5E5E4"></path></svg></div>
                <div
                    class="story__image-wrapper"><img src="https://i.ibb.co/qsm4Zcq/feat3.png" /></div>
        </div><img class="story__image" src="https://i.ibb.co/BKPt1Gh/feat4.png" />
        <h5 class="story__subtitle">Designer Story</h5>
    </div>
    <div class="story__details">
        <p class="story__text">Donec facilisis tortor ut augue lacinia, at viverra est semper. Sed sapien metus, scelerisque nec pharetra id, tempor a tortor. Pellentesque non...

SCSS

// BASE STYLES

$primary: #B4777B;
$primary-lighter: #BB9592;
$black: #000;
$white: #fff;
$line-hover: #B3777B;
$gray: #E5E5E4;
$gray-footer: #E5E5E5;
$gray-darker: #CDC1C0;
$gray-lighter: #E5E5E5;
$gray-lightest: #FBF9F9;
$pale-rose: #E5DADC;

html {
  font-size: 16px;
  box-sizing: border-box;
}

*, *:before, *:after {
  padding: 0;
  margin: 0;
  box-sizing: inherit;
  font-family: 'Catamaran', sans-serif;
}

a, button {
  touch-action: manipulation;
}

button {
  border: none;
  background: none;
}


.container {
  width: 88%;
  margin: 0 auto;
}

.action-btn {
  display: block;
  background: $primary !important;
  color: $white;
  padding: 14px 45px;
  font-size: 16px;
  text-align: center;
  cursor: pointer;

  @media only screen and (min-width: 650px) {
    font-size: 18px;
  }
}


img {
  max-width: 100%;
  height: auto;
}


// PAGE STYLES //

.story {
  margin: 24px 0;
  background: $gray-lightest;
  padding-top: 20px;

  &--no-bg {
    background: $white;
  }

  &__date {
    font-size: 12px;
    line-height: 17px;
    margin-bottom: 10px;
  }

  &__head {
    margin: 4px 0 16px 0;
  }

  &__title {
    text-transform: uppercase;
    font-size: 36px;
    line-height: 40px;

    @media only screen and (min-width: 650px) {
      font-size: 43px;
      line-height: 71px;
    }
  }

  &__images {
    position: relative;
    min-height: 515px;
  }

  &__image-container {
    position: absolute;
    max-width: 50%;
    top: 33%;
    transform: translateY(44%);
    z-index: 400;
  }

  &__image-wrapper {
    position: relative;
    display: block;
    height: 100%;
  }

  &__image {
    position: absolute;
    max-width: 90%;
    right: 0;
  }

  &__shape {
    position: absolute;
    z-index: 600;
    position: absolute;
    z-index: 600;
    left: 0;
    bottom: -130px;
    transform: translateX(-50%);

    svg {
      transform: scale3d(0.4,0.4,0.4);

      @media only screen and (min-width: 650px) {
        transform: scale3d(1,1,1);
      }
    }
  }

 ...