.box2 li {
    position: relative;
    float: left;
    width: 336px;
    /* height: 300px; */
    margin: 30px;
    border-radius: 15px;
    overflow: hidden;
    /* border: 1px solid #5d5d5d; */
}

.box2 li .img {
    width: 100%;
}

.box2 li p {
    text-align: center;
    font-size: 20px;
    line-height: 35px;
}

.pic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    font-family: '楷体';
    height: 450px;
    font-size: 18px;
    background-color: rgb(3, 3, 3);
    opacity: 0;
    z-index: 99999;
}


.pic:hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 450px;
    padding: 30px;
    background-color: rgb(3, 3, 3);
    opacity: 0.5;
    color: aliceblue;
    box-sizing: border-box;
}