body {
    margin: 0px;
    background: #6dcee9;
}

.header{
    min-height:unset!important;
    background-image:url('')!important;
}

li{
    list-style:none;
}


/*------Header------*/


.center {
    margin-bottom: 239%;
}

.btn {
    text-decoration: none;
    padding: 20px 50px;
    font-size: 1.25rem;
    position: relative;
    overflow: hidden;
    color: #fff;
    border-radius: 30px;
    box-shadow: 0 0 0 0 rgba(143, 64, 248, 0.5), 0 0 0 0 rgba(39, 200, 255, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.btn.btn-1 {
    margin-bottom: 110%;
}

.btn::after {
    content: "";
    width: 530px;
    height: 530px;
    position: absolute;
    top: -50px;
    left: -100px;
    background-color: #ff3cac;
    background-image: linear-gradient(255deg, #4cd480 0%, #56d4f7 50%, #cb4dd4 100%);
    z-index: -1;
    transition: transform 0.5s ease;
}

.btn:hover {
    transform: translate(0, -6px);
    box-shadow: 10px -10px 25px 0 rgba(143, 64, 248, 0.5), -10px 10px 25px 0 rgba(39, 200, 255, 0.5);
}

.btn:hover::after {
    transform: rotate(150deg);
}


/*---BOXES---*/


/*------Design------*/

.row {
    justify-content: space-around;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.boxes {
    width: 50%;
    margin: auto;
    text-align: center;
}

.box-col {
    height: 342px;
    width: 27%;
    flex-basis: 30%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.box-col img {
    width: 100%;
    display: block;
}

.layer {
    background: transparent;
    height: 74%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
}

.layer:hover {
    background: rgba(255, 76, 195, 0.7);
}

.layer h2 {
    width: 46%;
    font-weight: 500;
    color: #fff;
    font-size: 26px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;
}

.layer:hover h2 {
    bottom: 42%;
    opacity: 1;
}

.center {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.popup .dismiss-btn {
    margin-bottom: 15px;
}

.popup .dismiss-btn button {
    padding: 10px 20px;
    background: #111;
    color: #f5f5f5;
    border: 2px solid #111;
    font-size: 16px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    border-radius: 10px;
    transition: all 300ms ease-in-out;
}

.popup .dismiss-btn button:hover {
    color: #111;
    background: #f5f5f5;
}

.popup {
    width: 600px;
    height: 350px;
    padding: 30px 20px;
    background: #f5f5f5;
    border-radius: 10px;
    box-sizing: border-box;
    z-index: 2;
    text-align: center;
    opacity: 0;
    top: -200%;
    transform: translate(-50%, -50%) scale(0.5);
    transition: opacity 300ms ease-in-out, top 1000ms ease-in-out transform 1000ms ease-in-out;
}

.popup.active {
    opacity: 1;
    top: 40%;
    transform: translate(-50%, -50%) scale(1);
    transition: transform 300ms cubic-bezier(0.18, 0.89, 0.43, 1.19);
}

.popup>div {
    position: relative;
    top: 10px;
    opacity: 0;
}

.popup.active>div {
    top: 0px;
    opacity: 1;
}

.popup.active .row {
    transition: all 300ms ease-in-out 250ms;
}

.popup.active .dismiss-btn {
    transition: all 300ms ease-in-out 250ms;
}

.center button {
    margin-bottom: 239%;
}

#wrapper {
    position: absolute;
    left: 50%;
    top: 35%;
    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: #11617b;
    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: white;
    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: #60d8ff;
    border-radius: 20px;
}

.imageEditor {
    /* display: flex;
    width: 100%; */
    position: absolute;
    top: 35%;
    left: 75%;
}

#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: 100vh;
}

.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;
}


/*-----Controls-----*/

li input{
    float:right;
    width:100%;
}

.controls {
    width:25%;
    top: 30vh;
    position: absolute;
    margin-left: 5%;
    /* box-shadow: 0 20px 20px black; */
    padding: 25px;
    /* border-style: outset; */
    border-radius: 10px;
    background-color: rgb(255, 255, 255);
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 20px;
    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: 20px;
    height: 20px;
    background: #04AA6D;
    cursor: grab;
}

.slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    background: #04AA6D;
    cursor: pointer;
}

#open_close {
    margin-left: 41%;
    margin-bottom: 5%;
    border-radius: 5px;
    background-color: white;
    color: black;
    border: 2px solid #f44336;
    cursor: pointer;
}

#open_close:hover {
    background-color: #f44336;
    color: white;
}

.faces #top,
#front,
#right,
#back,
#left,
#bottom {
    margin-bottom: 7%;
    border-radius: 5px;
    background-color: white;
    color: black;
    border: 2px solid #008CBA;
    cursor: pointer;
}

.faces #top:hover {
    background-color: #008CBA;
    color: white;
}

.faces #front:hover {
    background-color: #008CBA;
    color: white;
}

.faces #right:hover {
    background-color: #008CBA;
    color: white;
}

.faces #back:hover {
    background-color: #008CBA;
    color: white;
}

.faces #left:hover {
    background-color: #008CBA;
    color: white;
}

.faces #bottom:hover {
    background-color: #008CBA;
    color: white;
}
/*
.colors {
    margin-left: 76%;
    margin-top: -31%;
    position: absolute;
}*/