html {
    font-family: sans-serif;
    background-color: rgb(45, 49, 54);
}

#toolbar {
    position: fixed;
    display: flex;
    top: 0;
    background-color: rgb(49, 54, 60);
    left: 0;
    right: 0;
    height: 30px;
    justify-content: flex-start;
    align-items: center;
}

#playbutton {
    margin-left: 30px;
    width: 25px;
    height: 25px;
    background-color: transparent;
    outline: none;
    font-size: 10px;
}

.toolbarbutton {
    font-size: 14px;
    color: white;
    cursor: pointer;
    margin-left: 10px;
    outline: none;
}

.toolbarbutton:hover {
    background-color: rgb(33, 36, 39);
}


.toolbarmenubutton {
    font-size: 14px;
    color: white;
    cursor: pointer;
    margin-left: 10px;
    outline: none;
}

.toolbarmenubutton:hover {
    background-color: rgb(33, 36, 39);
}

/* TOOLBAR MENUS */

#filemenu {
    position: fixed;
    top: 30px;
    left: 10px;
    width: 100px;
    height: 50px;
    background-color: rgb(49, 54, 60);
    z-index: 1000;
}

#editor {
    position: fixed;
    /*background-color: rgb(99, 102, 105);*/
    top: 30px;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
}

.editortopsect {
    top: 30px;
    bottom: 250px;
    z-index: 900;
    position: relative;
}

#editortoparea {
    position: fixed;
    background-color: rgb(35, 88, 149);
    left: 0;
    right: 0;
}

#animcodeeditor {
    position: fixed;
    background-color: rgb(37, 39, 43);
    left: 0;
    right: 80%;
    border: 1px solid rgb(99, 102, 105);
}

#animcodetitle {
    position: relative;
    color: white;
    font-size: 14px;
    font-weight: 150;
    top: -5px;
    left: 5px;
}

#animcodetext {
    position: fixed;
    border: none;
    border-top: 1px solid rgb(99, 102, 105);
    background-color: transparent;
    top: 65px;
    padding-top: 5px;
    left: 0;
    right: 80%;
    bottom: 250px;
    padding-left: 5px;
    color: white;
    outline: none;
    resize: none;
    font-family: 'Courier New', Courier, monospace;
}

#previewarea {
    position: fixed;
    background-color: rgb(45, 49, 54);
    left: 20%;
    right: 20%;
    border: 1px solid rgb(99, 102, 105);
}

#asseteditor {
    position: fixed;
    background-color: rgb(37, 39, 43);
    left: 80%;
    right: 0;
    border: 1px solid rgb(99, 102, 105);
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
    overflow-x: hidden;
}

#assettitle, #assettitlekeyframe {
    position: relative;
    color: white;
    font-size: 14px;
    font-weight: 150;
    top: -5px;
    left: 5px;
}

#elemSelect, #elemCreate {
    margin-left: 5px;
    outline: none;
    border-radius: 5px;
    width: 100px;
}

#formText {
    font-size: 12px;
    font-weight: 500;
    color: whitesmoke;
    margin-left: 5px;
}

.formTextInp, .formNumInp {
    font-size: 12px;
    font-weight: 500;
    margin-left: 5px;
    border-radius: 5px;
    outline: none;
}

.formNumInp {
    width: 70px;
}

.formColInp {
    margin-left: 5px;
    margin-top: 10px;
    border-radius: 5px;
    outline: none;
}

#createElemBtn {
    width: 60px;
    height: 20px;
    margin-left: 5px;
    margin-top: 10px;
}

/* TIMELINE */

.editorbottomsect {
    height: 250px;
    bottom: 0;
}

#playhead {
    position: fixed;
    width: 7px;
    background-color: white;
    height: 250px;
    bottom: 0;
    left: 15px;
    cursor: ew-resize;
}

#timeline {
    position: fixed;
    display: flex;
    overflow-x: scroll;
    left: 0;
    right: 0;
    flex-wrap: wrap;
}

#keyframe {
    width: 10px;
    height: 20px;
    border-radius: 5px;
    background-color: rgb(204, 161, 81);
    position: relative;
    margin-top: 20px;
    left: 25px;
    margin-left: 5px;
}

#keyframeRow {
    display: flex;
    flex-direction: row;
    position: absolute;
    justify-content: flex-start;
    height: fit-content;
    left: 0;
    right: 0;
}

/* ---------- */

/* ANIMATION ELEMENT STYLING */

.animitems {
    position: relative;
    left: 0;
    top: 0;
}
