html {
    box-sizing: border-box;
}
body {
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    color: #444;
    overflow-x: hidden;
}

.canvas-conatiner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.loader {
    display: block;
    z-index: 1;
    position: absolute;
    top: 50%;
    width:  48px;
    height: 48px;
    background: #ADDFFF;
    border: black solid 2px;
    transform: rotateX(65deg) rotate(45deg);
    color: #fff;
    animation: layers1 1s linear infinite alternate;
}

.loader:after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    border: black solid 2px;
    animation: layerTr 1s linear infinite alternate;
}

@keyframes layerTr {
    0% { transform:  translate(0, 0) scale(1) }
    100% {  transform: translate(-25px, -25px) scale(1) }
}

/* .loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.loader {
    display: block;
    position: absolute;
    top: 50%;
    width: 48px;
    height: 48px;
    border: 5px solid #444;
    border-bottom-color: transparent;
    border-radius: 50%;
    box-sizing: border-box;
    z-index: 1;
    animation: rotation 1s linear infinite;
    }

@keyframes rotation {
    0% { transform: rotate(0deg) }
    100% { transform: rotate(360deg) }
}  */

#editor-container {
    display: none;
    max-width: 90%;
    flex-direction: column;
    z-index: 2;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.editor {
    border:solid 1px #444;
    border-radius: 10px 10px 0px 10px;
    padding: 20px;
    text-align: left;
    vertical-align: top;
    box-shadow: 0px 1px 3px #444;
}

#editor-button {
    height: 35px;
    width: 90px;
    margin: auto;
    margin-top: 7px;
    border:solid 1px #444;
    border-radius: 5px;
    box-shadow: 0px 1px 3px #444;
}