body{
    background-color: rgba(173, 173, 236, 0.644);
    overflow: hidden;
}
h1{
    text-align: center;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: goldenrod;
}
#container {
    position: relative;
    margin: 50px auto;
    width: 502px;
    height: 303px;
    z-index: 1;
    perspective: 1000px;
    }
  #card {
    width: 100%;
    height: 100%;
    box-shadow: 5px 5px 5px #aaa;
    transform-style: preserve-3d;
    transition: all 1.0s linear;
    }
  #container:hover #card {
    box-shadow: 5px -5px 5px #aaa;
    transform: rotateX(180deg);
    }
  .front {
    position: absolute;
    backface-visibility: hidden;
    }
  .back {
    backface-visibility: hidden;
    transform: rotateY(180deg) rotateZ(180deg);
    }
  .back p{
    position: absolute;
    left: 50%;
    top: 70%;
    transform: translateX(-50%);
    font-size: 25px;
    font-family: "Segoe Print", Verdana, sans-serif;
  }
  /* #anim{
    position: relative;
 top: 50px; 
 left: 50px;
 width:75px;
 height:144px;
 background-image: url(https://i.stack.imgur.com/89PYw.png);
 animation: play 1s 0.5s steps(7) infinite, move 10s 1s ease-in-out forwards;
  }
  @keyframes play{
    from{

    }
    to{
        background-position: 560px 0;
    }
  } */