html,
body {
    margin: 0;
    padding: 0;
    -webkit-overflow-scrolling: touch
}

.container {
    width: 100vw;
    height: 100vh;
    display: flex;
    position: relative;
    background-image: url(../imgs/bg.jpg);
    background-size: cover;
    overflow: hidden;
    z-index: 1;
    transform: translateZ(1px)
}

.logo {
    position: absolute;
    top: 20px;
    left: 10px;
    z-index: 1
}

#scene {
    position: absolute;
    width: 100vw;
    height: 100vh
}

#tip {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) translateZ(9px);
    background-color: #fff;
    padding: 20px;
    display: none
}

#full {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #000;
    z-index: 998;
    transform: translateZ(8px)
}

#fullview {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) translateZ(9px);
    display: none;
    flex-direction: column;
    align-items: center;
    line-height: 40px
}

#fullbtn {
    padding: 0 20px;
    border-radius: 5px;
    background-color: #007bff;
    color: #fff;
    z-index: 999;
    margin-top: 20px
}

.logo2 {
    width: 50px;
    margin-top: 7vh
}

.jindu-con {
    width: 300px;
    height: 4px;
    border-radius: 50px;
    background-color: #fff;
    margin-top: 10px;
    overflow: hidden
}

#jindu {
    height: inherit;
    background-color: #007bff;
    width: 0
}

#jindu-text-con {
    width: 300px;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 50%;
    text-align: center;
    padding: 10px
}

.lang {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #000;
    color: #fff;
    padding: 10px 0;
    width: 104px;
    text-align: center;
    cursor: pointer
}

.vinlBtn {
    position: absolute;
    left: 10px;
    top: 60px;
    width: 150px;
    height: 50px;
    background-color: #007bff;
    color: #fff;
    line-height: 50px;
    text-align: center;
    cursor: pointer
}

.modelBtn {
    position: absolute;
    left: 10px;
    top: 120px;
    width: 150px;
    height: 50px;
    background-color: #007bff;
    color: #fff;
    line-height: 50px;
    text-align: center;
    cursor: pointer
}

.modelcont {
    width: 100vw;
    height: 100vh;
    background-color: #03030380;
    z-index: 9;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center
}

.modelBar {
    position: absolute;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px
}

.modelClose {
    margin-top: 40px
}

.modelClose-btn {
    background-color: #007bff;
    padding: 5px 10px;
    color: #fff;
    display: inline-block;
    margin: 10px 25px;
    cursor: pointer
}

.modelList {
    display: flex
}

.modelitem {
    margin: 0 5px;
    display: flex;
    flex-direction: column;
    align-items: center
}

.modelimg {
    width: 100px;
    height: 100px;
    margin-bottom: 5px;
    border: #fff 2px solid
}

.modelimg-active {
    width: 100px;
    height: 100px;
    margin-bottom: 5px;
    border: #999 2px solid
}

.areaBar {
    position: absolute;
    right: 10px;
    top: 60px
}

.arealist {
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
    scrollbar-width: none;
    max-height: 465px
}

.areaItem {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    border: 1px solid #ccc;
    display: inline-block;
    border: #f1f1f1 solid 2px;
    cursor: pointer
}

.areaItem-active {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    border: 1px solid #ccc;
    display: inline-block;
    cursor: pointer;
    border: #999 solid 2px
}

.colorBar {
    position: absolute;
    left: 10px;
    bottom: 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center
}

.colortag {
    display: flex
}

.colortagItem {
    padding: 5px 20px;
    background-color: #fff;
    margin: 20px 10px;
    color: #999;
    border-radius: 50px;
    border: #007bff 1px solid;
    cursor: pointer;
    pointer-events: auto
}

.colortagItem-active {
    padding: 5px 20px;
    background-color: #007bff;
    margin: 20px 10px;
    color: #fff;
    border-radius: 50px;
    border: #007bff 1px solid
}

.colorlist {
    display: flex;
    overflow-x: scroll;
    scrollbar-width: thin;
    width: -webkit-fill-available
}

.colorItem {
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: auto
}

.colorblock {
    width: 80px;
    height: 80px;
    border: 2px solid #ccc;
    display: inline-block;
    cursor: pointer;
    margin: 5px 0 5px 5px
}

.colorblock-active {
    width: 80px;
    height: 80px;
    border: 2px solid #ff0000;
    display: inline-block;
    cursor: pointer;
    margin: 5px 0 5px 5px
}

.colortext {
    color: #666;
    font-size: 12px
}

.colorbtn {
    font-size: 12px;
    border: #007bff 1px solid;
    padding: 5px 10px;
    border-radius: 20px;
    color: #007bff;
    background-color: #fff;
    cursor: pointer
}

#imgpre {
    position: absolute;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: #00000080
}

.imgCont {
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: max-content;
    height: max-content
}

.closePre {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #000;
    line-height: 40px;
    text-align: center;
    cursor: pointer
}

.preImg {
    object-fit: contain;
    background-color: #fff;
    max-width: 60%;
    max-height: 800px;
    padding: 20px;
    border-radius: 10px
}

.peizhi {
    position: absolute;
    left: 10px;
    bottom: 240px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end
}

.peizhiitem {
    padding: 5px 10px;
    background-color: #ffffffa1;
    border-radius: 5px;
    display: flex;
    margin-top: 10px
}

.peizhiitem-text {
    display: inline-block
}

