






.flip > .front,
.flip > .back {
 
  transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition-duration: 0.5s;
  transition-property: transform, opacity;
   box-sizing: border-box;
  font-weight: normal;

  
  border: 2px dotted red;
  padding: 3px;
  margin-bottom: 5px;

}
.flip > .front {
  transform: rotateY(0deg);
}
.flip > .back {
  position: absolute;
  opacity: 0;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
 
}
.flip:hover > .front {
  
}
.flip:hover > .back {
  opacity: 1;



}

.flip {
  position: relative;
  display: inline-block;
  
  margin-bottom: 1em;
  width: 330px;
   min-width:300px;
  margin-left: 30px;


}
.flip > .front ,
.flip > .back {
  display: block;
  color: white;
  width: inherit;
  background-size: cover !important;
  background-position: center !important;
  height: 240px;
  padding: 1em 2em;
  background: black;
  border-radius: 10px;
}
.flip > .front p {
  font-size: 0.4125rem;
  line-height: 140%;
  color: red;
}
.flip > .back p {
  font-size: 0.9125rem;
  line-height: 160%;
  color: white;
}

.text-shadow {
  
color: #942929;
  text-align: center;
  margin-top: 225px;
  background-color: #b8dcfa;
  font-size: 18px;

}





