/**{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'lato',sans-serif;
}
body{
    background-color: #f1faff;

}*/
.container_card {
    max-width: 1200px;
    margin: auto;
    margin-top: 10px;
    perspective: 1000px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.card_father {
    margin: 20px;
    perspective: 1000px;
}

.card_father:hover .card3d {
    transform: rotateY(180deg);
}

.card3d {
    position: relative;
    width: 350px;
    height: 350px;
    transform-style: preserve-3d;
    transition: all 600ms;
    text-align: center;
}

.card_front,
.card_back {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    border-radius: 20px;

}

.card_front {
    background: #19199d;
}

.card_back {
    transform: rotateY(180deg);
    background: #fff;
    border: 5px solid #4fabe1;
}

.body_card_front {
    width: 100%;
    height: 100%;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    transform: translateZ(60px);
}

.bg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    /*opacity: 0.5;
    #background: #4fabe1; /*rgba(0,0,0,0.4);*/
    border-radius: 20px;
}

.bg img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.body_card_back {
    padding: 40px;
    text-align: center;
    transform: translateZ(60px);

}

.body_card_back img {
    width: 100%;
    height: 10%;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
}

.body_card_back p {
    margin-top: 30px;
    font-size: 18px;
}

.body_card_back a {
    margin-top: 20px;
    text-decoration: none;
    padding: 10px 40px;
    margin-top: 30px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    color: #fff;
    background: #58b0f6;
    box-shadow: 1px 1px 30px -5px #58b0f6;
    border-radius: 10px;
    transition: box-shadow 600ms;
}

.body_card_back a:hover {
    background: #58b0f6;
    box-shadow: 1px 1px 30px -5px #449de6;
}

@media only screen and (max-width: 556px) {
    .card3d {
        position: relative;
        width: 300px;
        height: 300px;
    }
}