* {
    box-sizing: border-box;
    padding: 0; 
    margin: 0;

    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1em;
}

body {
    width: 100vw;
    height: 100vh;

    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: auto 1fr auto;

    /* overflow: hidden; */
}

header, main, footer {
    padding: 10px;
}

main {
    position: relative;
}

header {
    min-height: 10px;
    padding-bottom: 0px;
    background-color: royalblue;
    box-shadow: 0px 3px 5px #00000050;
    z-index: 10;
}

header h1 {
    font-size: 1.3em;
    font-weight: bold;
}

header nav {
    display: flex;
    padding-top: 5px;
}

header .btn {
    width: 100px;
    font-size: 0.7em;
    text-align: center;
    padding: 3px;
    border-top: 1px solid black;
    border-left: 1px solid black;
    user-select: none;
    cursor: pointer;
}

/*header .btn.select {
    background-color: bisque;
}*/

[data-editor="editorjs"] .btn[data-editor="editorjs"],
[data-editor="quill"] .btn[data-editor="quill"],
[data-editor="atto"] .btn[data-editor="atto"],
[data-editor="sceditor"] .btn[data-editor="sceditor"],
[data-editor="ckeditor"] .btn[data-editor="ckeditor"] {
    background-color: bisque;
}

header .btn:hover {
    color: whitesmoke;
    background-image: linear-gradient(0deg, #0000ff80, #0000ff80);
}

header .btn:first-child {
    border-top-left-radius: 5px;
}

header .btn:last-child {
    border-right: 1px solid black;
    border-top-right-radius: 5px;
}

footer {
    min-height: 10px;
    background-color: royalblue;
    box-shadow: 0px -3px 5px #00000050;
    z-index: 10;
}

/* main {
    background-color: silver;
}

.container {
    position: relative;
    width: 100%;
    height: 100%;
}
*/

.container {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    display: none;
}

[data-editor="editorjs"] .container.ej,
[data-editor="quill"] .container.qu,
[data-editor="atto"] .container.at,
[data-editor="sceditor"] .container.sc,
[data-editor="ckeditor"] .container.ck {
    display: initial;
}


div.ck.ck-editor {
    width: 100%;
    height: 100%;

    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: auto 1fr;
}

.ck .ck-editor__main {
    overflow: auto;
}


