body {
    background-color: #212121;
    margin: 0;
}

::-webkit-scrollbar {
    width: 10px;
}
  
::-webkit-scrollbar-track {
    background: transparent;
}
  
::-webkit-scrollbar-thumb {
    background: #888;
}
  
::-webkit-scrollbar-thumb:active {
    background: #555;
}

:root {
    --workspace-width: 1920px;
    --workspace-height: 1080px;
}

#background-workspace {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: -999;
}

#overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 50%;
}

#icon {
    position: fixed;
    width: 138px;
    height: 55.5px;
    margin: 20px;
}

#small-icon {
    display: none;
    position: fixed;
    width: 47px;
    margin-left: 13px;
    margin-top: 20px;
}

#left-side-menu {
    position: fixed;
    width: 266px;
    height: 100%;
    background-color: black;
    z-index: -1;
    transition: all 1s;
}

#decrease-left-side-menu-div {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: #171717;
    border-bottom-right-radius: 100px;
    margin-left: 266px;
    cursor: pointer;
    transition: all 1s;
}

#decrease-left-side-menu-arrow {
    position: absolute;
    width: 10px;
    height: 10px;
    cursor: pointer;
    box-shadow: 0px 0px 10px 10px var(--title-color);
    border: 3px solid white;
    border-width: 3px 3px 0 0;
    margin: 10px;
    transition: all 1s;
}

.arrow-left {
    transform: rotate(220deg);
}

.arrow-right {
    transform: rotate(45deg);
}

.left-side-menu-buttons-text {
    margin: 0;
    transform: all 1s;
}

#create-element-button {
    cursor: pointer;
    width: 200px;
    height: 40px;
    color: white;
    font-family: 'Trebuchet MS', sans-serif;
    font-size: 15px;
    font-weight: bold;
    background-color: aqua;
    box-shadow: 0 0 10px 10px;
    border: 0;
    border-radius: 10px;
    margin-top: 90px;
    margin-left: 33px;
    box-shadow: 0 0 10px 1px aqua;
    transition: all 1s;
}

#create-element-button:hover {
    box-shadow: 0 0 50px 1px aqua;
}

#create-element-icon {
    display: none;
    width: 40px;
    height: 40px;
    margin: -2px;
}

#save-icon {
    display: none;
    width: 30px;
    margin-left: 4px;
}

#settings-icon {
    display: none;
    width: 30px;
    margin-left: 4px;
}

.left-side-menu-icons {
    display: none;
}

.left-side-menu-buttons {
    cursor: pointer;
    width: 200px;
    height: 40px;
    color: white;
    font-family: 'Trebuchet MS', sans-serif;
    font-size: 15px;
    font-weight: bold;
    background-color: #242424;
    box-shadow: 0 0 10px 10px;
    border: 0;
    border-radius: 10px;
    margin-top: 30px;
    margin-left: 33px;
    box-shadow: 0 0 10px 1px #242424;
    transition: all 1s;
}

.left-side-menu-buttons:hover {
    box-shadow: 0 0 50px 1px #555;
    background-color: #555;
}

#elements-list-header {
    position: absolute;
    width: 266px;
    height: 20px;
    background-color: #292929;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    bottom: 350px;
    transition: all 1s;
}

#elements-list-header-text {
    position: absolute;
    color: white;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-weight: bold;
    text-shadow: 0px 0px 2px white;
    margin-left: 86px;
}

#elements-list {
    position: absolute;
    width: 266px;
    height: 350px;
    background-color: #171717;
    bottom: 0px;
    overflow-y: scroll;
    overflow-x: hidden;
    transition: all 1s;
}

#elements-list-nothing-text {
    position: absolute;
    color: gray;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    margin-top: 50%;
    margin-left: 100px;
    white-space: nowrap;
    text-align: center;
}

.element-list-div {
    width: 266px;
    height: 60px;
    background-color: #242424;
}

.element-list-image-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    margin-top: 12px;
    margin-left: 14px;
}

.element-list-text {
    position: absolute;
    color: white;
    font-family: 'Trebuchet MS', sans-serif;
    margin-top: 20px;
    margin-left: 80px;
}

#settings-menu {
    position: absolute;
    width: 800px;
    height: 500px;
    background-color: #171717;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

#settings-menu-top-bar {
    content: "";
    width: 100%;
    height: 40px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background-color: #3B3B3B;
}

#settings-menu-top-bar-text {
    position: absolute;
    color: white;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-weight: bold;
    margin-top: 10px;
    margin-left: 50%;
    margin-right: 50%;
    transform: translate(-50%);
}

#settings-menu-top-bar-xmark {
    width: 27px;
    margin-left: 760px;
    margin-top: 5px;
    cursor: pointer;
}

