.container {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
}

.img-responsive {
  display: block;
  height: auto;
  width: 100%;
  max-width: 100%;
}

.rounded {
  border-radius: 4px;
}

.parallax {
  display: block;
  height: auto;
  position: relative;
  width: auto;
}
.parallax-content {
  height: auto;
  transform: perspective(1600px);
  transform-style: preserve-3d;
  transition: all 0.4s ease;
  width: 100%;
}
.parallax-content:before {
  content: "";
  display: block;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}
.parallax-front {
  align-items: top;
  font-family: "Arial Black", Gadget, sans-serif;
  font-weight: bold;
  font-style: normal;
  font-size: 30px;
  color: #ff3333;
  display: flex;
  height: 100%;
  justify-content: center;
  left: 0;
  position: absolute;
  text-align: center;
  text-shadow: 0 0 3rem rgba(255, 100, 0, 0.95);
  top: 0;
  transform: translateZ(16px) scale(0.9);
  transition: all 0.4s ease;
  width: 100%;
  z-index: 1;
}
.parallax-top-left {
  height: 50%;
  left: 0;
  position: absolute;
  top: 0;
  width: 50%;
  z-index: 300;
  cursor: pointer;
}
.parallax-top-left:hover ~ .parallax-content {
  transform: perspective(1600px) rotateX(-15deg) rotateY(15deg);
}
.parallax-top-left:hover ~ .parallax-content .parallax-front {
  transform: translate3d(-0.1px, -0.1px, 16px) scale(0.9);
}
.parallax-top-right {
  height: 50%;
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  z-index: 300;
  cursor: pointer;
}
.parallax-top-right:hover ~ .parallax-content {
  transform: perspective(1600px) rotateX(-15deg) rotateY(-15deg);
}
.parallax-top-right:hover ~ .parallax-content .parallax-front {
  transform: translate3d(0.1px, -0.1px, 16px) scale(0.9);
}
.parallax-bottom-left {
  bottom: 0;
  height: 50%;
  left: 0;
  position: absolute;
  width: 50%;
  z-index: 300;
  cursor: pointer;
}
.parallax-bottom-left:hover ~ .parallax-content {
  transform: perspective(1600px) rotateX(15deg) rotateY(15deg);
}
.parallax-bottom-left:hover ~ .parallax-content .parallax-front {
  transform: translate3d(-0.1px, 0.1px, 16px) scale(0.9);
}
.parallax-bottom-right {
  bottom: 0;
  height: 50%;
  position: absolute;
  right: 0;
  width: 50%;
  z-index: 300;
  cursor: pointer;
}
.parallax-bottom-right:hover ~ .parallax-content {
  transform: perspective(1600px) rotateX(15deg) rotateY(-15deg);
}
.parallax-bottom-right:hover ~ .parallax-content .parallax-front {
  transform: translate3d(0.1px, 0.1px, 16px) scale(0.9);
}
