* {
    box-sizing: border-box;
  }

  body {
    
    font-family: 'Poppins', sans-serif;
    background: url(centro/fundo.gif); /*---imagem de fundo do site---*/

  
  }

  .container {
    width: 400px;
    margin: 50px auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: #9dad9c33 0px 7px 29px 0px;
    background: url(fundo/redor.jpg); /*---imagem ao redor chat---*/
    
  }

  .title {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #edf1f3;
  }

  .chat {
    height: 400px;
    overflow-y: scroll;
    margin: 20px 0;
    padding: 10px;
    border: 2px solid #38bff1;
    border-radius: 5px;
    background: url(fundo/centro.jpeg); /*---imagem do fundo do quadrado---*/

    
  }

  .message {
    display: flex;
    align-items: center;
    margin: 10px 0;
  }

  .user {
    justify-content: flex-end;
  }

  .bot {
    justify-content: flex-start;
  }

  .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 10px;
  }

  .user .avatar {
    order: 2;
    background: url("img/avatar.jpeg"); /*---imagem pessoa---*/
    background-size: cover;
  }

  .bot .avatar {
    order: 1;
    background: url("img/bot.webp"); /*---imagem da IA---*/
    background-size: cover;
  }

  .text {
    max-width: 70%;
    padding: 10px;
    border-radius: 10px;
    font-size: 16px;
    color: white;
  }

  .user .text {
    background: #4a4d52;
  }

  .bot .text {
    background: #8c8c8e;
  }

  .input {
    position: relative;
    width: 100%;
    padding: 10px;
    border: 2px solid #cbcbce;
    border-radius: 5px;
    outline: none;
    font-size: 20px;
   
  }

  .input:focus {
    border-color: #8296d0;
    color: #1e1f1f;
  }

  .button {
    position: absolute;
    width: 75px;
    border: none;
    padding: 1px;
    background: #130e0c;
    color: white;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    margin-top: .01rem;
    margin-left: -4.1rem;
    outline: none;
  
  }
button i{
  font-size: 3rem;
}
  .button:hover {
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
  }

  .chat::-webkit-scrollbar {
    width: 10px;
}

.chat::-webkit-scrollbar-thumb {
    background: #bcbdc0;
    border-radius: 10px;
}
  