*{
-webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
}
body{

    perspective: 1000px
}
.card {
    width: 300px;
    height: 320px;
    margin: 50px auto;
    position:relative;
    transform-style: preserve-3d;
    transition: all 2s ease-in-out;
    
}
.card:hover{

    transform: rotatey(180deg);
}
.card > div{

    position: absolute;
    top: 60px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #EEE;
    color: #777;
    border-radius: 10px;
    border: 1px solid #CCC;
    font-family: Arial, Tahoma;
    text-align: center;
}
.card .front{

    z-index: 1;
    backface-visibility: hidden;
}
.card .front header{

    background-color: #444;
    widows: 100%;
    height: 80px;
    margin-bottom: 55px;
    border-radius: 10px 10px 0 0;
    
}
.card .front img{

    widows: 100px;
    height: 100px;
    border-radius: 50%;
    position: relative;
    top:25px;
    
}
.card .front h3{

    margin-bottom: 5px;
}
.card .front p{

    margin: 0px auto;
    widows: 90%;
    line-height: 1.7;
}
.card .front span{

    display: inline-block;
    margin-top: 5px;
    color: #751A2C;
    font-weight: bold;
    
}
.card .back{

    z-index: 1;
    transform: rotatey(180deg);
    backface-visibility: hidden;
}
.card .back ul{

    padding: 0px;
    list-style:none;
    line-height: 2;
}
footer{
background-color: #DDD;
    color: #FFF;
    padding: 5px;
    margin-top: 40%;
}