.flip-box {
  background-color: transparent;
  width: 100%;
  height: 100%;
  border: 1px solid #444444;
  perspective: 1000px;
}

.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* .flip-box:hover .flip-box-inner {
  transform: rotateY(180deg);
} */

.elem-flip {
  transform: rotateY(180deg);
}

.flip-box-front,
.flip-box-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-box-front {
  background-color: #343746;
}

.flip-box-back {
  background-color: dodgerblue;
  background: url("../img/bg-0.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
  transform: rotateY(180deg);
}
