body{
    perspective:1000px
}
.card{
    margin: 10px auto;
    width: 145px;
    height: 400px;
    position: relative;
    transform-style: preserve-3d;
    transition: all 3s ease-in-out;
}
.card:hover{
transform: rotateY(180deg);
 backface-visibility: hidden;

    
}
.card > div{
background-color:#CCC;
    width: 145px;
    height: 171px;
    color:#FFF;
    position: absolute;
    top: 11px
}

.card .font{
z-index: 2;
   
        
}

header{
    background-color: black;
    width: 99%;
    height: 15%;
    border: 1px solid #CCC;
    border-radius: 6px;
}
img{
position: absolute;
    top: 1px;
    right: 57px;
    width: -15px;
    height: 31px;
    border-radius:50%
}
h1{
    text-align: center;
    font-size: 15px;
    text-shadow: -1px 5px 2px black;
}
p{
    text-align: center;
    font-size: 10px;
    line-height: 1.7;
    font-family: monospace;
    color: rgba(29, 47, 88, 0.54);
}
spn {
    text-align: center;
    color: #378e47;
    font-size: 10px;
    float-right: 10px;
    position: absolute;
    right: 41px;
}
.card .back{
z-index: 1;  
          transform: rotateY(180deg)
}
.card .back ul{
list-style: none;
    font-size: 10px;
    line-height: 2;
    color: darkblue;
}