:root {
  --aniAngle: rotateX(-15deg) rotateY(0deg) rotateZ(-7deg);
  --aniAngleUp: var(--aniAngle) translateZ(-25px);
  --aniAngleRight: rotateX(-15deg) rotateY(0deg) rotateZ(7deg);
  --aniAngleUpRight: var(--aniAngleRight) translateZ(-25px);
}

.contentWrapperInner {
  max-width: 80%;
  margin: 0 auto;
  position: relative;
}

.headingLayerWrapper {
  max-width: 100%;
  position: relative;
  transition: all 0.3s;
  transform: scale(0.5) translateX(-50px);
  top: 20px;
}

.headingLayerWrapper:hover {
  transform: scale(1) translateX(-150px);
}

.headingLayer,
.headingLayerA {
  position: absolute;
  padding: 5px;
  background: #f3793caa;
  border: 2px solid #f3793c;
  border-radius: 5px;
  color: white;
  font-weight: bold;
  font-size: 10px;
  line-height: 10px;
  transform: var(--aniAngle);
  visibility: hidden !important;
}

.headingLayerA {
  background: #25b981aa;
  border: 2px solid var(--secondary3);
}

.headingLayerRight {
  transform: var(--aniAngleRight);
}

.headingLayerA {
  transform: var(--aniAngle);
}

.imageLayerWrapper {
  max-width: 100%;
  position: relative;
  transition: all 0.3s;
  transform: scale(1.1) translateX(-25px);
  top: 20px;
  min-height: 400px;
}

.imageLayerWrapper:hover {
  transform: scale(2) translateX(-150px) translateY(25px);
}

.imageLayerWrapper:hover .headingLayer,
.imageLayerWrapperA:hover .headingLayerA {
  visibility: visible !important;
}

.imageLayerWrapperRight {
  top: 50px;
  transform: scale(1.1) translateX(50px);
}

.imageLayerWrapperRight:hover {
  transform: scale(2) translateX(150px) translateY(25px);
}

.imageLayerFirst,
.imageLayerFirstA {
  max-width: 100%;
  position: absolute;
  top: 0px;
  display: none;
  box-shadow: 3px 10px 14px 0px #333;
}

.imageLayer,
.imageLayerA {
  max-width: 100%;
  position: absolute;
  top: 0px;
  transform: var(--aniAngle) translateZ(0);
  display: none;
}

.imageLayerRight {
  transform: var(--aniAngleRight);
}

.rotate {
  transform: var(--aniAngle);
  display: block;
}

.rotateRight {
  transform: var(--aniAngleRight);
  display: block;
}

.vert-move {
  display: block;
  -webkit-animation: mover 2s infinite alternate;
  animation: mover 2s infinite alternate;
}

.vert-move-right {
  display: block;
  -webkit-animation: moverRight 2s infinite alternate;
  animation: moverRight 2s infinite alternate;
}

@keyframes mover {
  0% {
    transform: var(--aniAngle) translateZ(0);
    -webkit-filter: drop-shadow(-5px 5px 5px #333);
    filter: drop-shadow(-5px 0px 5px #333);
  }

  100% {
    transform: var(--aniAngle) translateZ(-25px);
    -webkit-filter: drop-shadow(-5px 5px 25px #aaa);
    filter: drop-shadow(-5px 5px 25px #aaa);
  }
}

@keyframes moverRight {
  0% {
    transform: var(--aniAngleRight) translateZ(0);
    -webkit-filter: drop-shadow(-5px 5px 5px #333);
    filter: drop-shadow(-5px 0px 5px #333);
  }

  100% {
    transform: var(--aniAngleRight) translateZ(-25px);
    -webkit-filter: drop-shadow(-5px 5px 25px #aaa);
    filter: drop-shadow(-5px 5px 25px #aaa);
  }
}

.animationPanels1 {
  position: relative;
}

.leftPanel1 {
  width: 40%;
  position: absolute;
  left: 0;
  border-radius: 40px;
  transition-duration: 1000ms;
  transition-timing-function: ease;
}

.rightPanel1 {
  background: linear-gradient(198.28deg, #1e8eef 4.7%, #adcbfc 104.64%);
  border-radius: 40px;
  width: 1000px;
  position: absolute;
  right: calc(-1000px + 15%);

  transition-duration: 1000ms;
  transition-timing-function: ease;
  z-index: 2;
}

.centerPanel1 {
  border-radius: 40px;
  border: 3px solid var(--primary1);
  overflow: visible;
  z-index: 1;

  background: #fff;
  width: 60%;
  position: absolute;
  right: 0;
  margin-top: 50px;
  margin-bottom: 50px;

  transition-duration: 1000ms;
  transition-timing-function: ease;
  min-height: 400px;
}

@media screen and (max-width: 767px) {
  .rightPanel2 {
    display: block !important;
    width: 100% !important;
    position: relative !important;
  }

  .leftPanel2 {
    display: none !important;
  }

  .rightPanel2 .rightHeading2,
  .rightPanel2 .rightText2 {
    margin-right: 10px;
    margin-left: 10px;
  }

  .imageLayerWrapperRight {
    top: 50px;
    transform: scale(1.1) translateX(0px);
  }

  .imageLayerWrapper {
    transform: scale(1.1) translateX(0px);
    min-height: 200px !important;
  }

  .centerPanel1,
  .centerPanel2 {
    min-height: 200px !important;
    border: none !important;
  }

  .imageLayerWrapper:hover {
    transform: scale(1.5) translateX(-5px) translateY(5px);
  }

  .headingLayer,
  .headingLayerA {
    font-size: 8px;
    padding: 1px;
  }
}

.animationPanels2 {
  position: relative;
  min-height: 100vh;
}

.rightPanel2 {
  width: 40%;
  position: absolute;
  right: 0;
  border-radius: 40px;
  transition-duration: 1000ms;
  transition-timing-function: ease;
  background: unset;
  z-index: 0;
}

.leftPanel2 {
  background: linear-gradient(198.28deg, #1e8eef 4.7%, #adcbfc 104.64%);
  border-radius: 40px;
  width: 1000px;
  position: absolute;
  right: calc(-1000px + 15%);

  transition-duration: 1000ms;
  transition-timing-function: ease;
  z-index: 2;
}

.centerPanel2 {
  border-radius: 40px;
  border: 3px solid var(--primary1);
  overflow: visible;
  z-index: 1;

  background: #fff;
  width: 60%;
  position: absolute;
  right: 0;
  margin-top: 50px;
  margin-bottom: 50px;

  transition-duration: 1000ms;
  transition-timing-function: ease;
  min-height: 400px;
}
