* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 1rem;
  font-family: Arial, Helvetica, sans-serif;
}

@font-face {
  font-family: segaFont;
  src: url(./fonts/SEGA.TTF);
}

#send {
  font-family: segaFont;
  color: blue;
}

#buttonInstall {
  font-family: segaFont;
  color: blue;
  width: auto;
  border-radius: 10px;
}

body {
  background-color: #000;
  color: #fff;
  overscroll-behavior-y: contain;
}

main {
  /* position: fixed; */
  height: 100vh;
  /* padding: 1rem; */
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  background-color: #2f3ba2;
}

form {
  width: 100%;
  /* margin: auto; */
  max-width: 600px;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  gap: 0.25rem;
}

.form-msg {
  /* position: fixed;
    bottom: 180px; */
}

.form-join {
  /* position: fixed;
    margin: auto;
    display: flex;
    padding: 15px; */
  background-color: #2f3ba2;
}

input {
  flex-grow: 1;
  max-width: calc(80% - 0.25rem);
}

button {
  width: 20%;
}

input,
button {
  /* border-radius: 10px; */
  padding: 0.5rem;
}

.chat-display {
  background-color: #ffffff;
  list-style-type: none;
  width: 100%;
  max-width: 600px;
  min-height: 70vh;
  /* max-height: 70vh; */
  /* top: 20px; */
  /* border-radius: 10px; */
  /* margin: auto; */
  padding: 0;
  display: flex;
  flex-flow: column;
  justify-content: left;
  overflow: auto;
  top: 0;
  flex-grow: 1;
}

.post {
  background-color: #eee;
  border-radius: 10px;
  padding: 0 0 0.25rem;
  margin: 0.5rem;
  overflow: hidden;
  flex-shrink: 0;
}

.post--left {
  width: 60%;
  align-self: flex-start;
}

.post--right {
  width: 60%;
  align-self: flex-end;
}

.post__header {
  color: #fff;
  padding: 0.25rem 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.post__header--user {
  background-color: blue;
}

.post__header--reply {
  background-color: #58815f;
}

.post__header--name {
  font-weight: bold;
}

.post__header--time {
  font-size: 0.8rem;
}

.post__text {
  margin-top: 5px;
  color: #333;
  padding: 0.25rem 0.5rem;
}

.user-list,
.room-list,
.activity {
  width: 100%;
  min-height: 2.65rem;
  margin: 0 auto;
  max-width: 600px;
  padding: 0.75rem 0.25rem;
  /* display: none; */
}

.user-list {
  /* position: absolute; */
  border: solid black;
  /* width: 9vw; */
  border-radius: 10px;
  /* font-size: 1vw; */
  display: none;
}

#back {
  display: none;
}

.activity {
  font-style: italic;
}
