body {
    background-color: #e8f1e3;
    color: #333;
    font-family: Helvetica, Arial, sans-serif;
    position: relative;
  }

  h1 {
    text-align: center;
    font-size: 20px;
    font-family: monospace;
    color: #075e54;
    margin: -1px;
  }

  h3 {
    text-align: center;
    font-size: 11px;
    font-family: monospace;
    color: #128c7e;
    margin-top: 0;
  }
  main {
  display:grid;
    grid-template-columns: 1fr 4fr 1fr;
  }

  #usuario {
    margin: auto 10px;
  }

  #mensagem {
    height: 85vh;
    margin: 0 auto;
    background-color: #e6dedea6;
    background-image: url("../assets/background.png"); 
    background-repeat: repeat;
    background-size: contain;
    background-position: center;
    width: 78vw;
    overflow-y: scroll;
    scrollbar-width: none;
    scrollbar-color:rgba(36, 207, 99, 0.73) #ffffff;
    box-sizing: border-box;
    box-shadow: inset 0px 0px 30px rgba(44, 39, 90, 0.68);
    border-width: 1px 1px 1px 1px; /* topo, direita, baixo, esquerda */
    border-style: solid;
    border-color: rgb(172, 183, 171);
    padding-bottom: 44px;
    border-radius: 3px;
    
    


  }

  #mensagem::-webkit-scrollbar {
    width: 1px;
  }
  #mensagem::-webkit-scrollbar-track {
    background: #ffffff;
    border-radius: 5px;
  }
  #mensagem::-webkit-scrollbar-thumb {
    background-color: #25d366;
    border-radius: 5px;
  }

  #mensagens {
    font-size: smaller;
    margin-bottom: 5px;
    border-radius: 7px;
    align-content: center;
    padding: 7px 10px;
    overflow-wrap: anywhere;
    background-color: #dcf8c6;
    
  }

  #inputs {
    display: flex;
    justify-content: center;
    padding: 10px;
    gap: 2px;
    position: fixed;
    bottom: 35px;
    width: 100%;
    z-index: 1000;
    max-height: 32px;
  }

  #input-usuario {
    height: 32px;
    width: 100%;
    max-width: 5vw;
    border-radius: 20px 0 0 20px;
    padding: 0 10px;
    border: 1px solid #128c7e;
    background-color: #fff;
    color: #075e54;
  }
  #input-usuario:focus {
    outline: 2px solid #25d366;
  }

  #input-mensagem {
    height: 32px;
    width: 100%;
    max-width: 25vw;
    border-radius: 0;
    padding: 0 10px;
    border: 1px solid #128c7e;
    background-color: #fff;
    color: #075e54;
  }
  #input-mensagem:focus {
    outline: 2px solid #25d366;
  }
  
  #botao-enviar {
    border-radius: 0 20px 20px 0;
    width: 100%;
    height: 33.6px;
    border: 1px solid #128c7e;
    max-width: 5vw;
    background-color: #128c7e;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
  }
  #botao-enviar:hover {
    background-color: #25d366;
    outline: 2px solid #25d366;
  }

  #botao-arquivo {
    width: 10px;
    margin: 6px;
    cursor: pointer;
  }

  #botao-arquivo-imagem {
    width: 15px;
    filter: brightness(0) saturate(100%) invert(45%) sepia(80%) saturate(384%) hue-rotate(98deg) brightness(92%) contrast(90%);
  }

  #mensagem-log {
    margin: 0 auto;
    width: 10rem;
    display: flex;
    justify-content: center;
    background-color: #e8f1e3;
    color: #075e54;
    font-size: smaller;
    margin-bottom: 5px;
    border-radius: 8px;
    padding: 7px 10px;
    overflow-wrap: anywhere;
  }

  #msg-usuario {
    display: flex;
    
    justify-content: end;
    background-color: #dcf8c6;
    font-size: smaller;
    margin-bottom: 6px;
    border-radius: 8px 8px 0 8px;
    padding: 8px 10px;
    overflow-wrap: anywhere;
    max-width: 500px;
    margin-left: auto;
    margin-right: 5px;
    text-align: right;
    color: #075e54;
    width: fit-content;
    box-shadow: 0 1px 1px #ccc;
    text-align: left;
    flex-direction: column;
  }
  
  #msg-outros {
    color: #075e54;
    display: flex;
    justify-content: start;
    background-color: #ffffff;
    font-size: smaller;
    margin-bottom: 6px;
    border-radius: 8px 8px 8px 0;
    padding: 8px 10px;
    overflow-wrap: anywhere;
    max-width: 500px;
    margin-left: 5px;
    text-align: left;
    width: fit-content;
    flex-direction: column;


  }

  
  #comandos{
    text-align: start;
    font-size: 9px;
    font-family: monospace;
    color: #128c7e;
    margin-top: 7vh;
  }
  #comando li {
    wrap: auto;
  }
  
  #online{
    text-align: start;
    font-size: 9px;
    font-family: monospace;
    color: #128c7e;
    margin-top: 0;
  }
  #chats{
    margin-top: 50.9px;
    background-color:rgba(251, 251, 251, 0.65);
    overflow-y: scroll;
    height: 69.8vh;
    scrollbar-width: none;
    scrollbar-color: #25d366 #ffffff;
    /* box-shadow: 0 0 8px #bdbdbd; */
    border-bottom: 1px solid rgb(172, 183, 171);

}

#chats::-webkit-scrollbar {
  width: 3px;
}
#chats::-webkit-scrollbar-track {
  background: #ffffff;
  border-radius: 5px;
}
#chats::-webkit-scrollbar-thumb {
  background-color: #25d366;
  border-radius: 5px;
}
  #chats div{
    padding: 10px;
    cursor: pointer;
    border-top: 1px solid rgb(172, 183, 171);
    border-right: 1px solid rgb(172, 183, 171);
    border-left: 1px solid rgb(172, 183, 171);
      }
  .chat-selecionado {
    background-color: #e6dedea6;
   border-right: none !important;
  }
  