@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  display: grid;
  place-items: center;
  background-color: #ebebeb;
}

#flexing_login_container {
  position: fixed;
  height: 100vh;
  width: 100%;
  z-index: 555;
  background: rgba(36, 35, 36, 0.5);
}

#login_container {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;

}

.title {
  margin: 20px 0;
  text-align: center;
}

.main {
  border: 8px solid #dddddd;
  border-radius: 24px;
  overflow: hidden;
}

.name {
  display: flex;
  font-size: 32px;
  font-weight: 700;
  padding: 8px 16px;
  color: #7e7e7e;
  background-color: #ebebeb;

  width: 100%;
  display: flex;
  align-items: center;
  
}

.name > span {
  color: #bbb;
  font-size: 18px;
}

.name-input {
  font-size: 24px;
  font-weight: 700;
  color: #7e7e7e;
  flex-grow: 1;
  border: none;
  margin: 0px 20px;
  width: 250px;
  outline: none;
  background-color: #ebebeb;
}

#advertisement {
  position: fixed;
  height: 110px;
  width: 400px;
  z-index: 555;
  overflow: hidden;
}
.image_advertise {
   height: 100%;
   width: 100%;
   object-fit: cover;
   border-radius: 10px;
}

.message-container {
  display: flex;
  flex-direction: column;
  background-color: #f6f6f6;
  width: 400px;
  height: 62vh;
  overflow-y: scroll;
  overflow-x: hidden;
}
.contain-message {
  cursor: pointer;
}

.message-left,
.message-right {
  list-style: none;
  padding: 8px 12px;
  margin: 12px;
  max-width: 250px;
  font-size: 18px;
  word-wrap: break-word;
}

.message-left {
  border-radius: 20px 20px 20px 0px;
  align-self: flex-start;
  background-color:#ababab;
  box-shadow: -2px 2px 4px #dcdcdc;
}

.message-right {
  border-radius: 20px 20px 0px 20px;
  align-self: flex-end;
  background-color: #6d6d6d;
  box-shadow: 2px 2px 4px #dcdcdc;
  color: #f6f6f6;
}


.message {
  white-space: pre-line; 
  font-family: 'Segoe UI', sans-serif; 
  line-height: 1.3;
  color: #fff;
  background-color: transparent;
  border-radius: 10px;
  max-width: 90%;
  word-break: break-word;
  font-size: 15px;
  height: auto !important;
  
}


.message-left > p > span,
.message-right > p > span {
  display: block;
  font-style: italic;
  font-size: 12px;
  margin-top: 4px;
}

.feedback {
  font-style: italic;
  font-size: 14px;
  padding: 0px 16px 16px 16px;
  color: #2d2d2d;
  text-align: center;
}

.message-form {
  display: flex;
  /* justify-content: space-between; */
  
  width: 400px;
  overflow: auto;
}

.message-input {
  flex-grow: 1;
  height: 48px;
  font-size: 16px;
  border: none; 
  outline: none;
  padding: 0 12px;
  width: 100% !important;
  background-color: #fff;
  padding: 14px;
  resize: none;
}

.message-input::-webkit-scrollbar {
  display: none;
}

.send-button {
  height: 48px;
  font-size: 16px;
  border: none;
  padding: 0px 10px;
  outline: none;
  background-color: #fff;
  cursor: pointer;
}

.v-divider {
  height: 48px;
  width: 2px;
  background-color: #f6f6f6;
}

.clients-total {
  margin: 20px 0;
  text-align: center;
  color: #7e7e7e;
}


/* Render chat app  */


.chat_container {

  /* position: fixed;
  bottom: 3.5%;
  right: 12%; */
  transition: all 0.5s ease-in-out;

  z-index: 5;
  height: 100vh !important;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent !important;
}


#chat_block_contain {
  height: auto;
  width: 420px;
  position: relative;
  right: -24%;
  top: 10px;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;

}


#pop_chat {
  height: 60px;
  width: 60px;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
  position: fixed;
  top: 87%;
  right: 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  cursor: pointer;
  border-radius: 10px;
  background-color: #e2e2e2;
  z-index: 55;
}


@media only screen and (max-width: 750px) {

  .title {
    display: none;
  }

  .name {
    display: none !important;
  }

   #pop_chat {
    height: 60px;
    width: 60px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
    position: fixed;
    top: 78%;
    right: 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    cursor: pointer;
    border-radius: 10px;
    background-color: #e2e2e2;
    z-index: 55;
}

  .chat_container {

    /* position: fixed;
    bottom: 3.5%;
    right: 12%; */
    transition: all 0.5s ease-in-out;
  
    z-index: 5;
    height: 100vh !important;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start !important;
    background-color: transparent !important;
  }

  
  #chat_block_contain {
    margin-top: -0.2em;
    height:auto !important;
    width: 400px;
    position: relative !important;
    right: 0 !important;
    top: 0 !important;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
  
  }

  .message-form {
    display: flex;
    justify-content: space-between;
    width: 380px;
    overflow: auto;
}

#advertisement {
  position: fixed;
  height: 110px;
  width: 386px !important;
  z-index: 555;
}

.message-container {
  display: flex;
  flex-direction: column;
  background-color: #f6f6f6;
  width: 400px; 
  height: 89vh;
  overflow-y: scroll;
  overflow-x: hidden;
}


}