#settings-menu-left-side-menu {
    position: absolute;
    width: 200px;
    height: 460px;
    background-color: #1C1C1C;
    border-bottom-left-radius: 20px;
}

.settings-menu-left-side-menu-element {
    width: 100%;
    height: 50px;
    background-color: transparent;
    margin: 0;
    cursor: pointer;
}

.settings-menu-left-side-menu-element-img {
    position: absolute;
    width: 40px;
    height: 40px;
    margin-top: 6px;
    margin-left: 10px;
}

.settings-menu-left-side-menu-element-text {
    color: white;
    position: absolute;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    margin-left: 70px;
}

.settings-content {
    width: 600px;
    height: 500px;
    margin-top: -15px;
    margin-left: 200px;
}

#project-settings-size-text {
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 30px;
    margin-top: 20px;
    margin-left: 10px;
}

#project-settings-size-input1 {
    display: block;
    width: 200px;
    height: 25px;
    background-color: #3B3B3B;
    color: white;
    border: none;
    border-radius: 3px;
    outline: none;
    margin-top: -20px;
    margin-left: 10px;
}

#project-settings-px-text1 {
    position: absolute;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
    margin-top: -23px;
    margin-left: 222px;
}

#project-settings-size-input2 {
    display: block;
    width: 200px;
    height: 25px;
    background-color: #3B3B3B;
    color: white;
    border: none;
    border-radius: 3px;
    outline: none;
    margin-top: -27px;
    margin-left: 250px;
}

#project-settings-px-text2 {
    position: absolute;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
    margin-top: -23px;
    margin-left: 465px;
}

#project-settings-background-color-text {
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 30px;
    margin-top: 10px;
    margin-left: 10px;
}

#project-settings-background-color-input {
    display: block;
    width: 200px;
    height: 25px;
    background-color: #3B3B3B;
    color: white;
    border: none;
    border-radius: 3px;
    outline: none;
    margin-top: -15px;
    margin-left: 10px;
}

#create-element-menu {
    position: absolute;
    width: 430px;
    height: 120px;
    background-color: #3B3B3B;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    transition: all 0.5s;
}

#create-element-menu::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 30px;
    background-color: #171717;
    z-index: -1;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.unshow {
    display: none;
}

.show {
    display: block;
}

#xmark {
    width: 30px;
    height: 30px;
    margin-left: 400px;
    cursor: pointer;
}

.custom-code-button {
    cursor: pointer;
    width: 280px;
    height: 50px;
    background-color: #242424;
    margin-top: 70px;
    margin-left: 10px;
    border: 0;
    color: white;
    font-size: 20px;
}

#custom-code-menu {
    position: absolute;
    width: 430px;
    height: 160px;
    background-color: #3B3B3B;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    transition: all 0.5s;
}

#custom-code-menu::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 30px;
    background-color: #171717;
    z-index: -1;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#custom-code-input1 {
    color: white;
    width: 390px;
    height: 40px;
    border: solid 2px #171717;
    outline: none;
    margin: 10px;
    border-radius: 4px;
    background-color: #242424;
}

#custom-code-input2 {
    color: white;
    width: 390px;
    height: 40px;
    border: solid 2px #171717;
    outline: none;
    margin-left: 10px;
    margin-top: 0px;
    border-radius: 4px;
    background-color: #242424;
}

#create-element-menu-img {
    cursor: pointer;
    width: 50px;
    height: 50px;
    background-color: white;
    border: solid 1px white;
    border-radius: 10px;
    margin-top: 2px;
    margin-left: 12px;
}

#create-element-menu-img-img {
    width: 45px;
    height: 45px;
    margin: 2px;
}

#create-element-menu-img-txt {
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 20px;
    margin-left: -2px;
}

#create-element-menu-div {
    cursor: pointer;
    width: 50px;
    height: 50px;
    background-color: white;
    border: solid 1px white;
    border-radius: 10px;
    margin-top: -50px;
    margin-left: 100px;
}

#create-element-menu-div-img {
    width: 45px;
    height: 45px;
    margin: 2px;
}

#create-element-menu-div-txt {
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 20px;
    margin-left: 10px;
}

#create-element-menu-txt {
    cursor: pointer;
    width: 50px;
    height: 50px;
    background-color: white;
    border: solid 1px white;
    border-radius: 10px;
    margin-top: -52px;
    margin-left: 185px;
}

#create-element-menu-txt-img {
    width: 45px;
    height: 45px;
    margin: 2px;
}

#create-element-menu-txt-txt {
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 20px;
    margin-left: 7px;
}

#create-element-menu-input {
    cursor: pointer;
    width: 50px;
    height: 50px;
    background-color: white;
    border: solid 1px white;
    border-radius: 10px;
    margin-top: -52px;
    margin-left: 270px;
}

#create-element-menu-input-img {
    width: 45px;
    height: 45px;
    margin: 2px;
}

