*{
    margin: 0;
    padding: 0%;
    box-sizing: border-box;

}
body{
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

}
.container{
    perspective: 1000px;
    
}
.card{
    position: relative;
    width: 200px;
    height: 300px;
    border:2px solid black;
    transform-style:preserve-3d ;
    transition: transform 0.6s;
    border-radius: 10px;
    
}
.fornt ,.back{
    position: absolute;
    width:100%;
    height:100%;
    backface-visibility: hidden;


}
.fornt{
    background:url("uno\ front.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size:170%;
    transform: rotateY(0deg);
}
.back{
    background:url("uno\ b.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transform: rotateY(180deg);

}
.container:hover .card{
    transform: rotateY(180deg);
}