body {
    background: rgb(168 82 82);
}

#wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    perspective: 1500px;
}

.box-bottom {
    /* box-shadow: 0 0 30px 5px rgb(0 0 0 / 25%);
    backface-visibility: hidden; */
}

#rotator {
    transform-style: preserve-3d;
    transition: transform cubic-bezier(0.82, 0.02, 0.35, 0.99) 750ms;
    /* Top */
    /* transform: rotateX(-75deg)rotateY(-25deg); */
    /* Bottom */
    /* transform: rotateX(75deg)rotateY(-115deg); */
    /* Left */
    /* transform: rotateX(-25deg)rotateY(75deg); */
    /* Right */
    transform: rotateX(-25deg)rotateY(-115deg);
    /* Front */
    /* transform: rotateX(-25deg)rotateY(-25deg); */
    /* Back */
    /* transform: rotateX(-25deg)rotateY(165deg); */
}

.area {
    position: relative;
    transform-style: preserve-3d;
    /* animation-name: rotate;
    animation-duration: 30s;
    transform: rotate3d(0, 1, 0, 40deg);
    animation-timing-function: linear;
    animation-iteration-count: infinite;  */
}

.lid {
    z-index: 1;
}

.lid>.face {
    transform: translate(0, -10px);
}

@keyframes rotate {
    0% {
        transform: rotate3d(0, 0, 0, 0);
    }
    100% {
        transform: rotate3d(0, 1, 0, 360deg);
        ;
    }
}

.face {
    position: absolute;
    transition: 1000ms;
    background-color: #fff;
    /* box-shadow: 0 0 50px 0 rgba(255, 0, 0) inset; */
    /* box-shadow: 0 0 50px 0 rgb(165 152 152) inset; */
    box-shadow: 0 0 50px 0 rgb(133 133 133 / 44%) inset;
    /* box-shadow: 0 0 100px rgb(0 0 0 / 8%) inset; */
    overflow: hidden;
}

.image {
    background-size: cover;
    /* height: 100%;
    width: 100%; */
    position: absolute;
}

#picture {
    width: 100%;
    height: 100%;
    background-color: red;
    background-size: cover;
    cursor: grab;
}

#lid-top,
#lid-back,
#lid-front,
#lid-left,
#lid-right,
#box-bottom,
#box-left,
#box-right,
#box-front,
#box-back {
    backface-visibility: hidden;
}

#bounds {
    width: 250px;
    height: 250px;
    background-color: burlywood;
    float: left;
    display: flex;
    overflow: hidden;
    border-radius: 5px;
}

.big-blue {
    width: 200px;
    height: 200px;
    background-color: #00f;
}

.controls {
    float: left;
}


/* FOR TEST */

.ui-resizable-nw {
    cursor: nw-resize;
    left: 5px;
    top: 5px;
}

.ui-resizable {
    position: absolute;
}

.ui-resizable-ne {
    cursor: ne-resize;
    right: 5px;
    top: 5px;
}

.ui-resizable-sw {
    cursor: sw-resize;
    left: 5px;
    bottom: 5px;
}

.ui-resizable-se {
    cursor: se-resize;
    right: 5px;
    bottom: 5px;
}

.ui-resizable-handle {
    width: 14px;
    height: 14px;
    background-color: black;
    border-radius: 20px;
}

.imageEditor {
    /* display: flex;
    width: 100%; */
    position: absolute;
    top: 10px;
}

#bounds {
    display: flex;
    float: left;
    position: relative;
}

#Packbounds {
    display: flex;
    float: right;
    margin-left: auto;
}


/* FOR TEST */

.display-section {
    display: flex;
    position: relative;
    width: 100%;
    height: 40vw;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 25px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

.slider:hover {
    opacity: 1;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    background: #04AA6D;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    background: #04AA6D;
    cursor: pointer;
}