/*** Markdown to HTML Converter ***/

* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    padding: 20px;
    color: #f8fafc;
    background-color: #0f172a;
}

h1,
h2 {
    text-align: center;
}

#preview p {
    margin: 0;
    line-height: 1.2;
}

#markdown-input {
    width: 100%;
    height: 100px;
}

#html-output {
    white-space: pre-wrap;
}

#html-output,
#preview {
    color: #020617;
    height: 100px;
    display: inline-block;
    width: 100%;
    border: 1px solid #2563eb;
    padding: 10px;
    margin: auto;
    background-color: #f9f9f9;
    overflow: auto;
    border-radius: 5px;
}

@media (min-width: 600px) {


    #markdown-input,
    #html-output,
    #preview {
        height: 200px;
        width: 360px;
        margin: 0;
    }

    #container {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: space-evenly;
        gap: 10px;
    }
}