@font-face { font-family: 'Spikey'; font-style: normal; font-weight: 300; src: local('schrift'), url('spike.woff') format('woff'); }

body {
  /* font-family: Arial, sans-serif; */
  font-family: 'Spikey';
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  background-color: #272727;
  font-size: 1.2rem;
}

.chat-container {
  width: 750px;
  height: 550px;
  background-color: #272727;
  border: 1px solid #272727;
  color: #E4E4E4;
  padding: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.username-container {
  margin-bottom: 1px;
}

#username-input {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
  border: 1px solid #000000;
  border-radius: 5px;
  background-color: #1D1D1D;
  color: #E4E4E4;
  margin-bottom: 10px;
  font-size: 1.2rem;
}
#username-input:focus {
  outline: none;
  border: 1px solid #000000;
  /* box-shadow: 0 0 0 2px #000000;   */
}

#message-input {
  width: 100%;
  height: 100px;
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid #000000;
  border-radius: 5px;
  background-color: #1D1D1D;
  color: #E4E4E4;
  resize: vertical;
  font-size: 1.2rem;
}
#message-input:focus {
  outline: none;
  border: 1px solid #000000;
  /* box-shadow: 0 0 0 2px #000000;   */
}
.chat-box {
  height: 355px;
  overflow-y: auto;
  border-bottom: 1px solid #000000;
  margin-bottom: 10px;
  padding-right: 10px;
  white-space: pre-line;  /* Zeilenumbrüche beibehalten */
}

.chat-box div {
  margin: 5px 0;
}

button {
  width: 100%;
  padding: 10px;
  background-color: #161616;
  border: 1px solid #000000;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #000000;
}
