.red {
    color: red;
}
.green {
    color: green;
}

.blue {
    color: blue;
}

* {
    box-sizing: border-box;
}

html,
body {
    color: #333;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(#ddd, #eee);
    margin: 0;
    font-size: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
        "Helvetica Neue", sans-serif;
}

main {
    display: block;
    margin: 0;
    padding: 0.5em;
    height: 94vh;
}

footer {
    font-size: 0.8rem;
    color: #999;
    margin: auto;
    height: 6vh;
    text-align: center;
}
footer a {
    color: #999;
    text-decoration: none;
}

footer p {
    padding: 0;
    margin: 0;
}

main > textarea {
    display: block;
    overflow: auto;
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    min-width: 50%;
    min-height: 50%;
    height: 100%;
    border: 0.05rem solid #aaa;
    box-shadow: 0 0.1rem rgba(0, 0, 0, 0.1);
    border-radius: 0.35rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
        "Helvetica Neue", sans-serif;
    font-size: 1rem;
    margin: auto;
    padding: 0.5rem;
}
main > textarea:focus {
    outline: none;
}

textarea {
    transition: background-color 0.5s;
}

textarea[disabled] {
    cursor: disabled;
}

::-webkit-scrollbar {
    width: 1rem;
}
::-webkit-scrollbar-track {
    background: #ddd;
}
::-webkit-scrollbar-thumb {
    background: #aaa;
}
::-webkit-scrollbar-thumb:hover {
    background: #888;
}
::-webkit-scrollbar-thumb:active {
    background: #666;
}
