        :root {
    --cell-size: 60px;
    --board-bg: #fff;
}

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: Droid Sans Mono;
    margin-left: 20%;
    margin-right: 20%;
    min-height: 100%;
    line-height: 1.5;
    text-align: center;
}

h1 {
    text-align: center;
    font-size: 35px;
}
#settingsMenu {
    color: black;
    background: white;
    border: 1px solid black;
    transition: opacity 0.2s ease-in-out;
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 500px;
    height: auto;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index:100;
}

#settingsMenu h1 {
    margin: 0;
    padding: 0;
    padding-top: 10px;
    font-size: 30px;
    font-weight: 500;
}

.title {
    text-align: center;
    padding: 30px;
    font-size: 55px;
    font-weight: bold;
    display: inline-block;
}

.center {
    place-items: center; 
}

.buttons {
    display: grid; 
    place-items: center;
}

.btn {
    width: 350px;
    font-size: 20px;
    background: #ffffff;
    font-family: Droid Sans Mono;
    letter-spacing: 2px;
    border: 1px solid black;
    padding: 12px 0px;
    cursor: pointer;
    transition: transform 0.1s ease-out;
}

.btn:hover {
    transform: scale(1.05);
}

.btn:active {
    filter: invert(1);
}

.btn:disabled {
    cursor: not-allowed;
    border: 1px dashed black;
    transform: none;
}

.split-buttons {
    display: flex;
    width: 350px;
    gap: 20px;
}

.split-btn {
    width: auto;
    flex: 1;
}

.about-btn {
    flex: 4.5;
    transition: transform 0.1s ease-out;
}

.settings-btn {
    flex: 1;
    transition: transform 0.1s ease-out;
}

.about-btn:hover {
    transform: scale(1.05);
}

.settings-btn:hover {
    transform: scale(1.05);
}

.settings-row {
    padding-left: 40px;
    text-align: left;
}

.main-settings-row {
    place-items: center
}

.small-btn {
    width: 150px;
    font-size: 15px;
    background: #ffffff;
    font-family: Droid Sans Mono;
    letter-spacing: 2px;
    border: 1px solid black;
    padding: 12px 0px;
    cursor: pointer;
    transition: transform 0.1s ease-out;
}

.small-btn:hover {
    transform: scale(1.05);
}

.small-btn:active {
    filter: invert(1);
}

.small-btn:disabled {
    cursor: not-allowed;
    border: 1px dashed black;
    transform: none;
}

/*BOT MODE SETTINGS*/

#status {
    color: red;
}

#controls {
    width: 400px;
    border: 1px solid #000;
    padding: 10px;
    text-align: center;
}

#controls legend {
    padding: 5px;
    font-weight: bold;
}

#menuButton {
    display: block;
}

#resignButton {
    display: none;
    letter-spacing: 2px;
}

#drawButton {
    display: none;
    letter-spacing: 2px;
}

input {
    font-family: Droid Sans Mono;
}

hr {
    height: 1px;
    border: none;
    background-color: #000;
    margin: 0;
}

#chat {
    text-align: left !important;
    width: 100%;
    font-size: 12px;
    box-sizing: border-box;
    padding: 10px;
    height: 100px;
    overflow-y: auto;
    max-height: 200px;
}

#status {
    color: red;
}

#chat-area {
    display: flex;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    padding: 0px;
    margin-top: 10px;
}

#text-box {
    flex: 1;
    background-color: #fff;
    color: #000;
    border-radius: 5px;
    border: 1px solid #000;
    padding: 8px 10px 8px;
    font-family: Droid Sans Mono;
    width: 100%;
    box-sizing: border-box;
}

#text-box::placeholder {
    color: #6d6d6d;
}

#messages {
    width: 100%;
    padding-bottom: 10px;
    overflow-y: auto;
    max-height: 200px;
}

.disabledSquare {
    cursor: "not-allowed";
    pointer-events: "none";
    opacity: "0.5";
    animation-name: fadeIn;
    animation-duration: 2.5s;
    animation-timing-function: linear;
    background-color: rgb(0, 255, 0);
}

@keyframes fadeIn {
    0%   { background-color: #ff0000; }
    33%  { background-color: #ff5100; }
    66%  { background-color: #fbff00; }
    100% { background-color: #00ff00; }
}