/* HEXcolors
LightPink:#f0efef
Pink: #e4d1d1
Purple: #b9b0b0
LightGreen: #d9ecd0
DarkGreen: #77a8a8 */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Bradley Hand', cursive;
  background: #d9ecd0;
}

h1 {
  font-weight: bold;
  font-size: 50px;
  line-height: 34px;
  color: #77a8a8;
  text-align: center;
}

h2 {
  font-weight: bold;
  font-size: 30px;
  line-height: 34px;
  color: #b9b0b0;
  text-align: center;
  margin-bottom: 36px;
}

p {
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  margin: 0;
}

input {
  box-sizing: border-box;
  border: none;
  border-radius: 4px 0 0 4px;
  background: #e4d1d1;
  color: #77a8a8;
  font-family: 'Bradley Hand', cursive;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  flex: 1;
}

main {
  margin: 0 auto;
  width: 100%;
  max-width: 700px;
  height: 600px;
  border-radius: 30px;
  background: #f0efef;
  padding: 20px 24px;
  padding-top: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.chat {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  overflow: scroll;
  flex-direction: column;
  padding-bottom: 16px;
}

.bot-msg {
  display: flex;
  margin: 16px 8px 0 0;
  flex-shrink: 0;
}

.user-msg {
  display: flex;
  justify-content: flex-end;
  margin: 16px 0 0 8px;
  flex-shrink: 0;
}

.bot-msg img, .user-msg img {
  width: 60px;
  height: 60px;
}

.bubble {
  font-weight: 600;
  font-size: 16px;
  line-height: 26px;
  padding: 16px 24px;
  max-width: 40%;
  white-space: wrap;
}

.bot-bubble {
  background: #e4d1d1;
  border-radius: 0px 40px 40px 40px;
  margin-left: 8px;
  color: #77a8a8;
}

.user-bubble {
  background: #d9ecd0;
  border-radius: 40px 0 40px 40px;
  margin-right: 8px;
  color: #b9b0b0;
}

.input-wrapper {
  display: flex;
  justify-content: center;
}

.input-wrapper form {
  width: 100%;
  display: flex;
  align-items: center;
}

button {
  background-color: #77a8a8;
  color: #e4d1d1;
  border: none;
  border-radius: 4px;
  padding: 16px 30px;
  margin: 6px;
  font-family: 'Bradley Hand', cursive;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  opacity: 0.9;
  transition: all 0.2s ease;
}

#selectTemp {
  font-size: 24px;
  cursor: pointer;
  padding: 10px 40px;
  margin: 20px;
  border: none;
  border-radius: 4px;
  background-color: #77a8a8;
  color:#d9ecd0;
}

#reloadBtn {
  background-color: #b9b0b0;
  color:#d9ecd0;
}

footer {
  font-size: 12px;
  font-family: Optima, sans-serif;
  color: #b9b0b0;
  display: flex;
  justify-content: center;
  padding: 30px;
  width: 100%;
  text-align: center;
}