body {
    background-color: rgb(50, 50, 50);
    font-family: "helvetica", serif;
    color: white;
    margin: 0;
    overflow: hidden;
}

#patternDrawer {
    position: absolute;
    pointer-events: none;
    opacity: 0.8;
}

#connected {
    width: 100%;
    border: 1px #333333 solid;
    margin: 2px;
    border-radius: 3px;
    background-color: rgba(0, 0, 0, 0.50);
}

#connected p {
    text-align: center;
}

a:visited {
    color: #A74AC7;
}

a {
    color: #6297ff;
}

#bottomMessage {
    border-radius: 5px;
    border: 1px solid #333333;
    text-align: center;
    width: 98%;
    margin-top: 10px;
    background-color: rgba(0, 0, 0, 0.50);
}

#game {
    width: 100%;
    margin: auto;
    text-align: center;
}

#controls {
    width: 15%;
    padding: 10px;
    float: right;
    position: absolute;
    right: 10px;
    top: 50px;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 90%;
}

#gridContainer {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
}

#leftPanel {
    float: left;
    width: 20%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    overflow-y: auto;
    padding-left: 10px;
    scrollbar-width: none;
}

#leftPanel::-webkit-scrollbar {
    display: none;
}

#chatbox {
    border: 1px #333333 solid;
    border-radius: 3px;
    text-align: left;
    height: 70%;
    width: 98%;
    margin-top: 50px;
    background-color: rgba(0, 0, 0, 0.50);
}

.messageinput {
    width: 100%;
    height: 50%;
    padding: 0 0 0 5px;
    border: 0;
    background: transparent;
    border-top: 1px solid #333333;
    color: white;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box; /* Firefox, other Gecko */
    box-sizing: border-box; /* Opera/IE 8+ */
}

#sendDiv {
    height: 50%;
    display: flex;
    box-shadow: none;
    -webkit-box-shadow: none;
}

#sendDiv .minimal {
    width: 20%;
    padding: 0;
    margin: 0;
    height: 100%;
    border: 0;
    border-radius: 0;
}

#sendDiv .messageinput {
    width: 80%;
    border: none;
    height: 100%;
}

input::placeholder {
    font-style: italic;
    color: #d2d2d2;
}

textarea {
    background: rgba(18, 18, 18, 0.8);
    color: white;
    border: none;
}

textarea::placeholder {
    font-style: italic;
    color: #d2d2d2;
}

h2 {
    margin-bottom: 0.3em;
    margin-top: 0.3em;
    font-size: 1em;
}

#chatboxUserinfo {
    height: 10%;
}

#messages {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 90%;
    overflow-y: scroll;
}

#messages::-webkit-scrollbar {
    display: none;
}

#messages li {
    list-style-type: none;
    border: 1px solid transparent;
    word-wrap: break-word;
    line-height: 25px;
    padding: 5px 5px 5px 10px;
    text-align: left;
    font-size: 1em;
}

#messages li:nth-child(even) {
    background-color: rgba(56, 56, 56, 0.50);
}

.timestamp {
    color: gray;
    margin-right: 5px;
}

.brush {
    position: relative;
}

.deleteButton {
    position: absolute;
    width: 15px;
    height: 15px;
    background-size: 100% 100%;
    background-image: url("delete.png");
    right: 15px;
    top: 10px;
    margin: auto;
    z-index: 10;
    cursor: pointer;
}

#clearBoard {
    background-color: rgba(44, 26, 30, 0.8);

    box-shadow: none;
    -webkit-box-shadow: none;
    text-shadow: none;
}

#clearBoard:disabled {
    background: rgba(47, 23, 23, 0.5);
    color: gray;
}

#clearBoard:disabled:hover {
    background: rgba(47, 23, 23, 0.5);
    color: gray;
    -webkit-box-shadow: none;
    box-shadow: none;
}


#clearBoard:hover {
    -webkit-box-shadow: inset 0 0 1px 1px #eaeaea;
    box-shadow: inset 0 0 1px 1px #eaeaea;
}

#clearBoard:active {
    color: white;
}

.minimal {
    position: relative;
    background: rgba(18, 18, 18, 0.8);
    border: 1px solid #333333;
    border-radius: 3px;
    color: #ffffff;
    font: 0.9em/1 "helvetica neue", helvetica, arial, sans-serif;
    padding: 8px 0 9px;
    text-align: center;
    width: 100%;
    margin: 3px 0;
}

.minimal:disabled {
    background: rgba(0, 0, 0, 0.8);
    color: gray;
    box-shadow: none;
    -webkit-box-shadow: none;
    text-shadow: none;
}

.minimal:disabled:hover {
    color: gray;
    box-shadow: none;
    -webkit-box-shadow: none;
    cursor: default;
}

.minimal:hover {
    -webkit-box-shadow: inset 0 0 1px 1px #eaeaea;
    box-shadow: inset 0 0 1px 1px #eaeaea;
    cursor: pointer;
}

.minimal:active {
    background: #434343;
    -webkit-box-shadow: inset 0 0 1px 1px #e3e3e3;
    box-shadow: inset 0 0 1px 1px #e3e3e3;
}
