html, body {
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}

button:hover {
    cursor: pointer;
}

button:focus, input:focus {
    outline: none;
}

.main-container {
    background: rgb(49,193,176);
    background: linear-gradient(127deg, rgba(49,193,176,1) 0%, rgba(11,12,108,1) 0%, rgba(24,16,129,1) 21%, rgba(132,35,161,1) 100%);
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.text-container {
    color: white;
    font-size: 2.5rem;
    text-align: center;
    padding: 2rem;
}

.maintext {
    margin: 1rem;
}

.chatbtn {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    border: none;
    border-radius: 5px;
    padding: 1rem;
    background-color: rgb(255, 255, 255);
}

.chatbot {
    position: fixed;
    bottom: 5rem;
    right: 1rem;
    border-radius: 10px;
    border: none;
    height: 510px;
    background-color: white;
    width: 330px;
    overflow: hidden;
    transform: translateY(200%);
    transition: all 1s;
}

.showchat {
    transform: translateY(0);
    transition: all 0.5s;
}

.chatbot-header {
    background-color: rgb(165, 90, 165);
    display: flex;
    color: rgb(247, 247, 247);
    font-size: 1.2rem;
    padding: .5rem 0;
}

.chatbot-heading {
    padding: 1rem .5rem;
}

.close-btn {
    background: none;
    border: none;
    color: rgb(255, 255, 255);
    margin-left: 2rem;
    font-size: 1.3rem;
}

.robotimg {
    width: 50px;
    height: 50px;
    margin: 0 .5rem;
    border: 2px solid white;
    border-radius: 50%;
}

.messagecont {
    height: 400px;
}

.rule {
    width: 96%;
    margin: 0 auto;
    background-color: gray;
}

.messageinput {
    position: absolute;
    bottom: 0;
    padding: .5rem;
    width: 99%;
}

.msginput {
    border: none;
    background: none;
    width: 83%;
    font-size: 1rem;
}

.messages {
    padding: .5rem;
    height: 380px;
    overflow-y: scroll;
}

.messages::-webkit-scrollbar {
    display: none;
  }
  
  .messages {
    -ms-overflow-style: none;  
    scrollbar-width: none;  
  }

.sendmsg {
    background-color: rgb(137, 216, 142);
    border: none;
    padding: .2rem .5rem;
}

.message-rec, .message-sent {
    width: 70%;
    padding: .5rem;
    border-radius: 10px;
    margin: .5rem;
}

.message-rec {
    background-color: rgb(228, 228, 228);
    clear: both;
}

.message-sent {
    background-color: rgb(128, 207, 139);
    float: right;
}