.content1 {
  background-color: #000;
  color: #ffff;
  padding: 40px;
  border-radius: 5px;
  z-index: 9;
}
 .main-otr {
    position: relative;
    z-index: 1;
}
.content1 h4 {
    color: #fff;
    margin-bottom: 5px;
}
 .left-btn i {
    opacity: .3;
}

 
.content1 {
  position: relative;
  /* display: none; */
  /* right: 13%; */
  position: relative;
  display: flex;
  background-color: black;
  color: white;
  height: 330px;
  flex-direction: column;
  justify-content: end;
}
 
.right-btn {
  display: flex;
  align-items: center;
  width: 79px;
  height: 79px;
  justify-content: center;
  top: 9792px;
  background: #ffd6001a;
  background: #ffd600;
  left: 504px;
  cursor: pointer;
}
.left-btn {
  display: flex;
  align-items: center;
  width: 79px;
  background: #ffd50044;
  height: 79px;
  justify-content: center;
  top: 9792px;
  left: 504px;
  cursor: pointer;
}
.content1 {
  display: none;
  /* opacity: 0; */
  transition: opacity 0.1s ease-in-out;
}
 
.content1.active {
  display: block;
  opacity: 1;
}
 
.centerpage {

}
 
.btns {
  display: flex;
  justify-content: center;
  position: absolute;
    bottom: 0;
    left: 32%;
}
 
.btn-cont {
 
  z-index: 9;
  flex: 0 55%;
    align-self: end;
}
.leftimage {
  position: absolute;
  height: 476px;
  width: 430px;
  object-fit: cover;
  right: 57%;
  position: absolute;
  transition: all 0.5s ease-in-out;
  bottom: 79px;
}
.left-content {
 
}
 
.leftimage:nth-child(2) {
  position: absolute;
  left: 2px;
}
 
.leftimage:nth-child(3) {
  position: absolute;
  left: 26px;
}
 
.move-to-front {
  transform: scale(1.1) translateY(-10px);
  opacity: 0;
}
 
/* Moves the first image to the back with a fade-out and scale-down effect */
.move-to-back {
  transform: scale(0.9) translateY(10px);
  opacity: 0;
}
.inner-div {
  position:relative;
}
.inner-div {
    min-height: 550px;
}

.centerpage {
    min-height: 550px;
    display: flex;
    justify-content: center;
    position: relative;
}

.left-content {
    min-height: 550px;
    flex: 35%;
}
.btn-cont {
    position: relative;
}

.btns {
    position: absolute;
    bottom: 0;
    left: -158px;
}
@media (max-width: 768px) {
  .inner-div {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    padding: 0px;
/*     min-height:900px; */
  }
 
  .left-content {
    margin-bottom: 10px;
  }
  .content1 {
    border-radius: 5px;
    padding: 18px;
    width: 312px;
    background-color: black;
    color: white;
    height: 100%;
    flex-direction: column;
    justify-content: end;
    min-height: 400px;
  }
 
  .leftimage {
    left: -5%;
    border-radius: 5px;
    height: 298px;
    width: 330px;
    transition: transform 0.5s ease, opacity 0.5s ease;
    object-fit: cover;
  }
  .btns {
    display: flex;
    justify-content: center;
    order: 1;
    bottom: -79px;
    left: 0;

  }

  .btn-cont {
    display: flex;
    align-items: start;
    flex-direction: column;
    top: 325px;
  }
 
  .leftimage {
    margin-bottom: 10px;
  }
 

  .centerpage {
    position: relative;
    display: flex;

   
    justify-content: center;
    flex-direction: column;
  }


  .left-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-width: 283px;
    min-height: 350px;
}
 
  .leftimage:nth-child(2) {
    position: absolute;
    left: -21%;
    height: 298px;
    width: 330px;
  }
 
  .leftimage:nth-child(3) {
    position: absolute;
    left: -29%;
    height: 298px;
    width: 330px;
  }
  .left-content img {
    left: 0 !important;!I;!;
    top: 0;!I;!;!I;!;
}
  .btn-cont {
    position: unset;
}
}
 