/* body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-wrap: wrap;
    background: #fbe9e7;
    background: #7c0a0a;
} */
.flex-wraper{
    display: flex;
    justify-content: center;
    align-items: center;
    /* min-height: 100vh; */
    min-height: 50vh;
    flex-wrap: wrap;
}
.card{
    position: relative;
    /* width: 250px; */
    /* height: 350px; */
    width: 213px;
    height: 250px;
    margin: 20px 20px;
    background: #ffff;
    transform-style:preserve-3d ;
    justify-content: center;
    align-items: center;
    display: flex;
    transform: perspective(100rem);
    box-shadow: 10px 10px 50px rgba(0, 0,0,0.5);
    transform: 1s;
    
   
}
/* .card:hover{
    transform: translateX(30%);
    margin: 20px 160px;
} */
.card .imgbox{
    position: relative;
    width: 100%;
    height: 100%;
    z-index:1;  
    transform-origin: left;
    transform-style:preserve-3d ;
    background: #ff9a30 ;
    transition: 1s; 
    box-shadow: 10px 20px 40px rgba(0, 0,0,0.25);

}
.card:hover .imgbox{
    transform: rotateY(-180deg);
    box-shadow: 10px 10px 05px rgba(0, 0,0,0.5);
    
}
.card .imgbox img{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height: 100%;
    object-fit: cover;
    transform-style: preserve-3d;
    backface-visibility: hidden;
   
}
.card .imgbox img:nth-child(2){
    transform: rotateY(180deg);
    
}


.card .details{
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.card .details .content{
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.card .details .content h2{
    text-align: center;
    font-weight: 700;
    line-height: 1em;
}
.card .details .content h2 span{
    color: #e21212;
    font-size: 0.8em;
}
.card .details .content .social{
    position: relative;
    display: flex;
    margin-top: 10px;
}
.card .details .content .social a{
    display: inline-block;
    width:35px;
    height: 35px;
    background: #333;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    margin:5px;
    font-size: 18px;
    transition: 0.2s;

}
.card .details .content .social a:hover{
    background:#e21212;
}

.cta, .cta-2 {
    font-family: Yanone Kaffeesatz;
    display: inline-block;
    cursor: pointer;
    color: white;
    padding: 15px 10px;
    background-color: black;
    border: 2px solid black;
    text-transform: uppercase;
  }
  .cta a, .cta-2 a {
    color: white;
    text-decoration: none;
  }
  .cta:hover, .cta-2:hover {
    background-color: white;
  } 
  .cta:hover a, .cta-2:hover {
    color: black;
    text-decoration: none;
  }
  .middle{
    margin-left: 16px;
    margin-top: 45px;
  }