* {
    padding: 0px;
    margin: 0px;
    font-family: Optima, Segoe, "Segoe UI", Candara, Calibri, Arial, sans-serif;
    overflow: hidden;
}

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

body, html {
    height: 100%;
}

#center {
    width: calc(100% - 20px);
    display: flex;
    flex-direction: row;
    align-content: center;
    height: 10%;
    overflow: visible;
    align-items: center;
    justify-content: center;
}

div {
    padding: 10px;
    width: 50%;
    height: 100%;
    background: hsl(0, 0%, 90%);
}

iframe {
    border: none;
}

#inputBox, #outputBox {
    margin: 10px;
    padding: 10px;
    display: flex;
    width: calc(100% - 48px);
    height: 30%;
    border: 4px gray solid;
    border-radius: 0px;
    border-bottom-left-radius: 16px;
    border-top-left-radius: 16px;
    background: white;
    font-size: 16px;
    align-content: top;
    overflow-y: scroll;
    overflow-wrap:break-word;
    resize: none;
    color: black;
}

#outputBox:empty::before {
    content: attr(data-placeholder);
    color: gray;
}

#ruleBox {
    margin: 10px;
    padding: 10px;
    display: flex;
    width: calc(50% - 48px);
    height: calc(100% - 48px);
    border: 4px gray solid;
    border-radius: 0px;
    border-bottom-left-radius: 16px;
    border-top-left-radius: 16px;
    background: white;
    font-size: 16px;
    align-content: top;
    overflow-wrap: normal;
    resize: none;
    color: black;
    flex-direction: column;
}

#rules {
    font-size: 16px;
    align-content: top;
    overflow-wrap: normal;
    overflow-y: scroll;
    resize: none;
    color: black;
    flex-direction: column;
    max-height: 90%;
}

button {
    margin: 10px;
    padding: 10px;
    border: 4px gray solid;
    border-radius: 16px;
    background: white;
    font-size: 16px;
    transition: 0.3s;
}

button:hover {
    background-color: hsl(0, 0%, 90%);
}