
.main {
    flex-direction: column;
    display: flex;
    width: 100%;
    max-width: 700px;
    gap: 10px;
    height: 100%;
    margin-top: 20px;
    margin-bottom: 50px;
    position: relative;

    text-align: justify;
    image-rendering: auto;
}

img {
    border-radius: 3px;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.toc, .toc-inner {
    display: flex;
    flex-direction: column;
}

.toc-inner {
    margin-left: 24px;
}

.toc a {
    margin-left: 24px;
    text-decoration: none;
    position: relative;
    text-transform: lowercase;
}

.toc a:hover {
    text-decoration: underline;
}

.toc a::before {
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    left: -14px;
    border-bottom: 1px solid var(--box-border-color-2);
    border-left: 1px solid var(--box-border-color-2);
    border-radius: 0px 3px;
}

.column-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px 5px;
    align-items: center;
}

.column-2 img {
    width: 100%;
}

.img-center-container, .center-container {
    display: flex;
    justify-content: center;
}

.solo-image {
    width: 60%;
    min-width: 300px;
}

h1 {
    font-size: 2.6em;
    margin-top: 10px;
}

h1, h2 {
    font-family: sans-serif;
    line-height: 0.9em;
    letter-spacing: -1px;
    text-align: left;
    margin-bottom: 0px;
}

h3 {
    font-family: sans-serif;
    margin-bottom: 0px;
    border-bottom: 1px solid var(--box-background-color);
}

h2, h3 {
    margin-top: 30px;
}


.code {
    background-color: var(--box-background-color);
    /* border-radius: 3px; */
    padding: 6px;
    font-size: 1em;
}

.code pre {
    white-space:pre-wrap;
    color: var(--highlight-color);
    margin: 0px;
}

.code-comment {
    color: var(--text-color);
    opacity: 70%;
}


.code-html pre {
    color: var(--text-color);
}

.code-html pre .highlight {
    color: var(--highlight-color);
}

.highlighted-0 {
    background-color: var(--box-background-color);
    padding: 0px 3px;
    /* border-radius: 3px; */
}


.back {
    text-decoration: none;
    text-align: right;
}

.back:hover {
    text-decoration: underline;
}

@media only screen and (max-width: 700px) {

    .container {
        padding: 10px;
    }

    .main {
        margin-top: 10px;
        margin-bottom: 30px;
    }


    .column-2 img {
        width: 90%;
        min-width: 300px;
    }

    .solo-image {
        width: 90%;
    }

}