.card-container {
  cursor: pointer;
  height: 300px;

  position: relative;
  width: 100%;
  margin: 5px 0px 5px;
}
.card {
  height: 300px;
  position: absolute;
  transform-style: preserve-3d;
  transition: all 1s ease-in-out;
  width: 100%;
  text-align: center;
  display: block;
}
.card:hover {
  transform: rotateY(180deg);
}
.card .side {
  backface-visibility: hidden;
  border-radius: 6px;
  height: 300px;
  position: absolute;
  overflow: hidden;
  width: 100%;
}
.card .back {

  color: #ffffff;
  font-size: 20px;
  padding-top: 80px;
  text-align: center;
  transform: rotateY(180deg);
  
}
