/* MAIN LAYOUT */
main {
    height: 100%;
    overflow: hidden;
}

#file-viewer {
    display: grid;
    grid-template-columns: auto 1fr;
    height: 100%;
}

#file-pane {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100%;
}

#file-pane>header {
    width: 100%;
    padding: 3px;
    padding-bottom: 0px;
}
#file-pane>header>.sleeve {
    padding: 0px 15px;
    display: grid;
    grid-template-columns: 1fr auto;
    background-color: var(--ddddgray);
}

#canvas-container {
    width: 100%;
    height: 100%;
    /* z-index: -2; */
    /* position: relative; */
}
canvas {
    /* z-index: -1; */
    /* position: absolute; */
    /* width: 100%; */
    /* height: 100%; */
}

resize-col {
    /* z-index: top; */
}


#loadbars {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.loadbar-container {
    font-size: 25px;
    display: grid;
    align-items: center;
    grid-template-columns: auto 200px;
    gap: 20px;
}

.loadbar {
    border: 1px solid gray;
    border-radius: 5px;
    height: 25px;
    display: grid;
    align-items: center;
    padding: 3px;
}

.loadbar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(45deg, var(--dgreen), var(--lgreen));
    border-radius: 3px;
}

#animation-buttons {
    position: absolute;
    right: 20px;
    top: 20px;
    display: grid;
    grid-auto-flow: row;
}
#animation-buttons>div {
    display: grid;
    grid-auto-flow: column;
    gap: 10px;
}
#animation-buttons button[disabled] {
    cursor: not-allowed;
    background-color: gray;
}