*
{
    box-sizing: border-box;
}

body
{
    background-color: #a9a9a9;
    font-family: arial;
    display: flex;
    flex-direction: column;
    align-items: /*flex-start;*/ center;
}

.topbar
{
    display: flex;
    align-items: center;
    height: 50px;
    padding-left: 5px;
    padding-right: 5px;
}

.inputTitle
{
    background-color: #acacac;
    height: 40px;
    border: none;
    color: #000000;
    font-family: Arial;
    font-weight: 600;
    padding: 0px 5px;
    border-radius: 4px 4px 2px 2px;
    margin-right: 50px;
    border-bottom-style: solid;
    border-bottom-width: 4px;
    border-bottom-color: #331dfe;
    box-sizing: border-box;
}

.inputTitle:focus
{
    background-color: #FFFFFF;
    border-bottom-color: #000000;
    outline: none;
}

.saveButton, .exportButton 
{
    background-color: #000000;
    width: 140px;
    height: 40px;
    color: #FFFFFF;
    border: none;
    border-radius: 4px;
    box-shadow: 1px 1px 2px #000000;
    margin: 2px;
    cursor: pointer;
    transition: background-color 0.4s;
}

.downloadText
{
    color: #888888;
    font-size: 8pt;
    font-weight: 700;
}

.saveButton:hover, 
.exportButton:hover
{
    background-color: #2e09fc;
}

.container
{
    /*background-color: red;*/
    display: flex;
    flex-direction: row;
    /*width: 300vw;*/ /*1600px;*/
}

.htmlContainer, .cssContainer, .jsContainer
{
    background-color: #FFFFFF;
    width: 640px;
    height: 500px;
    margin: 2px;
    /*overflow-x: hidden;
    overflow-y: auto;*/
}

.title
{
    background-color: #000000;
    display: flex;
    justify-content: flex-start;
    padding: 0px 20px;
    align-items: center;
    height: 50px;
    color: #FFFFFF;
}

.htmlTextarea, .cssTextarea, .jsTextarea,
.outputHighlightningHTML, .outputHighlightningCSS, .outputHighlightningJS
{
    position: absolute;
    margin-top: 0px;
    /*background-color: transparent;*/
    width: 398px;
    min-width: 228px;
    max-width: 398px; /*698px;*/
    height: 448px;
    max-height: 448px;
    resize: horizontal; /*none;*/
    border: none;
    padding: 10px;
    font-family: monospace;
    font-weight: 400;
    color: #6B6464; /*#000000;*/
    text-align: left;

    /*overflow: auto;*/
    overflow-x: hidden; /*auto;*/
    overflow-y: auto;

    font-size: 12pt;
    line-height: 15pt;

    white-space: pre-wrap; /*so the pre tag can handel warping words. Instead of having it on one line*/
    word-wrap: break-word; /*So the pre tag allows breaking words in order to wrap then as the textarea.*/
}

.jsTextarea, .outputHighlightningJS
{
    max-width: 698px; /*398px;*/
}

.htmlTextarea, .cssTextarea, .jsTextarea
{
    background-color: /*#00000099;*/ transparent;
    color: /*#FFFF0099;*/ transparent;
    caret-color: #000000;
    z-index: 1; /* set the textarea above the syntax highlightning, and set the textarea background-color and color to transparent*/
}

/*.outputHighlightningHTML, .outputHighlightningCSS
{
    position: absolute;
    margin-top: 0px;
    width: 398px;
    height: 448px;
    padding: 10px;
    font-family: monospace;
    color: #D9D9D9;
    text-align: left;

    overflow: auto;

    font-size: 12pt;
    line-height: 15pt;
}*/
.outputHighlightningHTML, .outputHighlightningCSS, .outputHighlightningJS
{
    z-index: 0; /*set the syntax highligtning behind the textarea*/
}

/*.htmlTextarea, .cssTextarea, .jsTextarea,
.outputHighlightningHTML, .outputHighlightningCSS
{
    overflow: auto;
    white-space: nowrap; / *allows textarea to scroll horizontally* /
}*/


.htmlTextarea:focus, .cssTextarea:focus, .jsTextarea:focus
{
    outline: none;
}

