/* Variables */

:root {
    --editor-bg: #eee;
    --editor-border: #3f87a6;
}

/* Reset style */
*{
    padding:0;
    margin:0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
}

.editor{
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.editor__wrapper{
    width: 95%;
    height: 95%;
    display: flex;
    flex-direction: column;
    background: var(--editor-bg);
    padding: 2rem;
    border-radius: 3px;
    border: 1px solid #ccc
}

.editor__body{
    flex:1;
}

.editor__footer{
    display: flex;
}

.editor__footer--left {
    display: flex;
    flex-direction: column;
}

.editor__footer--right {
   flex: 1;
   margin-left: 10px;
   overflow: hidden;
}

.editor__btn {
    border: 0;
    padding: .3rem;
    background-color: #fff;
    border-radius: 10px;
    border: 2px solid #333;
    margin-top: 0.9rem;
    width: 100px;
    cursor: pointer;
}

.editor__console {
    background-color: #fff;
    width: 100%;
    height: 130px;
    margin-top: .9rem;
    border: 1px solid var(--editor-border);
    overflow: auto;
}

.editor__code {
    position: relative;
    height: 100%;
    width: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border: 1px solid var(--editor-border);
}

/* Editor Console */
.editor__console-logs{
    padding: 10px;
    list-style: none;
}

.editor__console-logs li pre{
    font-size: 0.9rem;
}
