* {
  margin: 0;
}
html {
  font-family: Helvetica, Arial, sans-serif;
}
body {
  background-color: black;
  display: grid;
  justify-content: center;
}
.logo {
  border-radius: 50px;
}
.mobile {
  width: 600px;
  height: 100vh;
  position: relative;
  background-image: url(./Images/mobile.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
::-webkit-scrollbar {
  width: 1px;
  background-color: transparent;
  border-radius: 50px;
}
.wrapper {
  position: relative;
  width: 100vw;
  max-width: 550px;
  left: 26px;
  height: 100vh;
  margin-bottom: 200px;
  top: 3%;
  overflow-y: auto;
  border-radius: 20px 20px 0px 0px;
  background-image: url(./Images/wallpaper.jpg);
}
.header {
  width: 550px;
  text-align: center;
  height: 70px;
  position: fixed;
  font-size: 60%;
  z-index: 100;
  border-radius: 5px 5px 0px 0px;
  background-image: url(./Images/header.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
#online {
  color: white;
  position: relative;
  top: 20px;
  left: -120px;
}
.header .heading {
  position: relative;
  top: 30px;
  background-color: transparent;
}
.messages {
  position: relative;
  top: 10%;
  width: 100%;
  padding-bottom: 50px;
  height: auto;
}
#messagebot {
  width: 50px;
  height: 50px;
  border-radius: 50px;
  position: relative;
  left: -180px;
  top: 50px;
}
#userbot {
  width: 50px;
  height: 50px;
  border-radius: 50px;
  position: relative;
  right: -245px;
  top: 30px;
}
.messages .users {
  width: 20%;
  height: auto;
  position: relative;
  left: 40%;
  top: 10%;
  border-radius: 15px 0px 15px 0px;
}
.messages .user {
  width: 150px;
  height: auto;
  background-color: #91c16c;
  transition: 0.3s ease-in;
  position: relative;
  transition: 0.3s;
  top: 10%;
  left: 70px;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 20px 0px 20px 20px;
  word-wrap: break-word;
}
.messages .bot {
  width: 150px;
  height: auto;
  background-color: #3b4a53;
  color: white;
  position: relative;
  transition: 0.5s ease-in linear;
  padding: 10px;
  margin-bottom: 10px;
  left: -120px;
  border-radius: 0px 20px 20px 20px;
  word-wrap: break-word;
}
.input {
  width: 550px;
  height: 50px;
  position: fixed;
  bottom: 0;
}
.input input {
  position: relative;
  left: 2px;
  width: 85%;
  height: 100%;
  background-color: #2c373c;
  border-radius: 20px;
  border: none;
  padding-left: 15px;
  color: whitesmoke;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 20px;
}
.input #btn {
  position: relative;
  left: 90%;
  bottom: 50px;
  border-radius: 50px;
  width: 50px;
  height: 50px;
  background-color: yellowgreen;
  background-image: url(./Images/mic.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

@media (min-width: 1025px) {
  /* For Desktop View */
  .messages .user {
    position: relative;
    left: 60%;
  }
}
@media (max-width: 600px) {
  /* For Mobile View */
  .mobile {
    width: 100vw;
    top: -80px;
    position: fixed;
  }
  .mobile .wrapper {
    position: relative;
    width: 100vw;
    left: 0px;
    top: 60px;
    height: 100vh;
  }
  .mobile .header {
    width: 100vw;
    position: relative;
    position: fixed;
    top: -13px;
    background-size: contain;
  }
  #online {
    position: relative;
    top: 15px;
    left: -70px;
  }
  .mobile .header .heading {
    position: relative;
  }
  .wrapper .users {
    top: 10px;
  }
  .wrapper .bot {
    position: relative;
    left: -120px;
    top: 10px;
  }
  .wrapper .user {
    margin-top: 20px;
  }
  .wrapper .input {
    width: 90vw;
    left: 0px;
  }
  .input #btn {
    position: relative;
    left: 93%;
  }
  #messagebot {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    position: relative;
    left: -140px;
    top: 50px;
  }

  #userbot {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    position: relative;
    right: -150px;
    top: 40px;
  }
  .messages .bot {
    position: relative;
    left: -80px;
  }
  .messages .user {
    position: relative;
    left: -20px;
  }
}
@media (min-width: 1500px) {
  /* For Large Desktop */
  .wrapper {
    top: 8%;
  }
}
