body {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #d0f0c0;
    background-image: url("https://amazonsgame.com/forest.jpg");
    background-size: cover;
}

#pageContent {
    height: 100%;
    justify-content: center;
    align-items: center;
}

.banner-image {
    width: 100%;
    max-width: 600px;
    border-radius: 4px; /* Add this line to specify the amount of rounding */
    position: relative;
}

.debug {
    margin-top: -20px;
    margin-bottom: 10px;
    margin-left: auto; /* Add this line to align the debug message with the left side */
    margin-right: auto;
    width: 90vw;
    max-width: 600px;
    font-weight: bold; /* Add this line to make the debug message bold */
    position: relative;
}

#board {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    width: 90vw; /* Set the width to 90% of the viewport width */
    height: 90vw; /* Set the height to 90% of the viewport width */
    max-width: 600px; /* Set a maximum width for larger screens */
    max-height: 600px; /* Set a maximum height for larger screens */
    border: 2px solid #000;
    position: relative;
    margin: 0 auto; /* Center the board horizontally */
    overflow: hidden; /* Hide any content that exceeds the board's dimensions */
    box-sizing: border-box; /* Add box-sizing property */
    margin-bottom: 5px;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video {
    margin-right: 20px; /* Adjust this value as per your requirement */
}

.link {
    display: flex;
    align-items: center;
}

.cell {
    position: relative;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    border: 1px solid #ccc;
    width: calc(100vw / var(--cols) - 2px);
    height: calc(100vw / var(--cols) - 2px);
}

.black {
    background-color: #000;
    color: #fff;
}

.red {
    background-color: #ff0000;
    color: #fff;
}

.blue {
    background-color: #0000ff;
    color: #fff;
}

.selected {
    background-color: yellow;
}

.piece {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
}


.title {
    text-align: center;
    font-weight: bold;
    margin-top: 10px;
}




#chatWindow {
    display: none; /* Hide the chat window by default */
    position: absolute;
    top: 30px; /* Adjust the top position as needed */
    left: 50%;
    width: 80%;
    max-width: 600px;
    transform: translateX(-50%);
    background-color: #558855; /* Set the background color */
    margin-top: 5px;
    height: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    padding: 10px;
    z-index: 900;
    margin: 0 auto; /* Center the chat window horizontally */
}

    #chatWindow.show {
        display: block; /* Show the chat window when the show class is added */
    }

#chat-box-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 25px 1px;
    box-sizing: border-box; /* Add box-sizing property */
    position: relative;
    top: 15px;
}

#chat-box-space {
    width: 100%;
    max-width: 600px;
    font-size: 0.875rem; /* Adjust the font size as needed */
    margin: 0 auto; /* Center the yellow area horizontally */
    height: 10px; /* Adjust the height as needed to display four lines */
    background-color: #ffffcc; /* Light pastel yellow background */
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    padding: 5px;
    overflow-y: auto; /* Enable vertical scrolling if the content exceeds the height */

    top: 20px;
}

#chat-text-box {
    padding: 2px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

    #chat-text-box input, .settings-button {
        width: calc(100% - 20px); /* take into account the 10px padding on each side */
        max-width: 600px;
        font-size: 1.2rem;
        margin-bottom: 10px;
    }


        #chat-input:focus,
        #chat-text-box input:focus {
            outline: none;
            border-color: #007bff;
        }

#chat-icon-wrapper {
    position: relative;
    display: inline-block;
}

#chat-notification {
    position: absolute;
    top: -5px; /* Adjust as needed */
    right: -5px; /* Adjust as needed */
    min-width: 20px;
    height: 20px;
    background-color: red;
    color: white;
    text-align: center;
    border-radius: 50%;
    line-height: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    display: none;
}

#bottom-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 90vw;
    max-width: 600px;
    height: 50px;
    background-image: url("wood.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 25px 25px 0 0;
    background-color: rgba(166, 124, 82, 0.7); /* Light brown with 70% opacity */
}

.chat-button, .settings-button {
    width: 30px;
    height: 30px;
    cursor: pointer;
    fill: #fff;
    align-self: center;
}



#settingsWindow {
    display: none; /* Hide the settings window by default */
    position: absolute;
    top: 30px; /* Adjust the top position as needed */
    left: 50%;
    width: 80%;
    max-width: 600px;
    transform: translateX(-50%);
    background-color: #558855; /* Set the background color */
    height: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    z-index: 900;
}

    #settingsWindow h2 {
        margin-top: 0;
        margin-bottom: 20px;
    }

.save-settings-button {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 20px;
}

#settingsWindow.show {
    display: block; /* Show the settings window when the show class is added */
}

.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
}
.red-x {
    color: red;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
}


