.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;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.two {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    /* align-items: center; */
}

.view18 {
    display: flex;
    gap: 30px;
}

.view18 img {
    width: 100px;
    height: 100px;
}

@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: 100%;
        flex-wrap: wrap;
    }

    .pic img {
        height: 50px;
    }

    .pic a:first-child {
        flex-basis: 100%;
        display: flex;
        justify-content: center;
    }

    .two {
        display: block;
    }

    .view18 {
        padding-top: 50px;
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 12px;
    }

    .view18 img {
        width: 50px;
        height: 50px;
    }
}