:root {
    --primary-color: #00f8;
    --secondary-color: #00bfff;
    --tertiary-color: #007fff;
    --quaternary-color: #005eff;
    --quinary-color: #003eff;
    --senary-color: #001eff;
    --septenary-color: #0000ff;
    --octonary-color: #0000bfff;
    --nonary-color: #00007fff;
    --denary-color: #00005eff;
    --penny-color: #00003eff;
    --nickel-color: #00001eff;

    --mobile-breakpoint: 3in;
    --mobile-query: (orientation: portrait) and (max-width: var(--mobile-breakpoint));
}

html,
body {

    height: 100%;
    width: 100%;

}
*{
    max-width: 100vw;
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: white;
    max-width: 100%;
    overflow-x: hidden;
}

code {
    white-space: pre;
}

h1 {
    margin-top: 0px;
    padding-top: 20px;
}

textarea {
    height: 90vh;
    width: 80%;
}

.main,
main {
    padding: 10px;

    &>h3.title {
        width: 100%;
        background: #00f8;
        text-align: center;
        padding: 10px;
        border-radius: 10px;
        font-weight: bolder;
        border-bottom: solid black;
    }
}

.search {
    width: 100%;
    font-size: 15px;
    line-height: 15px;
}

.sidebar {
    background-color: #f0f0f0;
    /* height: 100vh; */
    padding: 20px;

    h2 {
        margin-top: 5px;
    }
}

@media ((max-width: 1100px) and (orientation: portrait)) {

    /* min-device-pixel-ratio: 2.75; */
    body>.row {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;

        &>* {
            max-width: unset;
            padding: 10px !important;
        }
    }

    .sidebar {
        height: max-content;
        width: 100%;
        max-width: unset;
        flex-basis: unset;
    }


    /* make everything bigger for mobile */
    html,
    body {
        font-size: 16px;
        /* scale: 2.75; */
    }
}




body>.row {
    height: 100%;
    margin: unset;

    &>*:nth-child(2) {
        padding: 50px;

        &>* {
            max-width: 100%;

            overflow-x: auto;
            overflow-y: hidden;

            @media print {
                word-break: break-all;
            }
        }
    }
}

input,
textarea,
button {
    max-width: 500px;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
}