#create-element-menu-input-txt {
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 20px;
    margin-left: 2px;
}

#create-element-menu-button {
    cursor: pointer;
    width: 50px;
    height: 50px;
    background-color: white;
    border: solid 1px white;
    border-radius: 10px;
    margin-top: -52px;
    margin-left: 360px;
}

#create-element-menu-button-img {
    width: 45px;
    height: 45px;
    margin: 2px;
}

#create-element-menu-button-txt {
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 20px;
    margin-left: -4px;
}

#workspace {
    position: absolute;
    width: var(--workspace-width);
    height: var(--workspace-height);
    background-color: white;
    top: 50%;
    left: 50%;
    margin-top: calc(calc(var(--workspace-height) / 2) - calc(calc(var(--workspace-height) / 2) * 2));
    margin-left: calc(calc(var(--workspace-width) / 2) - calc(calc(var(--workspace-width) / 2) * 2));
    transform: scale(0.4);
    z-index: -2;
}

.element-menu-delete-icon {
    width: 45px;
    height: 45px;
    margin: 3px;
}

.element-menu-delete-button {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: aqua;
    border-radius: 10px;
    cursor: pointer;
    left: -60px;
    bottom: 10px;
    box-shadow: aqua 0 0 10px 0.5px;
    transition: all 1s;
}

.element-menu-delete-button:hover {
    background-color: red;
    box-shadow: red 0 0 10px 5px;
}

.element-menu-animation-icon {
    width: 45px;
    height: 45px;
    margin-top: 3px;
    margin-left: 5px;
}

.element-menu-animation-button {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: aqua;
    border-radius: 10px;
    cursor: pointer;
    left: -130px;
    bottom: 10px;
    box-shadow: aqua 0 0 10px 0.5px;
    transition: all 1s;
}

.element-menu-animation-button:hover {
    background-color: #5800F5;
    box-shadow: #5800F5 0 0 10px 5px;
}

#element-menu-img {
    position: fixed;
    width: 300px;
    height: 100vh;
    background-color: #171717;
    right: 0px;
}

#element-menu-xmark {
    position: absolute;
    width: 30px;
    height: 30px;
    margin-top: 5px;
    margin-left: 265px;
    cursor: pointer;
}

#element-menu-img-source-txt {
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 30px;
    margin-top: 5px;
    margin-left: 10px;
}

#element-menu-img-source-input {
    position: absolute;
    width: 200px;
    height: 25px;
    background-color: #3B3B3B;
    color: white;
    border: none;
    border-radius: 3px;
    outline: none;
    margin-top: -20px;
    margin-left: 10px;
}

#element-menu-img-size-txt {
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 30px;
    margin-top: 45px;
    margin-left: 10px;
}

#element-menu-img-size-input1 {
    position: absolute;
    width: 200px;
    height: 25px;
    background-color: #3B3B3B;
    color: white;
    border: none;
    border-radius: 3px;
    outline: none;
    margin-top: -20px;
    margin-left: 10px;
}

#element-menu-img-size-input2 {
    position: absolute;
    width: 200px;
    height: 25px;
    background-color: #3B3B3B;
    color: white;
    border: none;
    border-radius: 3px;
    outline: none;
    margin-top: 15px;
    margin-left: 10px;
}

#element-menu-img-margin-txt {
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 30px;
    margin-top: 82px;
    margin-left: 10px;
}

#element-menu-img-margin-input1 {
    position: absolute;
    width: 200px;
    height: 25px;
    background-color: #3B3B3B;
    color: white;
    border: none;
    border-radius: 3px;
    outline: none;
    margin-top: -20px;
    margin-left: 10px;
}

#element-menu-img-margin-input2 {
    position: absolute;
    width: 200px;
    height: 25px;
    background-color: #3B3B3B;
    color: white;
    border: none;
    border-radius: 3px;
    outline: none;
    margin-top: 15px;
    margin-left: 10px;
}

#element-menu-div {
    position: fixed;
    width: 300px;
    height: 100vh;
    background-color: #171717;
    right: 0px;
}

#element-menu-div-size-txt {
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 30px;
    margin-top: 10px;
    margin-left: 10px;
}

#element-menu-div-size-input1 {
    position: absolute;
    width: 200px;
    height: 25px;
    background-color: #3B3B3B;
    color: white;
    border: none;
    border-radius: 3px;
    outline: none;
    margin-top: -20px;
    margin-left: 10px;
}

#element-menu-div-size-input2 {
    position: absolute;
    width: 200px;
    height: 25px;
    background-color: #3B3B3B;
    color: white;
    border: none;
    border-radius: 3px;
    outline: none;
    margin-top: 15px;
    margin-left: 10px;
}

#element-menu-div-background-color-txt {
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 30px;
    margin-top: 80px;
    margin-left: 10px;
}