/*.cssContainer, .jsContainer
{
    background-color: #FFFFFF;
    width: 640px;
    height: 500px;
    margin: 2px;
}*/

/*.jsContainer
{
    display: flex;
}*/

.tagsAndStyles
{
    position: relative;
    background-color: #FEFFCB;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -50px;
    margin-left: calc(100% - 240px - 2px);
    width: 240px;
    height: 500px;
    overflow-x: hidden;
    overflow-y: auto;
}

.tagsAndStylesTitle
{
    background-color: #333333;
    width: 100%;
    min-height: 50px;
    color: #FFFFFF;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0px;
}

/*.tagsAndStyles::-webkit-scrollbar*/
/*.tagsAndStyles::-webkit-scrollbar,
.outputHighlightningCSS::-webkit-scrollbar*/
::-webkit-scrollbar /* this works for all */
{
    width: 5px;
}

.tagsAndStyles::-webkit-scrollbar-track /*this is needed so the scrollbar start at the top position for the css highlighed syntax*/ 
/*.cssTextarea::-webkit-scrollbar-track*/
/*::-webkit-scrollbar-track*/
{
    background-color: transparent;
    margin-top: 50px;
    padding: 0px;
    margin-left: 2px;
}

/*.tagsAndStyles::-webkit-scrollbar-thumb*/
/*.tagsAndStyles::-webkit-scrollbar-thumb,
.outputHighlightningCSS::-webkit-scrollbar-thumb*/
::-webkit-scrollbar-thumb
{
    background-color: #c8c8c8;
    border-radius: 2px;
}

/*.tagsAndStyles::-webkit-scrollbar-thumb:hover*/
::-webkit-scrollbar-thumb:hover
{
    background-color: #333333;
}

textarea::-webkit-resizer
{
    /*position: absolute;
    top: 100px;*/
    width: 10px;
    /*height: 300px;*/
    border: 2px solid #000000;

    /*border-width: 40px;
    border-style: solid;*/
    /*border-color: transparent #FFFF00;*/
    cursor: w-resize; /*ns-resize;*/
}

.subTitleSmall
{
    font-size: 11px;
}

.tagButtons
{
    background-color: #FFFFFF;
    /*background: linear-gradient(160deg,#ffeb00,#ffb820,#ff8748,#ff5e69,#dd4582,#a43f8e,#623e8a,#0c3776);*/
    /*background: linear-gradient(0deg, rgba(6,14,131,1) 0%, rgba(12,25,180,1) 100%);*/
    /*background: linear-gradient(0deg, rgba(0,172,238,1) 0%, rgba(2,126,251,1) 100%);*/
    /*background: -webkit-linear-gradient(right, #a6f77b, #2dbd6e);*/
    background-image: radial-gradient(100% 100% at 100% 0, #ffffff 0, #d9d9d9 100%);
    width: 150px;
    min-height: 40px;
    border: none;
    border-radius: 4px;
    box-shadow: 0px 1px 2px #00000077;
    margin: 2px;
    color: #2245FF;
    font-weight: 700;
    cursor: pointer;
}

.stylesButtons
{
    background-color: #FFFFFF;
    background-image: radial-gradient(100% 100% at 100% 0, #ffffff 0, #d9d9d9 100%);
    width: 230px;
    /*min-height: 154px;*/
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    border: none;
    border-radius: 4px;
    box-shadow: 0px 1px 2px #00000077;
    padding: 10px;
    margin: 2px;
    color: #2245FF;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.defaultChooseColor
{
    color: #6B6464;
    font-weight: 500;
}

.indentedStyles
{
    /*background-color: red;*/
    display: flex; 
    justify-content: flex-start; 
    margin-left: 15px; 
    width: 200px; 
}

.runButton
{
    position: absolute;
    margin-top: calc(100vh - 140px - 90px);
    background-color: #331dfe;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    color: #FFFFFF;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 1px 1px 2px #000000;
}

.viewBody
{
    background-color: #FFFFFF;
    width: 1284px;
    min-height: 500px;
    height: 700px;
    border: none;
    margin: 2px;
}