*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(./img/bj.jpg);
}
section{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    transform-style: preserve-3d;
}
.card{
    position: relative;
    width: 320px;
    height: 320px;
    margin: 20px;
    transform-style: preserve-3d;
    perspective: 1000px;
    border-radius: 15px;
}
.card .box{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: 1s ease;
    border-radius: 15px;
}
.card .box .img-box{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}
.card .box .img-box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}
.card .box .con-box{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(30deg,#006400,#ccc,#90EE90);
    display: flex;
    justify-content: center;
    align-items: center;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    transform: rotateY(180deg);
    border-radius: 15px;
}
.card .box .con-box div{
    color: #fff;
    padding: 20px;
    background: rgb(0 0 0 / 40%);
    transform: translateZ(100px);
    border-radius: 15px;
}
.card .box .con-box div h2{
    font-size: 20px;
    letter-spacing: 2px;
}
.card .box .con-box div p{
    font-size: 15px;
    text-align: justify;
    margin-top: 5px;
}
.card:hover .box{
    transform: rotateY(180deg);
}