* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
}

.my-video {
  min-width: 100%;
  max-height: 300px;
  object-fit: cover;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
  overflow: none;
}

h1 {
  font-weight: bold;
  font-size: 44px;
  line-height: 34px;
  color: white;
  text-align: center;
}

h2 {
  font-weight: bold;
  font-size: 15px;
  line-height: 24px;
  color: white;
  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: #f2e5ff;
  color: #bf00ff;
  padding: 16px;
  font-size: 16px;
  font-family: 'Montserrat';
  font-weight: 600;
  line-height: 26px;
  flex: 1;
}

input:focus,
select:focus {
  outline: none;
}

select {
  border: none;
  border-radius: 4px;
  background: #f2e5ff;
  color: #bf00ff;
  font-size: 20px;
  font-weight: 600;
  height: 60px;
  font-family: 'Montserrat';
  width: 100%;
  padding: 0 20px;
  cursor: pointer;

  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

main {
  margin: 0 auto;
  width: 100%;
  max-width: 700px;
  height: 600px;
  border-radius: 30px;
  background: 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: #f2e5ff;
  color: #bf00ff;
  font-weight: 600;
  font-size: 16px;
  line-height: 26px;
  padding: 16px 24px;
  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;
}

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

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

button {
  background-color: #bf00ff;
  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.8;
  transform: scale(1.05);
}

footer {
  background-color: #bf00ff;
  color: #f1f1f1;
  width: 100%;
  text-align: center;
  padding: 5px;
  margin-top: 15px;
}

footer p {
  font-size: small;
}

/* Responsive design */
@media (min-width: 667px) {
  .my-video {
    max-height: 100%;
  }

  h2 {
    font-size: 20px;
    line-height: 34px;
  }

  footer {
    position: fixed;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
  }
}

