/* Container box to set the sides relative to */
.cube {
  width: 250px;
  height: 100px;
  -webkit-transition: all 250ms ease;
  -moz-transition: all 250ms ease;
  -o-transition: all 250ms ease;
  transition: all 250ms ease;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
/* The two faces of the cube */
.default-state,
.active-state {
  height: 100px;
}
/* Position the faces */
.cube .default-state {
  -webkit-transform: translateZ(50px);
  -moz-transform: translateZ(50px);
  -o-transform: translateZ(50px);
  -ms-transform: translateZ(50px);
  transform: translateZ(50px);
}
.cube .active-state {
  -webkit-transform: rotateX(90deg) translateZ(150px);
  -moz-transform: rotateX(90deg) translateZ(150px);
  -o-transform: rotateX(90deg) translateZ(150px);
  -ms-transform: rotateX(90deg) translateZ(150px);
  transform: rotateX(90deg) translateZ(150px);
}

/* Rotate the cube */
.cube.flip {
  -webkit-transform: rotateX(-89deg);
  -moz-transform: rotateX(-89deg);
  -o-transform: rotateX(-89deg);
  -ms-transform: rotateX(-89deg);
  transform: rotateX(-89deg);
}

/* END CORE CSS */
/* Demo styling */
body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  margin: 70px;
  background: #f1f1f1;
}
h1 {
  font-size: 20px;
  text-align: center;
  margin-top: 40px;
}
.cube {
  text-align: center;
  margin: 0 auto;
}
.default-state,
.active-state {
  background: #2ecc71;
  font-size: 16px;
  text-transform: uppercase;
  color: #fff;
  line-height: 100px;
  -webkit-transition: background 250ms ease;
  -moz-transition: background 250ms ease;
  -o-transition: background 250ms ease;
  transition: background 250ms ease;
}
.cube:hover .default-state {
  background: #27af61;
}
.active-state {
  background: #27af61;
}

/*****form styles*****/

label {
	display: block;
	margin: auto;
	width: 250px;
	text-align: center;
	margin-bottom: 5px;
}

input {
	padding: 5px;
	border: none;
}

input:focus {
	outline: none;
}

.currency {
	padding: 5px;
	background: #fff;
	border: 1px solid #ccc;
	display: block;
	width: 250px;
	margin: auto;
}

#hearts {
	width: 200px;
	height: 100px;
	margin: auto
}

#button-container {
	-webkit-perspective: 1000px;
	-moz-perspective: 1000px;
	perspective: 1000px;
}

.cat {
	position: absolute;
	bottom: -140px;
	left: 50%;
	margin-left: -158px;
}