.landscape{
    font-size: 30px;
    text-align: center;
    margin-top: 150px;
}
/**PC样式**/
@media screen and (min-width: 768px) {
    html,body{
        background-color: #ffffff;
        height: 100%;
        margin: 0;
        padding: 0;
        overflow: hidden;
    }

    .container{
        display: block;
        position: relative;
        width: 540px;
        margin-left: auto;
        margin-right: auto;
        height: 100vh; /* 使div的高度为视口高度 */
        background-image: url('../img/index_bg.png');
        background-size: cover; /* 确保图片覆盖整个元素 */
        background-position: center; /* 将图片居中显示 */
        min-height: 100vh; /* 确保至少为视口高度 */
    }

    .title{
        position:absolute;
        width: 460px;
        top:80px;
        left: 50%;
        transform: translateX(-50%);
    }

    .title img{
        width:100%;
    }

    .button{
        position:absolute;
        bottom: 60px;
        width: 260px;
        left: 50%;
        transform: translateX(-50%);
    }

    .button img{
        width:100%;
    }
}


/**手机竖屏样式**/
@media screen and (orientation: portrait) {
    html,body{
        background-color: #ffffff;
        height: 100%;
        margin: 0;
        padding: 0;
        overflow: hidden;
    }
    .container{
        width: 100%;
        height: 100%;
        position: fixed; /* 或使用fixed或relative根据需求 */
        top: 0;
        left: 0;
        background-image: url('../img/index_bg.png');
        background-size: cover; /* 确保图片覆盖整个元素 */
        background-position: center; /* 将图片居中显示 */
    }

    .title{
        position:absolute;
        width: 90%;
        top:80px;
        left: 50%;
        transform: translateX(-50%);
    }

    .title img{
        width:100%;
    }

    .button{
        position:fixed;
        bottom: 80px;
        width: 160px;
        left: 50%;
        transform: translateX(-50%);
    }

    .button img{
        width:100%;
    }
}
