* {
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  margin: 0;
  padding: 0;

}

#background-image {
  position: fixed;
  right: 0;
  bottom: 0;
  top: 0;
  width: 100%;
  height: 100vh; 
  z-index: -1;
  object-fit: cover;
  overflow: hidden;
}

h1 {
  font-weight: bold;
  font-size: 44px;
  line-height: 34px;
  color: #BF9270;
  text-decoration-line: overline;
  text-align: center;
  text-shadow: 6px 6px 20px rgba(0, 0, 0, 0.9);
}

h2 {
  font-weight: bold;
  font-size: 24px;
  line-height: 34px;
  color: #dfc8b7;
  text-align: center;
  margin-bottom: 36px;
  text-shadow: 6px 6px 20px rgba(0, 0, 0, 0.5);
}

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: #F9E4D4; 
  color: #363636;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  flex: 1;
}

/* Fixes so the input field wont change color when selected */
input:-webkit-autofill,
input:-webkit-autofill:focus {
  transition: background-color 600000s 0s, color 600000s 0s;
}

select {
  border: none;
  border-radius: 4px;
  color: #363636;
  font-size: 20px;
  font-weight: 600;
  height: 60px;
  background: #F9E4D4;
  width: 100%;
  padding: 0 20px;
  cursor: pointer;
}

main {
  margin: 0 auto;
  width: 100%;
  max-width: 700px;
  height: 600px;
  border: 1px solid #ffe8e581;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.363);
  padding: 20px 24px;
  padding-top: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 6px 6px 20px rgba(122,122,122,0.9);
}

.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;
}

.bubble {
  background: #F9E4D4;
  font-weight: 600;
  font-size: 16px;
  line-height: 26px;
  padding: 16px 24px;
  color: #363636;
  max-width: 40%;
  box-shadow: 6px 6px 20px rgba(122,122,122,0.3);
}

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

.user-bubble {
  border-radius: 26px 0 26px 26px;
  margin-right: 8px;
}

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

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

button {
  background-color: #BF9270;
  color: #363636;
  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;
}

/* MOBILE */
@media (max-width:667px) {
  h1 {
    text-decoration-line: none;
  }

  main {
    width: 98%;
  }

  input {
    width: 95%;
  }

  .input-wrapper button {
    padding: 16px 35px;
  }
}