.container-message {
  
  display: flex;
  gap: 2px;
  margin:auto;
  width: 90%;
  height: 90%;
  max-height: 100%;
  border-radius: 15px;
  background: #efefef;
}
.colum-contacts {
  display: flex;
  flex-direction: column;
  min-width: 30%;
  height: 100%;
  background: #fff;
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}
.colum-chat {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.parallel {
  widows: 100%;
  background: #fff;
}
.header {
  position: relative;
  border-top-right-radius: 15px;
  display: flex;
  width: 100%;
  min-height: 60px;
  padding: 14px 24px;
}
.header p {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  margin: 0;
  padding-left: 10px;
}

.message-send {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding-left: 10px;
}
.message-wrriten {
  flex-grow: 1;
  height: 32px;
  border-radius: 38px;
  border: 0.5px solid #35424a;
  font-size: 10px;
  padding-left: 10px;
  padding-right: 8px;
}
.btn-send {
  display: flex;
  align-items: center;
  width: 60px;
  height: 50px;
  /* padding-left: 5px; */
}
.btn-send img {
  width: 48px;
  height: 48px;
  cursor: pointer;
}
.btn-send img:active {
  transform: scale(0.9);
}
.body-chat {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 7px 25px;
  gap: 10px;
  /* height: calc(100%-110px); */
  margin-bottom: 5px;
  overflow: auto;
}
.body-chat::-webkit-scrollbar {
  width: 7px;
  background: #35424a;
}
.body-chat::-webkit-scrollbar-thumb {
  background: #d3d3d3;
  border-radius: 10px;
}
.message-general {
  width: 100%;
}
.message-contact {
  display: flex;
  gap: 15px;
  text-align: left;
  font-size: 13px;
  width: 100%;
  min-height: 35px;
  max-height: 120px;
  border: 1px solid #efefef;
}
.message-contact p {
  text-align: left;
  font-weight: 300;
  line-height: 15px;
  padding: 15px 12px;
  max-width: 300px;
  min-height: 30px;
  margin: 0;
  background: #ffffff;
  border-radius: 0px 15px 15px 15px;
}
.message-user {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  font-size: 13px;
  width: 100%;
  min-height: 35px;
  max-height: 140px;
  border: 1px solid #efefef;
}
.message-user p {
  text-align: left;
  font-weight: 300;
  line-height: 15px;
  padding: 15px 12px;
  max-width: 300px;
  min-height: 30px;
  margin: 0;
  background: #ffffff;
  border-radius: 15px 0px 15px 15px;
}
.message-user img {
  align-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #ffffff;
}
.header-search {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  min-height: 60px;
  padding: 14px 15px;
}

.user {
  position: relative;
  width: 32px;
  height: 100%;
}
.user img {
  position: relative;
  width: 32px;
  height: 100%;
  border-radius: 50%;
}
.user span {
  position: absolute;
  display: block;
  width: 10px;
  height: 10px;
  background: #1ae800;
  bottom: -1.5px;
  right: -1.5px;
  border-radius: 50%;
}
.search-chat {
  flex-grow: 1;
  height: 100%;
  font-size: 9px;
  text-indent: 8px;
  border: 0.5px solid #35424a;
  border-radius: 30px;
}
.title-contactos {
  display: flex;
  width: 100%;
  height: 45px;
  padding-left: 15px;
}
.title-contactos > p {
  text-align: start;
  align-self: center;
  margin: 0;
  font-size: 12px;
  color: #131b1e;
}

.chat-all {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 80%;
  max-height: calc(100%-55px);
  overflow: auto;
}
.item-chat {
  display: flex;
  width: 100%;
  height: 50px;
  padding: 9px 15px;
  cursor: pointer;
}
.item-chat:hover {
  background: #35424a;
}
.item-chat:active {
  background: linear-gradient(90deg, #5cc151 0%, #97f18d 100%);
}
.user-message {
  display: flex;
  flex-direction: column;
  height: 32px;
  padding-left: 10px;
  font-size: 10px;
}
.user-message p {
  text-align: start;
  margin: 0;
}
.message-inline {
  font-weight: 300;
  display: -webkit-box;
  padding-right: 10px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  -webkit-line-clamp: 1;
  overflow: hidden;
  padding-right: 5px;
}

.contactos {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 30%;
  overflow: auto;
}
.item-contacto {
  display: flex;
  width: 100%;
  height: 50px;
  padding: 9px 15px;
  cursor: pointer;
}
.user-data {
  display: flex;
  flex-direction: column;
  height: 32px;
  padding-left: 10px;
  font-size: 10px;
}
.user-data p {
  text-align: start;
  margin: 0;
}

.b-spinner {
  width: 4rem;
  height: 4rem;
}

/* Usuario escribiendo */

.isTyping,
.isTyping::before,
.isTyping::after {
  border-radius: 50%;
  width: 2.5em;
  height: 2.5em;
  animation: Typing 1.5s infinite ease-in-out;
}

.isTyping {
  color: var(--second-color-gray);
  font-size: 5px;
  position: relative;
  animation-delay: -0.16s;
}

.isTyping::before,
.isTyping::after {
  content: "";
  position: absolute;
  top: 0;
}

.isTyping::before {
  left: -3em;
  animation-delay: -0.32s;
}

.isTyping::after {
  left: 3em;
}

@keyframes Typing {
  0%,
  80%,
  100% {
    box-shadow: 0 2.5em 0 -1.3em;
  }
  40% {
    box-shadow: 0 2.5em 0 0;
  }
}

.escribiendo {
  width: 72px;
  height: 32px;
  margin: 0;
  background: #ffffff;
  border-radius: 0px 15px 15px 15px;
  display: flex;
  justify-content: center;
}


@media only screen and (max-width: 800px) {

  .container-message{
    display: grid;
    gap: 15px;
    border-radius: 15px;
    width: 100%;
    height: 100%;
    margin: 0;
  }
  .colum-contacts{
    
    border-radius: 15px;
    
  }
  .colum-chat{
    border-radius: 15px;
  }

  
  
}