@charset "utf-8";
.title {
    text-align: center;
    margin: 30px 0;
}

.title h2 {
    color: #333;
}

.title p {
    margin: 5px 0;
    color: rgb(204, 202, 202);
}

.img-left {
    width: 33%;
    overflow: hidden;
}

.img-left img {
    transition: all .5s;
    width: 100%;
}

.p-info {
    width: 67%;
    height: 367px;
    margin-top: 1px;
    padding: 90px 15px;
    background: #eed7c5;
    color: rgb(133, 132, 132);
}

.p-info h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.p-info p {
    font-size: 14px;
    line-height: 28px;
}

main .center ul a {
    margin: 20px 0;
}

main .center ul a:nth-child(2) li .p-info {
    background: rgb(223, 226, 230);
    color: rgb(93, 93, 93);
}

main .center ul a:nth-child(3) li .p-info {
    background: #e5bdbdb9;
    color: rgb(82, 82, 82);
}

main .center li:hover .img-left img {
    animation: imgRotate 1s;
    opacity: .8;
}

main .center li:hover .p-info h4 {
    font-weight: 600;
}

@keyframes imgRotate {
    0% {
        transform: translateX(0px);
    }
    33% {
        transform: translateX(-40px);
    }
    100% {
        transform: translateX(0px);
    }
}

@media (max-width:768px) {
    .img-left {
        width: 100%;
    }
    .p-info {
        width: 100%;
        height: auto;
        padding: 10px;
    }
    .p-info h4 {
        font-size: 16px;
        margin-bottom: 10px;
    }
}