* {
  box-sizing: border-box;
}

body {
  margin: 10px 0 0 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  background-image: url("./assets/background-image01.jpg");
  background-position: center;
}

h1 {
  font-size: 4em;
  line-height: 70px;
  color: #fff;
  text-align: center;
  font-family: "Cormorant Infant", serif;
}

p {
  font-size: 1em;
  line-height: 20px;
  margin: 0;
}

input {
  box-sizing: border-box;
  border: none;
  border-radius: 4px;
  background: #f9edea;
  color: #202020;
  padding: 10px;
  font-size: 1em;
  font-family: "Montserrat";
  line-height: 20px;
  flex: 1;
}

input:focus,
select:focus {
  /* removes outline around input and selects when in focus */
  outline: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  /* removes babyblue color of input fields in certain states */
  -webkit-box-shadow: 0 0 0 30px #f9edea inset;
}

.content-wrapper {
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: 95%;
}

main {
  margin: 0 auto;
  width: 100%;
  max-width: 700px;
  height: min(600px, 65vh);
  border-radius: 13px;
  background: white;
  padding: 12px 12px;
  padding-top: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

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

.bot-msg {
  display: flex;
  margin: 14px 6px 0 0;
  flex-shrink: 0;
}

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

.bot-msg i,
.user-msg i {
  font-size: 38px;
  padding-top: 5px;
}

.bubble {
  font-weight: 500;
  font-size: 1em;
  line-height: 26px;
  padding: 14px 26px;
  color: #202020;
}

.bot-bubble {
  border-radius: 0px 17px 17px 17px;
  margin-left: 8px;
  background: #e2e2e2;
}

.user-bubble {
  border-radius: 17px 0 17px 17px;
  margin-right: 8px;
  background: #e8d6d0;
}

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

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

button {
  background-color: #8f776f;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 5px 30px;
  margin-left: 8px;
  font-size: 1em;
  font-family: "Montserrat";
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.selectChoice {
  box-sizing: border-box;
  border: none;
  width: 100%;
  border-radius: 4px;
  background: #f9edea;
  font-family: "Montserrat";
  padding: 10px;
  line-height: 20px;
  font-size: 1em;
}
