.container__card{
    max-width: 1200px;
    margin: auto;
    margin-top: 50px;
    perspective: 1000px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    border-radius: 20px;
}

.card__father{
    margin: 25px;
    perspective: 1000px;
}

.card__father:hover .card{
    transform: rotateY(180deg);
}


.card{
    width: 250px;
    height: 250px;
    position: relative;
    transform-style: preserve-3d;
    transition: all 900ms;
    border-radius: 20px;
    -webkit-transition: all 900ms;
    -moz-transition: all 900ms;
    -ms-transition: all 900ms;
    -o-transition: all 900ms;
}

.card__front{
    
    background-size: cover;
    background-position: 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__back{
    transform: rotateY(180deg);
    background: white;
}

.body__card_front{
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    transform: translateZ(60px);
}
.body__card_front h3{
    color: white;
}

.bg{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.4);
    border-radius: 20px;
}

.body__card_back{
    padding: 30px;
    text-align: center;
    transform: translateZ(60px);
}

.body__card_back p{
    background: #fff;
    margin-top: 20px;
    font-size: 13px;
    color:#000000;
}

.body__card_back input{
    padding: 6px 20px;
    margin-top: 10px;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    cursor: pointer;
    border: none;
    color: #004a70;
    background: white;
    box-shadow: 1px 1px 20px -5px #58B0F6;
    border-radius: 6px;
    transition: box-shadow 900ms;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
    -webkit-transition: box-shadow 900ms;
    -moz-transition: box-shadow 900ms;
    -ms-transition: box-shadow 900ms;
    -o-transition: box-shadow 900ms;
}

.body__card_back input:hover{
    box-shadow: 1px 1px 30px 0px #449de6;
}
