.card {
    width: 300px;
    min-height: 400px;
    margin: 50px auto;
    position: relative;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transition: all 2s ease-in-out;
    transition: all 2s ease-in-out overflow: auto;


}

.card_girar {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg)
}

.card>div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 40px;
    border: 1px solid #ccc;
    font-family: sans-serif;
    text-align: center
}

.card .front {
    z-index: 2;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden
}

.card .front header {
    background: #444;
    width: 100%;
    height: 80px;
    border-radius: 40px 40px 0 0;
    margin-bottom: 55px
}

.card .front img {
    width: 100px;
    height: 100px;
    border-radius: 40%;
    position: relative;
    top: 20px
}

.card .front h3 {
    margin-bottom: 5px
}

.card .front p {
    margin-top: 0 auto;
    width: 90%;
    line-height: 1.7
}

.card .front span {
    display: inline-block;
    margin-top: 5px;
    color: blue;
    font-weight: bold
}

.back {
    z-index: 1;
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.back ul {
    padding: 0;
    list-style: none;
    line-height: 2;
}

.back ul a {
    text-decoration: none
}