@charset "UTF-8";

@font-face {
    font-family: bit;
    src: url(../fonts/8-BIT.TTF);
}


:root {
    --progressionfield-width: 250px;
    cursor: crosshair;
}

body,
html {
    margin: 0;
    padding: 0;
}

.main-wrapper {
    display: grid; 
    grid-template-areas: 
        "discriptiontop discriptiontop"
        "content progression"
        "discriptionbottom discriptionbottom";
    position: relative;
    margin: auto;
    padding: 1em;
    padding-top: 0;
    max-width: 900px;
}

.main-wrapper .line {
    grid-area: topline;
    width: 35%;
    height: 20px;
    margin: 0;
    padding: 0;
    border-right: 2px solid #333;
}

.parameter-list {
    grid-area: progression;
    position: sticky;
    height: 100vh;
    top: 50px;
    left: 100%;
    width: 250px;
    min-width: var(--progressionfield-width);
    padding-bottom: 1em;
    padding-left: 1em;
    border-left: 2px solid #555;
    font-family: bit;
    background-color: inherit;
    margin-top: -26px;
    margin-bottom: -1em;
    overflow-y: auto;
    padding-top: 1em;
}

.parameter-list .button-container {
    border-radius: 8px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: stretch;
    background-color: #dad7c7;
    border-bottom: 2px solid #333;
    margin-left: 0;
    overflow: hidden;
    height: 50px;
    margin: .5em 0em;
    transition: background-color .2s;
    font-family: monospace;
    font-size: 1.2em;
    width: 100%;
    text-align: center;
    margin-top: 0px;
    cursor: cell;
}

.parameter-list .button-container .button {
    display: inline-flex;
    border-radius: 8px;
    border: none;
    padding: 0em 1em;
    align-items: center;
    overflow: hidden;
    user-select: none;
    cursor: cell;
}

.parameter-list .button-container:hover {
    background-color: #f8f8e8;
}

.top-article-info {
    text-align: left;
}

.top-article-info h1 {
    text-align: left;
}

.absolute {
    position: absolute;
    right: 0;
    top: 0;
    width: 250px;
}

* {
    box-sizing: border-box;
}



main .content img {
    width: 100%;
}

.parameter-list p {
    margin-top: 1em;
    font-family: 8bit;
    font-size: .7em;
}

.parameter-item {
    padding-bottom: 1em;
}


.bar {
    height: 25px;
    width: 100%;
    overflow: hidden;
}

.filler {
    height: 100%;
    width: 0%;

}

.content {
    font-family: monospace;
    padding-right: 1em;
}

.content h1,
h2,
h3,
h4 {
    font-family: bit;
    font-size: 1.2em;
    
}

.content h1 {
    margin-left: 0em;
    text-align: center;
    padding-top: 2em;
}

.content h1:first-of-type {
    padding-top: 0em;
}

.content h2 {
    margin-left: .0em;
    padding-top: 1em;
}

.content h3 {
}

.content h4 {
    margin-left: 2em;
    padding-top: 1em;
}

.content img,video {
    max-width: 100%;
    margin: 8px auto;
    padding: 6px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.content .indent {
    display: flex;
    flex-direction: row;
    margin-bottom: 1em;
    margin-left: -2px;
    
}

.content .indent .buffer {
    display: block;
    border: 2px solid #333;
    border-left: none;
    /* border-bottom: none; */
    margin-left: -16px;
    padding: 1em 0em;
    /* border-radius: 0px 8px 0px 0px; */
    border-radius: 2px 4px 4px 2px;
    /* border-radius: 2px; */
    margin-right: 1em;
    background-color: #eae7D7;
}

.content .indent.step-0 {
    margin-left: 0em;
    
}

.content .indent.step-0 .buffer {
    border: none;
}

.content .indent.step-1 .buffer {
    padding-left: 1em;
}

.content .indent.step-2 .buffer {
    padding-left: 2em;
}


.content .indent .text {
    display: flex;
    flex-direction: column;
    padding: 1em;
    padding-left: 3px;
    padding-top: 6px;
    margin: 0;
}

.content .indent h2:first-of-type,h3:first-of-type {
    margin: 0;
    padding-top: 0;
}

.content .indent h2,h3 {
    margin-bottom: 0em;
}

.indent .content p:last-child {
    margin-bottom: 0;
}


.space-bottom {
    margin-bottom: 2em;
}


.space-bottom:last-of-type {
    margin-bottom: 0;
}

.filler-space {
    height: 500px;
}

h1:first-of-type {
    margin-top: 0;
}

div.code, code {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 8px;
    border-radius: 8px;
    overflow-x: auto;
}

.blockquote code {
    color: #fafafa;
    background-color: rgba(0, 0, 0, 0.2);
}

.blockquote {
    background-color: #555;
    padding: 1em;
    color: white;
    font-weight: bold;
    border-radius: 8px;
}

.blockquote h3 {
    margin-left: 0;
    margin-top: 0;
    margin-bottom: .5em;
    padding-top: 0;
    font-size: 1.1em;
    color: white;
}

.blockquote p {
    color: white;
    margin: 0;
}

.blockquote a {
    color: white;
}

.quote {
    margin-left: 1em;
    font-style: italic;
    border-left: 2px solid #555;
    padding-left: 1em;
}

@media screen and (min-width: 950px) {
    .main-wrapper {
        border-left: 2px solid #555;
    }

    
}

@media screen and (max-width: 600px) {
    :root {
        --progressionfield-width: 100%;
    }

    .main-wrapper {
        position: relative;
        margin: auto;
        padding: 1em;
        display: block;
    }

    .main-wrapper .line {
        display: none;
    }

    .parameter-list {
        position: fixed;
        left: 0;
        top: 100dvh;
        transform: translateY(-100%);
        width: 100%;
        height: 90px;
        padding: 1em;
        margin-top: 0em;
        border-left: none;
        border-top: 2px solid #555;
        overflow-y: scroll;
        background-color: #bab7a9;
        transition: none;
        backface-visibility: hidden;
        z-index: 10;
    }

    .parameter-item:last-child {
        padding-bottom: 2.5em;

    }

    .content {
        width: 100%;

        font-family: monospace;
    }

    .absolute {
        position: fixed;
        bottom: 0;
        right: 0;
        top: inherit;
        width: 100%;

    }
    
    .parameter-list p:first-child {
        margin-top: 0em;
    }

    .parameter-item {
        padding-bottom: 1em;
    }

}
