body {
    margin: 0px;
}

body.splashOff #splash {
    display: none;
}

body.splashOn #modal, body.coverEditor #modal, body.finished #modal {
    display: block;
}

.title {
    background-color: #FA3737;
    padding: 0.2em;
    margin-bottom: 0.2em;
}

#modal {
    position: absolute;
    display: none;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    background-color: lightgrey;
}

#splash {
    border: 2px solid black;
    background-color: #A1A1F3;
    float: left;
    position: absolute;
    padding: 2em;
    /*height: 50vh;*/
    width: 50%;
    margin-top: 25vh;
    margin-left: 25%;
    /*display: flex;*/
    align-items: center;
    border-radius: 1em;
}

#finished {
    border: 2px solid black;
    background-color: #A1A1F3;
    float: left;
    position: absolute;
    padding: 2em;
    /*height: 50vh;*/
    width: 50%;
    margin-top: 25vh;
    margin-left: 25%;
    /*display: flex;*/
    align-items: center;
    display: none;
    border-radius: 1em;
}

body.finished #finished {
    display: block;
}

#splash .buttonRow, #finished .buttonRow {
    margin-top: 1em;
    text-align: right;
}

#editor, #editorCover { 
    position: absolute;
    top: 1em;
    right: 0;
    bottom: 0;
    left: 0;
    float: left;
    margin-top: 3em;
    width: 50%;
    height: 90vh
}

.cover {
    opacity: 0.5;
    background-color: red;
    cursor: pointer;
    display: none;
}

body.coverEditor #editorCover {
    display: block;
}

#term {
    float: right;
    width: 100%;
    height: 5em;
    /*margin-top: 70vh;*/
    margin-left: 50%
}

#stepsHeader {
    padding-top: 0.5em;
    padding-left: 1em;
    background-color: #7ABFFA;
    border-radius: 1em;
}

p code {
    background-color: #2C2BFA;
    color: whitesmoke;
    padding-left: 0.2em;
    padding-right: 0.2em;
}

pre {
    background-color: #D4D2E3;
}

pre code {
    padding: 1em;
}

.emojiButton {
    width: 1em;
    /*border: 1px solid;*/
    padding: 0.1em;
    margin-left: 0.5em;
}

#stepList {
    display: none;
}

#stepsHeader.showSteps #stepList {
    display: block;
}

.lessonRow .lessonTitle {
    padding-left: 3em;
}