*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.box {
   
    width: 550px;
    height: 300px;
    position: relative;
    perspective: 800px;
    
   
    

}
.box .front, .box .back {
    
    width: inherit;
    height: inherit;
    position: absolute;
    backface-visibility: hidden;
    transition: 1s transform;
    border-radius: 0 20px;
    
    
}
.box .front {
    background-image: url(img/kartvzt_on.PNG);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.box .back {
    background-image: url(img/kartvzt_arka.PNG);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transform: rotateX(-180deg);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.box:hover .front{
    transform: rotateX(180deg)
}
.box:hover .back{
    transform: rotateX(0);
}
@media(max-width:768px){
    .box .front, .box .back {
        width: 80%;
        height: 80%;
        background-size: contain;
        
    }


 
}