@media screen and (orientation: portrait) {
    .lang {
        position: absolute;
        top: 10px;
        right: 30px;
        background: #000;
        color: #fff;
        padding: 10px 0;
        width: 80px;
        text-align: center;
        cursor: pointer;
        font-size: 10px
    }

    .vinlBtn {
        position: absolute;
        left: 10px;
        top: 45px;
        width: 80px;
        height: 26px;
        background-color: #007bff;
        color: #fff;
        line-height: 26px;
        text-align: center;
        cursor: pointer;
        font-size: 10px
    }

    .modelBtn {
        position: absolute;
        left: 10px;
        top: 75px;
        width: 80px;
        height: 26px;
        background-color: #007bff;
        color: #fff;
        line-height: 26px;
        text-align: center;
        cursor: pointer;
        font-size: 10px
    }

    .modelcont {
        width: 100vh;
        height: 100vw;
        background-color: #03030380;
        z-index: 9;
        position: absolute;
        top: 0;
        left: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateZ(3px)
    }

    .modelBar {
        position: absolute;
        background-color: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px;
        max-width: 80vh
    }

    .modelClose {
        margin-top: 40px
    }

    .modelClose-btn {
        background-color: #007bff;
        padding: 5px 10px;
        color: #fff;
        display: inline-block;
        margin: 10px 25px;
        cursor: pointer
    }

    .modelList {
        display: flex;
        max-width: 80vh;
        overflow: scroll
    }

    .modelitem {
        margin: 0 5px;
        display: flex;
        flex-direction: column;
        align-items: center
    }

    .modelimg {
        width: 100px;
        height: 100px;
        margin-bottom: 5px;
        border: #fff 2px solid
    }

    .modelimg-active {
        width: 100px;
        height: 100px;
        margin-bottom: 5px;
        border: #999 2px solid
    }

    .areaBar {
        position: absolute;
        right: 30px;
        top: 50px
    }

    .arealist {
        display: flex;
        flex-direction: column;
        overflow-y: scroll;
        max-height: 50vw;
        scrollbar-width: none
    }

    .areaItem {
        width: 40px;
        height: 40px;
        border-radius: 5px;
        border: 1px solid #ccc;
        display: inline-block;
        border: #f1f1f1 solid 1px;
        cursor: pointer
    }

    .areaItem-active {
        width: 40px;
        height: 40px;
        border-radius: 5px;
        border: 1px solid #ccc;
        display: inline-block;
        cursor: pointer;
        border: #999 solid 1px
    }

    .colorBar {
        position: absolute;
        left: 5px;
        bottom: 3px;
        width: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        pointer-events: none
    }

    .colorlist {
        display: flex;
        overflow-x: scroll;
        max-width: 98vh;
        scrollbar-width: none;
        pointer-events: auto
    }

    .colortag {
        display: flex
    }

    .colortagItem {
        padding: 2px 10px;
        background-color: #fff;
        margin: 15px 10px;
        color: #999;
        border-radius: 50px;
        border: #007bff 1px solid;
        cursor: pointer;
        pointer-events: auto;
        font-size: 12px;
        transform: translateZ(3px)
    }

    .colortagItem-active {
        padding: 2px 10px;
        background-color: #007bff;
        margin: 15px 10px;
        color: #fff;
        border-radius: 50px;
        border: #007bff 1px solid;
        font-size: 12px;
        z-index: 8;
        transform: translateZ(3px)
    }

    .colorblock {
        width: 40px;
        height: 40px;
        border: 1px solid #ccc;
        display: inline-block;
        cursor: pointer;
        margin: 5px 0 5px 5px;
        transform: translateZ(3px)
    }

    .colorblock-active {
        width: 40px;
        height: 40px;
        border: 1px solid #ff0000;
        display: inline-block;
        cursor: pointer;
        margin: 5px 0 5px 5px
    }

    .colortext {
        color: #666;
        font-size: 8px
    }

    .colorbtn {
        font-size: 8px;
        border: #007bff 1px solid;
        padding: 2px 5px;
        border-radius: 10px;
        color: #007bff;
        background-color: #fff;
        cursor: pointer
    }

    .colormun {
        font-size: 8px
    }

    #imgpre {
        position: absolute;
        left: 0;
        top: 0;
        width: 100vh;
        height: 100vw;
        background-color: #00000080;
        z-index: 10;
        transform: translateZ(5px)
    }

    .imgCont {
        position: absolute;
        left: 50%;
        top: 40%;
        transform: translate(-50%, -50%);
        display: flex;
        justify-content: center;
        align-items: center;
        width: max-content;
        height: max-content
    }

    .closePre {
        position: absolute;
        top: 10px;
        right: 10px;
        color: #fff;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #000;
        line-height: 40px;
        text-align: center;
        cursor: pointer
    }

    .preImg {
        object-fit: contain;
        background-color: #fff;
        max-width: 60vh;
        max-height: 60vw;
        padding: 10px;
        border-radius: 5px
    }

    .peizhi {
        position: absolute;
        left: 10px;
        bottom: 120px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        transform: translateZ(3px)
    }

    .peizhiitem {
        padding: 2px 5px;
        background-color: #ffffffa1;
        border-radius: 2px;
        display: flex;
        margin-top: 5px
    }

    .peizhiitem-text {
        display: inline-block;
        font-size: 8px
    }
}