#element-menu-div-background-color-input {
    position: absolute;
    width: 200px;
    height: 25px;
    background-color: #3B3B3B;
    color: white;
    border: none;
    border-radius: 3px;
    outline: none;
    margin-top: -20px;
    margin-left: 10px;
}

#element-menu-div-margin-txt {
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 30px;
    margin-top: 50px;
    margin-left: 10px;
}

#element-menu-div-margin-input1 {
    position: absolute;
    width: 200px;
    height: 25px;
    background-color: #3B3B3B;
    color: white;
    border: none;
    border-radius: 3px;
    outline: none;
    margin-top: -20px;
    margin-left: 10px;
}

#element-menu-div-margin-input2 {
    position: absolute;
    width: 200px;
    height: 25px;
    background-color: #3B3B3B;
    color: white;
    border: none;
    border-radius: 3px;
    outline: none;
    margin-top: 15px;
    margin-left: 10px;
}

#element-menu-text {
    position: fixed;
    width: 300px;
    height: 100vh;
    background-color: #171717;
    right: 0px;
}

#element-menu-text-content-txt {
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 30px;
    margin-top: 10px;
    margin-left: 10px;
}

#element-menu-text-content-input {
    position: absolute;
    width: 200px;
    height: 25px;
    background-color: #3B3B3B;
    color: white;
    border: none;
    border-radius: 3px;
    outline: none;
    margin-top: -20px;
    margin-left: 10px;
}

#element-menu-text-font-txt {
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 30px;
    margin-top: 50px;
    margin-left: 10px;
}

#element-menu-text-font-input {
    position: absolute;
    width: 200px;
    height: 25px;
    background-color: #3B3B3B;
    color: white;
    border: none;
    border-radius: 3px;
    outline: none;
    margin-top: -20px;
    margin-left: 10px;
}

#element-menu-text-size-txt {
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 30px;
    margin-top: 50px;
    margin-left: 10px;
}

#element-menu-text-size-input {
    position: absolute;
    width: 200px;
    height: 25px;
    background-color: #3B3B3B;
    color: white;
    border: none;
    border-radius: 3px;
    outline: none;
    margin-top: -20px;
    margin-left: 10px;
}

#element-menu-text-color-txt {
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 30px;
    margin-top: 50px;
    margin-left: 10px;
}

#element-menu-text-color-input {
    position: absolute;
    width: 200px;
    height: 25px;
    background-color: #3B3B3B;
    color: white;
    border: none;
    border-radius: 3px;
    outline: none;
    margin-top: -20px;
    margin-left: 10px;
}

#element-menu-text-margin-txt {
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 30px;
    margin-top: 50px;
    margin-left: 10px;
}

#element-menu-text-margin-input1 {
    position: absolute;
    width: 200px;
    height: 25px;
    background-color: #3B3B3B;
    color: white;
    border: none;
    border-radius: 3px;
    outline: none;
    margin-top: -20px;
    margin-left: 10px;
}

#element-menu-text-margin-input2 {
    position: absolute;
    width: 200px;
    height: 25px;
    background-color: #3B3B3B;
    color: white;
    border: none;
    border-radius: 3px;
    outline: none;
    margin-top: 20px;
    margin-left: 10px;
}

@media only screen and (max-height: 650px) {
    .left-side-menu-buttons {
        width: 50px;
        height: 50px;
    }
    
    .left-side-menu-buttons-text {
        display: none;
    }

    #create-element-button {
        width: 50px;
        height: 50px;
        margin-left: 30px;
    }

    #create-element-icon {
        display: block;
        width: 40px;
        height: 40px;
        margin: -2px;
    }

    #save-button {
        position: absolute;
        margin-top: 90px;
    }

    #save-icon {
        display: block;
        width: 30px;
        margin-left: 4px;
    }

    #settings-button {
        position: absolute;
        margin-top: 90px;
        margin-left: 110px;
    }

    #settings-icon {
        display: block;
        width: 30px;
        margin-left: 4px;
    }
}

@media only screen and (max-height: 500px) {
    #elements-list-header {
        bottom: 290px;
    }

    #elements-list {
        height: 290px;
    }
}

@media only screen and (max-height: 550px) {
    #elements-list-header {
        bottom: 230px;
    }

    #elements-list {
        height: 230px;
    }
}

@media only screen and (max-height: 480px) {
    #elements-list-header {
        bottom: 160px;
    }

    #elements-list {
        height: 160px;
    }
}

@media only screen and (max-height: 410px) {
    #elements-list-header {
        bottom: 90px;
    }

    #elements-list {
        height: 90px;
    }
}

@media only screen and (max-height: 340px) {
    #elements-list-header {
        bottom: 60px;
    }

    #elements-list {
        height: 60px;
    }
}