* {
  font-size: 20px;
  border-radius: 10px;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  background-image: url('Painter.jpg');
  background-size: cover;
  background-repeat: no-repeat;
}

h1 {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 44px;
  line-height: 34px;
  color: #fff;
  text-align: center;
}

h2 {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 24px;
  line-height: 34px;
  color: #fff;
  text-align: center;
  margin-bottom: 36px;
}

p {
  /* opacity: 1; */
  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: #eeb1b1;
  color: #a54444;
  padding: 16px;
  font-size: 16px;
  font-family: 'Montserrat';
  font-weight: 600;
  line-height: 26px;
  flex: 1;
}

main {
  margin: 0 auto;
  width: 100%;
  max-width: 700px;
  height: 600px;
  border-radius: 30px;
  background: #ffffff4d;
  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: hidden;
  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;
  object-fit: cover;
}

.bubble {
  background: #f1b9b9;
  font-weight: 600;
  font-size: 16px;
  line-height: 26px;
  padding: 16px 24px;
  color: black;
  max-width: 40%;
  /* opacity: .75; */
}

.bot-bubble {
  border-radius: 0px 26px 26px 26px;
  margin-left: 8px;
  background: #e3f4f7;
}

.user-bubble {
  border-radius: 26px 0 26px 26px;
  margin-right: 8px;
  background: #f8d4d4;
}

.input-wrapper {
  display: flex;
  justify-content: center;
}

.input-wrapper form {
  width: 100%;
  display: flex;
}

button {
  background-color: #ad3e1c;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 16px 40px;
  margin-right: 4px;
  font-size: 16px;
  line-height: 26px;
  font-family: 'Montserrat';
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  opacity: 0.9;
  transition: all 0.2s ease;
}
footer {
  color: white;
  text-align: center;
  margin: 50px;
}
