/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

* {
  background-color: black;
  color: red;
  font-family: Verdana;
}

.log-container {
    height: 200px;
    border: 1px solid #ccc;
    padding: 10px;
    overflow-y: auto; /* Adds scrollbar if content overflows */
    margin-bottom: 10px;
    background-color: #f9f9f9;
}

.message-log {
    display: flex;
    flex-direction: column;
}

.message {
    margin: 5px 0;
    padding: 5px;
    border-radius: 5px;
    max-width: 80%;
}

.sent {
    align-self: flex-end;
    background-color: #007bff;
    color: white;
}

.received {
    align-self: flex-start;
    background-color: #e9e9e9;
    color: black;
}

.input-area {
    display: flex;
}

#message-input {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
}

button {
    padding: 10px 15px;
    border: none;
    background-color: #28a745;
    color: white;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
}
