.home {
    width: 100%;
    height: calc(100vh - 65px);
    background-image: url(../img/home/home.webp);
    background-repeat: no-repeat; /* 确保背景图片不重复 */
    background-position: center center; /* 设置背景图片居中 */
    background-size: cover;
    float: left;
}
.x{
    width: 100%;
    height: 65px;
}
.txt{
    width: 100%;
    padding: 35px 25%;
    box-sizing: border-box;
    float:left;    
    color: #ffffff;
    background: linear-gradient(to bottom, #826aa9 0%, #8d3417 80%);
    /* background: linear-gradient(to bottom, #20ea83 0%, #eb1c8f 80%); */
}
.txt .p1{
    font-size: 24px;
    padding-top: 20px;
}
.txt p{
    padding-bottom: 10px;
}
.pic{
    width: 50%;
    margin: 46vh auto 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

@media screen and (orientation: portrait) {
    .home {
        height: calc(100vh - 40px);
    }
    .x{
        width: 100%;
        height: 40px;
    }
    .home .logo{
        width: 50%;
    }
    .home .ren{
        width: 50%;
    }
    .txt{
        padding: 35px 10%;
    }
    .pic{
        width: 80%;
    }
    .pic img{
        height: 50px;
    }
}