body {
    padding: 0;
    margin: 0;
}

canvas {
    padding: 0;
    margin: 0;
}

::-webkit-scrollbar {
    display: none;
}

.box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    perspective: 900px;
}

.box1 {
    width: 400px;
    height: 400px;
    transform-style: preserve-3d;
    transform: translate(-50%, -50%);
    animation: dh 5s linear infinite;
    user-select: none;
}

.box .box1 div {
    width: 100%;
    height: 100%;
    position: absolute;
    font-size: 20px;
    line-height: 400px;
    text-align: center;
    color: white;
    transition: 0.6s;

}

.box .box1 .font {
    /* background: url(../Style/img/1.jpg); */
    width: 400px;
    height: 400px;
    opacity: 0.8;
    transform: translateZ(200px);
    object-fit: cover;

}

.box .box1 .back {
    /* background: url(../Style/img/2.jpg); */
    background-size: 100% 100%;
    opacity: 0.8;
    transform: translateZ(-200px) rotateY(180deg);
    object-fit: cover;
}

.box .box1 .right {
    /* background: url(../Style/img/3.jpg); */
    background-size: 100% 100%;
    opacity: 0.8;
    transform: rotateY(90deg) translateZ(200px);
    object-fit: cover;
}

.box .box1 .left {
    /* background: url(../Style/img/4.jpg); */
    background-size: 100% 100%;
    opacity: 0.8;
    transform: rotateY(-90deg) translateZ(200px);
    object-fit: cover;
}

.box .box1 .top {
    /* background: url(../Style/img/5.jpg); */
    background-size: 100% 100%;
    opacity: 0.8;
    transform: rotateX(90deg) translateZ(200px);
    object-fit: cover;
}

.box .box1 .bottom {
    /* background: url(../Style/img/6.jpg); */
    background-size: 100% 100%;
    opacity: 0.8;
    transform: rotateX(-90deg) translateZ(200px);
    object-fit: cover;
}



.box .box1:hover .font {
    /* background: url(../Style/img/7.jpg); */
    background-size: 100% 100%;
    opacity: 0.4;
    transition-duration: 1s;
    transform: translateZ(400px);
    object-fit: cover;

}

.box .box1:hover .back {
    /* background: url(../Style/img/8.jpg); */
    background-size: 100% 100%;
    opacity: 0.4;
    transition-duration: 1s;
    transform: translateZ(-400px) rotateY(180deg);
    object-fit: cover;

}

.box .box1:hover .right {
    background: url(./Style/img/9.jpg);
    background-size: 100% 100%;
    opacity: 0.4;
    transition-duration: 1s;
    transform: rotateY(90deg) translateZ(400px);
    object-fit: cover;

}

.box .box1:hover .left {
    background: url(./Style/img/5.jpg);
    background-size: 100% 100%;
    opacity: 0.4;
    transition-duration: 1s;
    transform: rotateY(-90deg) translateZ(400px);
}

.box .box1:hover .top {
    background: url(../Style/img/6.jpg);
    background-size: 100% 100%;
    opacity: 0.4;
    transition-duration: 1s;
    transform: rotateX(90deg) translateZ(400px);
    object-fit: cover;

}

.box .box1:hover .bottom {
    background: url(../Style/img/1.jpg);
    background-size: 100% 100%;
    opacity: 0.4;
    transition-duration: 1s;
    transform: rotateX(-90deg) translateZ(400px);
    object-fit: cover;

}

@keyframes dh {
    0% {
        -webkit-transform: rotateX(-10deg) rotateY(0deg);
    }

    100% {
        -webkit-transform: rotateX(-10deg) rotateY(360deg);
    }
}

.box .box1 i {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -50px;
    margin-left: -50px;
    width: 200px;
    height: 200px;
}

.box .box1 .i-font {
    object-fit: cover;
    background: url(../Style/img/1.jpg);
    background-size: 100% 100%;
    transform: translateZ(100px);
}

.box .box1 .i-back {
    object-fit: cover;
    background: url(../Style/img/5.jpg);
    background-size: 100% 100%;
    transform: translateZ(-100px) rotateY(180deg);
}

.box .box1 .i-right {
    background: url(../Style/img/3.jpg);
    background-size: 100% 100%;
    object-fit: cover;
    transform: rotateY(90deg) translateZ(100px);
}

.box .box1 .i-left {
    background: url(../Style/img/2.jpg);
    object-fit: cover;
    background-size: 100% 100%;
    transform: rotateY(-90deg) translateZ(100px);
}

.box .box1 .i-top {
    background: url(../Style/img/7.jpg);
    background-size: 100% 100%;
    transform: rotateX(90deg) translateZ(100px);
    object-fit: cover;

}

.box .box1 .i-bottom {
    background: url(../Style/img/9.jpg);
    background-size: 100% 100%;
    object-fit: cover;

    transform: rotateX(-90deg) translateZ(100px);
}

.img {
    object-fit: cover;
    width: 400px;
    height: 400px;
}
.i_img {
    object-fit: cover;
    width: 200px;
    height: 200px;
}
#return{
    width: 50px;
    height: 50px;
    background-color: aliceblue;
    position: absolute;
    top: 5%;
    left: 5%;
    border-radius: 50%;
    display: flex;
    align-items: center;

    opacity: 0.5;
}