#main {
    width: 100vw;
    height: calc(100vh - 60px);
    background: url("../../img/background/background.jpg") no-repeat;
    background-size: 100% 100%;
    overflow-y: auto;
    padding-top: 60px;
}

#main .top-content {
    position: relative;
    width: calc(100vw - 8px);
    height: 80vh;
    background: transparent;
    overflow: hidden;
}

#main .content {
    width: calc(100vw - 8px);
    padding: 20px;
    box-sizing: border-box;
    background-color: #fff;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

#main .content .left {
    width: 30%;
    padding: 20px;
}

#main .content .left .card {
    margin: 0 auto;
    padding: 20px;
    width: 50%;
    border-radius: 12px;
    height: 300px;
    background: linear-gradient(-45deg, #e8d8b9, #eccec5, #a3e9eb, #bdbdf0, #eec1ea);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card .avatar {
    display: flex;
    justify-content: center;
    margin: 10px auto;
}

.card img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
}

.card .title2 {
    text-align: center;
    font-size: 28px;
}

.card .static {
    display: flex;
    justify-content: space-evenly;
}

.card .static .item {
    margin: 20px;
}

.card .about-me {
    display: flex;
    justify-content: center;

}

.card .about-me .btn {
    /* position: relative;
    margin-top: 12px; */
    background: #39c5bb;
    cursor: pointer;
    width: 65%;
    height: 35px;
    border-radius: 12px;
    text-align: center;
    line-height: 35px;
    color: #fff;
    overflow: hidden;
    z-index: 1;
}

#main .content .right {
    width: 70%;
    padding: 20px;
}

.right .card2 {
    margin-bottom: 48px;
    height: 300px;
    cursor: pointer;
    border-radius: 12px;
    /* padding: 20px; */
    background-color: rgb(255, 255, 255);
    box-shadow: 0 1px 20px -6px rgba(0, 0, 0, 0.5);
    display: flex;
}

.card2 .poster {
    width: 40%;
    height: 100%;
    border-radius: 12px 0 0 12px;
    overflow: hidden;
}

.card2 .poster img {
    object-fit: cover;
    border-radius: 12px 0 0 12px;
    width: 100%;
    height: 100%;
    transition: all 1s;
}

.card2 .poster img:hover {
    transform: scale(1.2);
}

.card2 .cont {
    width: 60%;
    padding: 30px;
}


.right .card3 {
    margin-bottom: 48px;
    height: 300px;
    cursor: pointer;
    border-radius: 12px;
    /* padding: 20px; */
    background-color: rgb(255, 255, 255);
    box-shadow: 0 1px 20px -6px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: row-reverse;
}


.card3 .poster {
    width: 40%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 12px 12px 0;
    overflow: hidden;
}

.card3 .poster img {
    object-fit: cover;
    border-radius: 0 12px 12px 0;
    width: 100%;
    height: 100%;
    transition: all 1s;
}

.card3 .poster img:hover {
    transform: scale(1.2);
}

.card3 .cont {
    width: 60%;
    padding: 30px;
}

.right .post-title {
    font-weight: 800;
    font-size: 22px;
    margin-bottom: 20px;
}

.right .author {
    font-size: 16px;
    margin-bottom: 10px;
}

.right .text {
    height: 160px;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-indent: 2rem;
    line-height: 1.5;
}
/* 移动端适配 */
@media screen and (max-width: 480px) {
    #main .content {
        display: flex;
        flex-direction: column;
    }
    .content .left,.content .right {
        width: 100% !important;
        padding: 0px !important;
    }
    
    .content .left{
        margin-bottom: 30px;
    }
    .content .left .card{
        width: 80% !important;
    }
}