// 页面容器
.lighting-box {
    position: relative;
    width: 100%;
    height: 100%;
    // background: linear-gradient(#badaff, #8cabeb, #7095de);
    // 照明设备功能总容器
    .lighting-img-box {
        position: relative;
        width: 1280px;
        height: 720px;
        user-select: none;
        background-image: url(../image/bg.jpg);
        // 由于背景是俯视图，会产生有交点的透视效果，故使用透视属性
        perspective: 1000px;
        perspective-origin: 850px -160px;
        // 左上角区域切换功能
        .btn-box {
            width: 120px;
            position: sticky;
            top: 10px;
            left: 10px;
            display: flex;
            flex-direction: column;
            gap: 8px;
            .btn-item {
                cursor: pointer;
                width: 100%;
                height: 40px;
                border-radius: 4px;
                background: rgba(39, 120, 255, 1);
                border: 1px solid rgba(51, 199, 255, 1);
                box-shadow: 0px 10px 15px rgba(0, 54, 136, 0.3);
                font-size: 18px;
                color: white;
            }
            .btn-item:hover {
                color: black;
            }
        }
        // 大区分区
        .area{
            position: absolute;
            bottom: 170px;
            left: 240px;
            width: 780px;
            height: 240px;
            transform: rotateX(79deg) rotateZ(-22deg) skew(29deg);
            display: flex;
            gap: 5px;  
            .area1 {
                width: 65px;
                background: rgba(0, 251, 91, 0.3);
                border: 2px solid rgb(0, 251, 91);
                display: flex;
            }   
            .area2 {
                width: 100px;
                background: rgba(255, 165, 0, 0.3);
                border: 2px solid rgb(255, 165, 0);
                display: flex;
            } 
            .area3 {
                width: 220px;
                background: rgba(255, 0, 0, 0.3);
                border: 2px solid rgb(255, 0, 0);
                display: flex;
            } 
            .area4 {
                width: 70px;
                background: rgba(80, 236, 244, 0.3);
                border: 2px solid rgb(80, 236, 244);
                display: flex;
            } 
            .area5 {
                flex: 210px;
                background: rgba(0, 251, 91, 0.3);
                border: 2px solid rgb(0, 251, 91);
                display: flex;
            } 
            .area6 {
                flex: 1;
                background: rgba(255, 165, 0, 0.3);
                border: 2px solid rgb(255, 165, 0);
                display: flex;
            } 
            .area-item:hover {
                transform: scale(1.05);
            }
            .area-item {
                cursor: pointer;
                transition: all ease 0.2s;
                >.light-group {
                    height: 100%;
                    flex: 1;
                    display:flex;
                    justify-content: center;
                    align-items: center;
                    box-sizing: border-box;
                    padding: 10px;
                    // border: 2px solid red;
                    .shadow-box {
                        width: 30px;
                        height: 200px;
                        border-radius: 20px;
                        background: rgba(0, 0, 0, 0.2);
                    }
                }
            }
        }
    }
}
// 总容器与抽屉按钮
.ns-content-main {
    position: relative;
    // 抽屉打开按钮
    .drawer-box-in {
        width: 30px;
        height: 40px;
        border-radius: 2px;
        position: fixed;
        right: 0;
        top: 0;
        bottom: 0;
        margin: auto;
        background: rgba(0, 0 ,0 ,0.5);
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
    }
    // 抽屉关闭按钮
    .drawer-box-out {
        width: 30px;
        height: 40px;
        border-radius: 2px;
        position: fixed;
        right: 496px;
        top: 0;
        bottom: 0;
        margin: auto;
        background: rgba(0, 0 ,0 ,0.5);
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
    }
    
}
