body {
    margin: 0;
    padding: 1rem 0 0 0;
}

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

.space-box {
    min-width: 5%;
    min-height: 5%;
}

.row-box {
    min-width: 5%;
    min-height: 5%;
}

.code-box {
    padding: 1rem;
    border-radius: 0.5rem;
    background: #333;
    font-family: 'Courier New', Courier, monospace;
    color: #ccc;
    counter-reset: line-number 0;
}

@media (min-width: 600px) {
    .code-line {
        font-size: 1.3rem;
    }
    .code-line:before {
        display: inline-block;
        width: 2rem;
        text-align: right;
        color: #cc0;
        font-weight: bold;
        margin-right: 1rem;
        content: counter(line-number);
    }
}

.code-line {
    color: #eee;
    counter-increment: line-number 1;
}

.code-line.indent::before {
    padding-right: 2rem;
}

.code-box span.script {
    display: inline;
    background: black;
    margin: 1px;
}

.code-box h1 {
    display: inline;
    color: #faf;
    font-weight: bold;
    font-size: inherit;
}

.code-box h2 {
    display: inline;
    color: #fcf;
    font-weight: bold;
    font-size: inherit;
}

.code-box a {
    text-decoration: underline;
    color: lime;
}

.code-box .string {
    color: #cc0;
}

.code-box .variable {
    color: #eee;
    font-weight: bold;
}