@media only screen and (max-width: 540px) { 
  .message-container {
    display: flex;
    flex-direction: column;
    background-color: #f6f6f6;
    width: 100%;
    height: 86vh;
    overflow-y: scroll;
    overflow-x: hidden;
  }
}


@media only screen and (max-width: 414px) { 
  .message-container {
    display: flex;
    flex-direction: column;
    background-color: #f6f6f6;
    width: 100%;
    height: 76vh !important;
    overflow-y: scroll;
    overflow-x: hidden;
  }
}

@media only screen and (max-width: 430px) { 
  .message-container {
    display: flex;
    flex-direction: column;
    background-color: #f6f6f6;
    width: 100%;
    height: 90vh !important;
    overflow-y: scroll;
    overflow-x: hidden;
  }
}



@media only screen and (max-width: 390px) { 

  #chat_block_contain {
    margin-top: -0.2em;
    height: auto !important;
    width: 360px;
    position: relative !important;
    right: 0 !important;
    top: 0 !important;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
}
  .message-container {
    display: flex;
    flex-direction: column;
    background-color: #f6f6f6;
    width: 100%;
    height: 89vh !important;
    overflow-y: scroll;
    overflow-x: hidden;
  }

  .message-form {
          display: flex;
          justify-content: space-between;
          width: 340px;
          overflow: auto;
      }

      .name {
        display: flex;
        font-size: 32px;
        font-weight: 700;
        padding: 8px 15px;
        color: #7e7e7e;
        background-color: #ebebeb;
        width: 98%;
        display: flex;
        align-items: center;
    }
    .main {
      border: 8px solid #dddddd;
      border-radius: 24px;
      overflow: hidden;
      width:360px;;
  }

  .name-input {
    font-size: 24px;
    font-weight: 700;
    color: #7e7e7e;
    flex-grow: 1;
    border: none;
    margin: 0px 15px;
    width: 220px;
    outline: none;
    background-color: #ebebeb;
}

#advertisement {
  position: fixed;
  height: 110px;
  width: 344px !important;
  z-index: 555;

}

 #pop_chat {
    height: 60px;
    width: 60px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
    position: fixed;
    top: 76%;
    right: 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    cursor: pointer;
    border-radius: 10px;
    background-color: #e2e2e2;
    z-index: 55;
}

}

/* @media only screen and (max-width: 390px) {  
    .message-container {
    display: flex;
    flex-direction: column;
    background-color: #f6f6f6;
    width: 100%;
    height: 70vh !important;
    overflow-y: scroll;
    overflow-x: hidden;
  }
} */

@media only screen and (max-width: 375px) {  
    .message-container {
    display: flex;
    flex-direction: column;
    background-color: #f6f6f6;
    width: 100%;
    height: 87vh !important;
    overflow-y: scroll;
    overflow-x: hidden;
  }
}





#chat_icons {
  color: #2d2d2d;
  transition: all 0.1s ease-in-out;
}
#chat_icons:hover {
  scale: 1.5;

}

.toggle_chat_block {
  scale: 0;
}

#message-input-file {
  display: none;
}

#label-file {
  height: 50px;
  width: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  cursor: pointer;
}

#inputs_container {
  /* border: 1px solid #000; */
  width: 350px !important;
  background-color: #fff;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  height: 50px !important;
  overflow: scroll !important;
}

#inputs_container::-webkit-scrollbar {
  display: none;
}


#container_images {
  height: 300px;
  width: 360px;
  position: absolute;
  top: 420px !important;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 10px 28px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
  overflow: scroll;
  margin: 1em;
  gap: 1em;
  padding: 1.5em 0;
  background-color: #6d6d6d;
}

#container_images::-webkit-scrollbar {
  display: none;
}


.file_contain {
  height: 200px;
  width: 300px;
  /* background: red; */
  margin: 0 auto;

  
}

#uploaded {
  height:100%;
  width: 100%;
  object-fit: contain;
}

.hide_contain {
  display: none !important;
}

#remove_mark {
  position: relative;
  left: 285px;
  top: -218px;
  font-size: 25px;
  cursor: pointer;
}
.renderVid {
    height: 250px !important;
    width: 300px !important;
}
.rendeImg {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
#update_name {
  border: 1px solid #7e7e7e;
  height: 30px;
  width: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
color: #7e7e7e;
cursor: pointer;

}


/* #clip-icon {
  background-color: transparent !important;
} */

.updating {
  border: none !important;
  color: #fff !important;
  background-color: rgb(9, 175, 9);
}

#profile_image {
  height: 30px;
  width: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
}

#chat_profile {
  height: 30px;
  width: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  margin-bottom: 10px;
  position: relative;
  left: -3px;
}


#user_profile {
  height: 100%;
  width: 100%;
  object-fit: contain;
  border-radius: 50px;
}

#focus_image {
  cursor: pointer;
  border-radius: 10px;
}

#pop_image_contain {
  width:100%;
  height:100vh;
  background-color:rgba(70, 69, 69, 0.5);
  border: 1px solid#000;
  z-index: 555;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
} 


#pop_image_gallery {
  height: 100%; 
  width: 100%;
  object-fit: contain;
}




#link_advertise {

  display: block;
  position: absolute;
  height: 100%;
  width: 100%;
}
