html,
body {
  margin: 0;
  padding: 0;
  height: 100vh;
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  text-align: center;
  background-color: black;
  color: white;
  font-family: monospace;
  display: flex;
  justify-content: center;
  padding: 80px;
}
.container {
  border-radius: 25px;
  background-color: rgba(40, 40, 40, 0.7);
  height: 100%;
  width: 800px;

  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 400px;
}
.inner {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  flex: 1;
  padding-bottom: 24px;
  overflow: hidden;
}
input {
  border-radius: 12px;
  background-color: rgba(45, 45, 45, 0.8);
  border: 1px solid transparent;
  text-align: left;
  color: white;
  font-family: monospace;
  padding: 12px;
  flex: 1;
}
button {
  background-color: rgba(45, 45, 45, 0.8);
  border-radius: 12px;
  border: 1px solid transparent;
  color: white;
  font-family: monospace;
  padding: 5px;
  cursor: pointer;
  transition: all 0.3s;
  width: 100px;
  padding: 12px;
}
button:hover {
  transform: scale(1.1);
}

.logo {
  width: 200px;
  align-self: center;
  padding: 24px 0;
}

#messages {
  width: 600px;
  display: flex;
  flex-direction: column;
  background: #2a2a2a;
  border-radius: 12px;
  padding: 12px 24px;
  overflow: auto;
  height: 100%;
}

.message {
  padding: 12px;
  background: white;
  color: black;
  border-radius: 12px;
  margin-top: 12px;
  word-break: break-word;
}

.message.me {
  text-align: left;
  align-self: start;
}
.message.rabbit {
  align-self: end;
  background-color: #ff4d06;
  color: white;
  max-width: 300px;
  text-align: end;
}

.button-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin-top: 24px;
}

@media (max-width: 800px) {
  .container {
    width: 100%;
    height: 100%;
    margin: 0;
  }
  .inner {
    width: 100%;
    padding: 0 24px 24px 24px;
  }

  #messages {
    width: initial;
  }

  .button-container {
    width: 100%;
    flex-wrap: wrap;
  }

  .message.rabbit {
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  body {
    padding: 12px 12px;
  }
}
