@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background-color: #121212;
  /* background-image: url(informatica.jpg);
  background-repeat: no-repeat; */

  width: 100%;
  height: 100%;
  overflow-x: hidden;
  font-family: "Open Sans", "Helvetica", sans-serif;
}

.navbar {
  background-color: #21262d;
  box-shadow: 0 2px 4px 0 rgba(218, 216, 216, 0.2);

}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: #c9d1d9;
  transition: color 0.3s ease-in-out;
}

.navbar img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: 65px;
}


.container {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info {
  display: flex;
  align-items: center;
  /* padding: 1rem; */
  background-color: #e6e6e6;
}

.contact-info .avatar {
  width: 200px;
  height: 60px;
}

.contact-info .avatar img {
  width: 100%;
  height: 100%;
  border-radius: 9999px;
}


.input-area {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1.5rem 2rem;
}

.input-area input[type=text] {
  padding: 0.6rem 0.4rem;
  outline: none;
  border-radius: 7px;
  border: 1px solid #d8d8d8;
  width: 100%;
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
}

.input-area button {
  outline: none;
  border: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  margin-left: 0.4rem;
  border: 1px solid #d8d8d8;
  cursor: pointer;
}

.input-area button:hover {
  background-color: #e6e6e6;
}

.input-area .fa-paper-plane {
  color: #00c3ff;
}

.chat-box {
  width: 100%;
  height: 100%;
  padding: 0.2rem 1rem;
  display: flex;
  flex-direction: column-reverse;
  overflow-y: auto;
}

.question {
  margin-left: 1%;
  margin-top: 5px;
}

.message {
  padding: 0.3rem 1rem;
  margin: 0.5rem 0;
  border-radius: 7px;
  width: fit-content;
}

.message .timestamp {
  color: #646464;
  padding-top: 5px;
  font-size: 0.6rem;
}

.message.primary {
  text-align: right;
  background-color: #d8d8d8;
  margin-left: auto;
}

.message.secondary {
  text-align: left;
  background-color: #98FB98;
  margin-right: auto;
}

.fa-spinner {
  font-size: 25px;
  animation: fa-spin 2s infinite linear;
}

.data {
  padding: 0.6rem 0.4rem;
  outline: none;
  border-radius: 10px;
  background-color: #ff7b00;
  width: 100%;
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  margin-left: 1%;
  margin-top: 5px;
  text-decoration: none;
  color: #d8d8d8;
  font-weight: bold;
}

.suggestion {
  margin-top: 10px;
}

@media (max-width: 768px) {
  .navbar img {
    max-height: 40px;
  }
}

::-webkit-scrollbar {
  width: 2px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #888; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555; 
}