/*******
* Vars *
*******/
:root{
    --width-code: 50%;
    --width-table: 50%;

}

/*******
* Main *
*******/
* {
    margin: 0;
    box-sizing: border-box;
}
body {
    background: #aaa;
    height: 100vh;
    font-family: sans-serif;
}

.nav {
    height: 36px;
    padding: 5px;
    background: #ddd;
}
.nav *{
    height: 100%;
}

.space{
    padding: 0 10;
}

main {
    display: flex
}

.left {
    width: var(--width-code);
}

.right {
    width: calc(100% - var(--width-code))
}

section{
    height: 100vh;
}

input {
    font-family: monospace;
}

/*********
* Editor *
*********/
#editor { 
    width: 100%;
    height: 100%;
}
.ace_editor {
    min-height: fit-content;
}

/*****
* DS *
*****/
#ds table{
    padding: 20;
}
#ds line {
    padding: 5;
}
#ds_static_output input{
    width: 100%;
}

/*******
* Logs *
*******/
.tag-container {
    border: 2px solid #ccc;
    border-radius: 3px;
    background: #fff;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    padding: 6px;
    min-height: 60px;
}
.box-container {
    border: 2px solid #ccc;
    border-radius: 3px;
    background: #fff;
    padding: 6px;
    padding-bottom: 24px;
    min-height: 60px;
}

.box-container >.tag-container {
    min-height: unset;
}

.tag {
    height: 30px;
    /* margin: 5px; */
    padding: 5px 6px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #eee;
    display: flex;
    align-items: center;
    color: #333;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2), inset 0 1px 1px #fff;
    cursor: default;
}
.void{
    /* margin: 5px; */
    padding: 0 5px;
}

#logs-content {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;

    flex-grow: 1;
}

#logs-content > .ace_editor {
    flex-grow: 1;
}


/*******
* Tabs *
*******/
.tab {
    overflow: hidden;
    background-color: #f1f1f1;
}
.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
}
.tab button:hover {
    background-color: #ddd;
}
.tab button.active {
    background-color: #ccc;
}
.tabcontent {
    display: flex;
    flex-direction: column;
    height: calc(100% - 50px);
}
.hidden{
    display: none;
}

/******
* d&d *
******/
.box-border {
    border: solid 3px #ccc;
    border-radius: 8px;
}
.drag-over {
    border: dashed 3px red;
}