* {
    font-family: Arial, Helvetica, sans-serif;
}

html, body {
    background-color: #dac8c8;
    height: 100vh;
    margin: 0px;
    overflow: hidden;
}

body {
    display: flex;
    flex-direction: column;
}

header {
    background-color: #b39797;
    flex-shrink: 0;
    width: 100%;
    height: 10vh;
    text-align: center;
    line-height: 10vh;
} 

header h1 {
    margin: 0px;
}

main {
    flex: 1;
    height: calc(80vh - 40px);
    padding: 20px;
    overflow-y: auto;
    overflow-x: hidden;
}

footer {
    background-color: #b39797;
    display: flex;
    flex-shrink: 0;
    width: 100%;
    height: 10vh;
    align-items: center;
    justify-content: center;
}

footer span {
    text-align: center;
    vertical-align: middle;
    line-height: 3vh;
}

textarea {
	resize: none;
}

.unbold {
    font-weight: normal;
}

#top {
    height: 65vh;
    flex-shrink: 0;
}

#input, #output {
    float: left;
    width: 36%;
    height: 90%;
}

#inputText, .outputText {
    background-color: #e9dcdc;
    width: calc(100% - 20px);
    height: 100%;
    padding: 10px;
    border-radius: 10px;
}

#topMiddle {
    display: flex;
    flex-direction: column;
    width: 27%;
    height: 90%;
    float: left;    
    text-align: center;
    align-items: center;
    justify-content: center;
}

#minCharsToBold {
    width: 50px;
}

#markingColorDiv {
    display: none;
}

#convertButton {
    background-color: #e9dcdc;
    width: 50%;
    height: 10%;
    border-radius: 10px;
}

#convertButton:hover, #openBigPageButton:hover {
    background-color: #dac8c8;
}

#convertButton:active, #openBigPageButton:active {
    background-color: #b39797;
}

#openBigPageButton {
    background-color: #e9dcdc;
    float: right;
    width: 8vw;
    height: 3vh;
    margin-top: -10px;
    border-radius: 10px;
}

#outputTextarea {
    display: none;
}

#outputDiv {
    /* display: none; */
    border: 1px solid black;
    word-wrap: break-word;
    white-space: pre-wrap;
    overflow-y: scroll;
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#bottom {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    overflow-y: auto;
}

#bottomLeft {
    float: left;
    width: calc(40% - 20px);
    text-align: justify;
}

#bottomRight {
    float: right;
    width: calc(40% - 20px);
}

.filler{
    width: 30vw;
}

#bigPageContainer {
    background-color: rgba(50, 50, 50, 0.75);
    display: none;
    flex-direction: row;
    position: absolute;
    width: 100vw;
    height: 100vh;
    margin: 0px;
    overflow: hidden;
}

#bigPage {
    background-color: #F5EDD6;
    width: calc(40vw - 40px);
    height: calc(90vh - 3vh - 20px);
    margin: 5vh 0px 5vh 0px;
    padding: 20px;
    border: 1px solid black;
    border-radius: 10px;
    white-space: pre-wrap;
    text-wrap: wrap;
    overflow-x: hidden;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
    font-size: 16px;
}

#bigPage > * {
    font-family: inherit;
}

#bigPage::-webkit-scrollbar, #outputDiv::-webkit-scrollbar {
    display: none;
}

#bigPageSettings {
    color: #ffffff;
    margin: 5vh auto auto 1vh;
}

#closeBigPageButton {
    background-color: #ff6961;
    width: 5vh;
    height: 5vh;
    border: 1px solid black;
    border-radius: 10px;
}

#closeBigPageButton:hover {
    background-color: #ff4339;
}

#closeBigPageButton:active {
    background-color: #cf2118;
}