#image-container {
    margin: 20px auto;
    text-align: center;
}

#upload-background-container{
  margin: 20px auto;
}

#pan-preview {
    margin-top: 20px;
    display: inline-block;
    border: 1px solid #000;
    line-height: 1 !important;
}

#pan-delete{
    float: right;
}

input[type="color"] {
    width: 80px;
    vertical-align: middle;
    height: 20px;
}

.square {
    display: inline-block;
    /* width: 50px; */
    width: 84px;
    height: 50px;
    margin: 0 0.5px;
}

#upload-container {
    margin: 20px auto;
    width: 400px;
    text-align: center;
}

#image-preview, #background-preview {
    margin-top: 20px;
    max-width: 100%;
    max-height: 300px;
    position: relative;
    cursor: move;
}

#background-preview {
    width: 800px;
    height: 800px;
    background-size: cover;
    background-repeat: no-repeat;
}

#image-preview img {
    position: relative;
    z-index: 1;
}

#controls-container {
    margin: 20px auto;
    height: 115px;
    text-align: center;
    padding: 10px;
    border: 1px solid #dedede;
}

#controls-container label {
    display: inline-block;
    width: 100px;
    text-align: center;
}

input[type="range"] {
    width: 150px;
    margin: 0 auto;
}

#global-image{
    border: 1px solid #dedede;
    margin: 0 auto;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 15px;
}

#background-input{
    margin: 0 auto;
}