html,
body {
  overflow: hidden;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  position: fixed;
  background-color: #e1edf2;
}

canvas {
  display: block;
}

textarea {
  font-size: 16px;
}

/* Home Scene */

.message-bubble {
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: #007bff;
  color: white;
  padding: 10px 10px;
  border-radius: 20px;
}

.message-bubble>p {
  font-family: "Arial";
  margin: 0;
}

.unselectable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Login Scene */

.login-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.name-input {
  max-width: 600px;
  background-color: #ffffff;
  color: #585656;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 16px;
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-weight: 300;
  line-height: 1.5;
  resize: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.name-input:focus {
  border-color: #0015ff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  outline: none;
}

.login-button {
  color: #ffffff;
  padding: 12px 24px;
  font-size: 16px;
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-weight: 300;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.login-button:hover {
  background-color: #0e8a6b;
  box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.15);
}

.login-button:active {
  background-color: #0c7359;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Waiting */

.waiting-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.3rem;
  font-family: "Michroma", sans-serif;
  font-weight: 600;
  cursor: default;
  color: #004275;
  text-align: center;
  white-space: normal;
}

/* Setup and Closed */

.notice-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(90vw, 600px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.notice-text {
  font-size: 1.3rem;
  font-family: "Michroma", sans-serif;
  font-weight: 600;
  cursor: default;
  color: #004275;
  text-align: center;
}

.button-row {
  display: flex;
  gap: 12px;
}

.plain-button {
  color: #004275;
  background-color: #ffffff;
  padding: 12px 24px;
  font-size: 16px;
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  border: 2px solid #004275;
  border-radius: 8px;
  cursor: pointer;
}

.plain-button.selected,
.plain-button:active {
  color: #ffffff;
  background-color: #004275;
}

.station-button {
  font-family: "Michroma", sans-serif;
  font-size: 1.3rem;
}

.setup-message {
  min-height: 1.5em;
  color: #585656;
  font-family: Arial, sans-serif;
  text-align: center;
}

/* Chat Scene */

.send-button {
  background-color: #0b3ec2;
  color: #ffffff;
  font-size: 16px;
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-weight: 300;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.send-button:hover {
  background-color: #04277f;
  box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.15);
}

.send-button:active {
  background-color: #031b5a;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.chat-input {
  background-color: #ffffff;
  color: #585656;
  border: 1px solid #0015ff;
  border-radius: 12px;
  padding: 12px 16px;
  line-height: 1.5;
  resize: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.chat-input:focus {
  border-color: #0015ff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  outline: none;
}

.send-icon {
  width: 10px;
  height: 10px;
}

.header-container {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 20px;
  margin: 0;
  background: rgba(187, 244, 230, 0.462);
  backdrop-filter: blur(16px);
}

.home-button {
  color: #ffffff;
  background-color: #58ee85;
  padding: 12px 24px;
  font-size: 16px;
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-weight: 300;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.home-button:hover {
  color: #edf0f4;
  background-color: #ea3737;
  box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.15);
}

.home-button:active {
  background-color: #0c7359;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.recipient-name {
  font-size: 16px;
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-weight: 300;
}

.input-message-container {
  position: absolute;
  display: grid;
  grid-template-columns: auto 10vw;
  gap: 2vw;
  padding: 1em 2vw;
  width: 96vw;
  bottom: 0px;
}

.hidden {
  display: none;
}