body {
    background-image: linear-gradient(to right, #2c5364, #203a43, #0f2027, #203a43, #2c5364);
    color: white;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    height: 100vh;
}

.game_container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2em;
    width: 100vw;
    padding: 1em;
}

#board-container {
    justify-items: center;
    background: rgba(255, 255, 255, 0.1);
    width: 40vw;
    border-radius: 20px;
    padding: 1em;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

#gameboard {
    
    /* border-radius: 10px; */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}

.chat-container {
    display: flex;
    max-height: 90vh;
    height: 90vh;
    max-width: 30vw;
    width: 30vw;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 1em;
    color: white;
}

.chat {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    border-radius: 20px;
    border: 1px solid black;
    flex-grow: 1;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.8);
    padding: 1em;
    color: black;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    scrollbar-width: none; 
    -ms-overflow-style: none; 
}


.chat::-webkit-scrollbar {
    display: none;
}

.message {
    max-width: 80%;
    border-radius: 10px;
    padding: 10px;
    border: 1px solid black;
    margin-bottom: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    background-color: lightgray;

    span {
        font-size: 1em;
        font-style: italic;
        color: rgba(0, 0, 0, 0.567);
    }
}

.myMessage {
    align-self: flex-end;
    background-color: lightblue;
    border: 1px solid #b1dfbb;
}

#messageInput {
    margin-top: 10px;
    height: 2em;
    width: 100%;
    border-radius: 30px;
    text-align: center;
    border: 1px solid black;
}

.error {
    color: red;
    text-align: center;
}