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

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

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

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

.editor__wrapper {
    height:80%;
    width: 50%;
    display: flex;
    flex-direction: column;
    background: var(--editor-bg);
    padding: 2em;
    border-radius: 3px;
    border: 1px solid #ccc;
}
.result-html {padding-left: 12px !important;}
.result-html ol {padding-inline-start: 20px;}
.viewer__wrapper {
    height:80%;
    width: 50%;
    display: flex;
    flex-direction: column;
    background: var(--editor-bg);
    padding: 2em;
}
.editor__body {
    flex: 1;
}

.editor__btn {
    border: 0;
    padding: .5em;
    background-color: #fff;
    border: 2px solid #333;
    margin-top: 1em;
    width: 100px;
    cursor: pointer;
}


.editor__code {
    position: relative;
    height: 100%;
    width: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border: 1px solid var(--editor-border);
}
.viewer {
    position: relative;
    height: 100%;
    width: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.viewer__body{
    overflow-y:scroll;
    border: 1px solid #ccc;
}