.markdown-preview {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #ffffff;
    white-space: normal;
    word-wrap: break-word;
    overflow-x: auto;
}

.katex-display {
    margin: 1em 0;
    text-align: center;
}
.katex {
    font-size: 1.2rem;
}

code {
    font-family: 'Courier New', Courier, monospace;
    background-color: #f4f4f4;
    padding: 2px 4px;
    border-radius: 4px;
}
pre {
    background-color: #2d2d2d;
    color: #f8f8f2;
    padding: 10px;
    border-radius: 6px;
    overflow-x: auto;
}

.markdown-preview ul,
.markdown-preview ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.markdown-preview ul {
    list-style-type: disc;
}

.markdown-preview ol {
    list-style-type: decimal;
}

.markdown-preview li {
    margin-bottom: 0.5rem;
}

.markdown-preview h1 {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
}

.markdown-preview h2 {

    font-size: 1.75em;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #444;
}

.markdown-preview h3 {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #555;
}


.markdown-preview h4 {
    font-size: 1.25em;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #666;
}

.markdown-preview h5 {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #777;
}


.markdown-preview h6 {
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #888;
}

