/* variables the user should be able to change */
/* The :root pseudo class enables us to use the variable globally */

/* MARK: !Parsedown Cont
    These containers are not part of parsedown
*/

/* MARK: !Parsedown P
*/

.markdown p.info,
.markdown p.tip,
.markdown p.warning {
    border-left: 4px solid;
    padding: 0.75em 1em;
    border-radius: 6px;
    background: var(--background-decent);
    border-color: var(--main-color);
    margin: 1em 0;
}

/* individual colors */
.markdown p.info {
    border-color: var(--main-color);

}

.markdown p.tip {
    border-color: var(--main-color);

}

.markdown p.warning {
    border-color: var(--main-color);

}

/* MARK: a Links 
*/


.markdown a,
.markdown a:visited {

    color: var(--main-color);
    text-decoration: underline;
}

/* MARK: Paragraphs
*/


.markdown p {

    line-height: 150%;

}


/* ` ` code */
.markdown p code {

    background: rgb(from var(--background-decent) 0 157 209 / 0.3);
    padding: 2pt;

}

/* MARK: Lists 
*/


.markdown ul {

    list-style-type: circle;

}

/* MARK: Headlines 
*/


.markdown h1,
.markdown h2,
.markdown h3 {

    padding: 20px 0px 20px 0px;
    line-height: normal;

}

/* MARK: Code 
*/


.markdown blockquote {
    background: rgb(from var(--background-decent) r g b / 0.6);
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 5px 10px 5px 35px;
    position: relative;
    overflow: hidden;
}

/* no ugly ""

.markdown blockquote:before,
.markdown blockquote:after {
    content: '“';
    position: absolute;
    left: 5px;
    top: 10px;
    line-height: 50px;
    font-size: 80px;
    color: rgba(255, 255, 255, 0.3);
    font-family: Arial, sans-serif;
}

.markdown blockquote:after {
    content: '”';
    left: initial;
    top: initial;
    line-height: 0px;
    bottom: 0px;
    right: 0px;
}

*/

/* MARK: Img
*/


.markdown img {
    display: inline;
    margin: 10px auto;

    max-width: 512px;
    height: auto;
}

.markdown img+code {
    text-align: center;
    width: 100%;
    display: inline;
    margin-bottom: 10px;
}



.markdown pre {

    border: 1px solid;
    color: var(--main-color);
    background-color: rgba(var(--background-color), 1);
    overflow: auto;
    font-size: 10pt;
    padding: 5px;

}

/*
.markdown pre code {}
*/

.markdown code {
    font-family: 'JetBrainsMono';
    font-size: 12pt;

    /*
        padding: 5px;
        border-radius: 3px;
        display: inline;
        width: 100%;
        overflow: auto;
        */
}