.section-3-container-div {
  background-color: grey;
  width: 100%;
  height: 600px;
  position: relative;
}

.section-3-container-div .left-section {
  width: 50%;
  height: 100%;
  position: absolute;
  background-size: cover;
  background-image: url(../Drawables/Images/editing.jpg);
  /* position: relative; */
  transition: all 0.25s cubic-bezier(0.65, 0, 0.35, 1);
}

.section-3-container-div .right-section {
  width: 50%;
  height: 100%;
  background: url(../Drawables/Images/lava.jpg);
  background-size: cover;
  position: absolute;
  left: 50%;
  z-index: 10;
}

.overlay {
  background: no-repeat linear-gradient(#0000, #0000004d 20%, #000000bf 75%);
  height: 100%;
  width: 100%;
  transform-origin: bottom;
  transition: all 0.25s cubic-bezier(0.65, 0, 0.35, 1);
}

.left-section:hover .overlay ,.right-section:hover .overlay{
  transform: scaleY(25%);
}

.hover-text {
  height: 100%;
  width: 100%;
}

.text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  font-family: barlow, Arial, Helvetica, sans-serif;
  font-weight: 600;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 100px;
  align-items: center;
  flex-direction: column;
  height: 100%;
  width: 100%;
  margin: auto 0;
}

.text h4{
    font-size: 30px;
    text-transform: uppercase;
    font-weight: 1000;
}

.left-section:hover .text p{
    margin-bottom: 350px;
}

.text p{
    font-weight: 300;
    transition: all 0.25s cubic-bezier(0.65, 0, 0.35, 1);
    max-width: 400px;
}

.right-section:hover .text p{
    margin-bottom: 250px;
}
