* {
  box-sizing: border-box;
  --clr_main: #663399;
  --clr_warm_accent: #ec9a29;
  --clr_cool_accent: #289eed;
  --clr_background: #e5e9ff;
  --clr_dark: #59594a;
  --clr_white: #fff;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  background: var(--clr_main);
}

h1 {
  font-weight: bold;
  font-size: 28px;
  line-height: 34px;
  color: var(--clr_warm_accent);
  text-align: center;
}

h2 {
  font-weight: bold;
  font-size: 24px;
  line-height: 34px;
  color: var(--clr_warm_accent);
  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: var(--clr_background);
  color: var(--clr_main);
  padding: 16px;
  font-size: 16px;
  font-family: "Montserrat";
  font-weight: 600;
  line-height: 26px;
  flex: 1;
  width: 100%;
}

main {
  margin: 0 auto;
  width: 100%;
  max-width: 700px;
  height: 600px;
  border-radius: 30px;
  background: var(--clr_white);
  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 {
  background: var(--clr_background);
  font-weight: 600;
  font-size: 16px;
  line-height: 26px;
  padding: 16px 24px;
  color: var(--clr_main);
  max-width: 40%;
}

.bot-bubble {
  border-radius: 0px 26px 26px 26px;
  margin-left: 8px;
}

.user-bubble {
  border-radius: 26px 0 26px 26px;
  margin-right: 8px;
  color: var(--clr_cool_accent);
}

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

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

label {
  font-size: 16px;
  font-family: "Montserrat";
  font-weight: 500;
  color: var(--clr_main);
  margin-right: 20px;
}

button {
  background-color: var(--clr_main);
  color: var(--clr_white);
  border: none;
  border-radius: 4px;
  padding: 16px 20px;
  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;
}

#food-category {
  display: none;
}

#sub-pizza {
  display: none;
}

#sub-salad {
  display: none;
}

#sub-kebab {
  display: none;
}

#user-portion {
  display: none;
}

#confirmation {
  display: none;
}

.sub-select {
  display: flex;
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  margin: 0;
  border-color: var(--clr_main);
  text-align: center;
  width: 100%;
  background-color: var(--clr_background);
  color: var(--clr_main);
}
