html {
  height: 100%;
}

html,
body {
  width: 100%;
  height: 100%;
  background-color: #dedede;
}

body {
  display: flex;
  justify-content: start;
  align-items: center;
  font-family: var(--font-tchat);
}

#possible_epingled {
  width: 100%;
  max-width: 800px;
  background: var(--bg-card);
  overflow: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 95px;
  padding: 0px;
}

#possible_epingled:has(video) {
  min-height: 400px;
  max-width: 800px;
}

.epingled_data span > video {
  display: flex;
  width: 100%;
  min-height: 300px !important;
  min-width: 300px !important;
  background-color: black;
  margin: 0px;
  padding: 0px;
}

.video {
  width: 100%;
  max-height: 300px;
}

.epingled_data {
  border-radius: 0px;
  background: none;
  overflow: auto;
}

#possible_epingled b {
  border-bottom: 4px solid var(--main-color);
  border-radius: 0px;
}

#possible_epingled .message {
  margin: 0px;
}

#closeEpingled {
  z-index: 10;
  top: 17px;
  right: 12px;
}

/*  */

/* Styles pour les vidéos normales */
.normal-video-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 800px;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  background: black;
  cursor: pointer;
  margin: 0 auto; /* Center the container horizontally */
}

.normal-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.playButton {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><polygon points="16,0 64,32 16,64" fill="white"/></svg>')
    no-repeat center center;
  background-size: contain;
  border: none;
  cursor: pointer;
  outline: none;
}

.playButton:hover {
  opacity: 0.8;
}

#possible_epingled .video-container video {
  max-height: 400px;
}
/* Styles pour les vidéos IPTV */
.video-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 800px;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  background: black;
  cursor: pointer;
  margin: 0 auto; /* Center the container horizontally */
}

.iptv {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*  */
#tchatbox {
  width: 100%;
  max-width: 800px;
  /* min-height: 800px; */
  height: 100%;
  background-color: var(--bg-tchat);
  padding: 0px 12px;
  overflow: auto;
  overflow-x: hidden;
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  flex-direction: column;
  border-radius: 0px;
  padding-bottom: 120px;
}

.count_session {
  transition: top 0.3s;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  top: 0px;
}

.count_session img {
  user-select: none;
}

#RoomNumber {
  font-family: Quicksand_B;
  font-size: 25px;
  margin: 5px;
  margin-right: 10px;
}

.count_session span {
  font-size: 20px;
  color: var(--box-text);
}

#count_users {
  font-size: 26px;
  color: var(--box-text);
  font-family: Quicksand_B;
  margin-left: 4px;
}

#backtotop {
  display: none;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  position: fixed;
  width: 37px;
  height: 40px;
  border-radius: 10px;
  color: whitesmoke;
  background: var(--main-color);
  font-size: 25px;
  display: inline-block;
  text-align: center;
  font-weight: bold;
  user-select: none;
  cursor: pointer;
  line-height: 42px;
  z-index: 1;
  opacity: 0.8;
  transform: rotate(90deg);
}

#backtotop:hover {
  opacity: 1;
}

.emoji {
  width: 18px;
  height: 18px;
  transform: translateY(10%);
  margin: 0px 1px;
}

.emoji_gif {
  width: 28px;
  height: 28px;
  margin: 0px 1px;
  margin-bottom: -6px;
  user-select: none;
}

.message {
  width: 100%;
  transition: 0.7s;
  border-radius: 10px;
  color: var(--text-card);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 10px;
  text-align: left;
  white-space: initial;
  margin: 10px 0px;
  word-break: break-word;
}

.metadata {
  display: flex;
  justify-content: space-between;
}

.msg-download-info {
  color: var(--download-color);
  font-style: italic;
  font-weight: bold;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  padding: 10px;
  max-width: 200px;
}

.msg-file-container {
  margin: 0px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  width: 100%;
  box-sizing: content-box;
  justify-content: center;
}

.msg-file-container > * {
  margin: 5px;
}

.msg-download-container {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-overflow: ellipsis;
  border: 2px solid var(--main-color);
  padding: 5px;
  padding-bottom: 0;
  flex-wrap: wrap;
  border-radius: 3px;
  max-width: 250px;
}

.btn_download {
  cursor: pointer;
  padding: 10px;
  font-size: 18px;
  min-height: 50px;
  font-weight: bold;
  background: var(--main-color);
  border: 2px solid var(--main-color);
  color: var(--box-text);
  transition: 0.2s;
  border-radius: 6px;
}

.metadata-msg-download {
  color: var(--text-card);
  font-style: normal;
  font-size: 16px;
}

#logo_micro {
  margin: 0px;
  transition: 0.4s;
  user-select: none;
}

audio::-webkit-media-controls-panel {
  background-color: var(--main-color);
}

audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-volume-slider {
  opacity: 1;
}

audio {
  border: 2px solid var(--main-color);
  border-radius: 100px;
  margin: 2px;
  width: 250px;
}

.audio_container .close {
  color: var(--text-card);
}

.audio_container {
  position: fixed;
  bottom: 82px;
  right: 0%;
  max-width: 320px;
  border-radius: 5px;
  background-color: var(--bg-card);
  padding-top: 25px;
  width: 100%;
  text-align: center;
  border: 5px solid lightgrey;
  z-index: 1;
  opacity: 1;
}

@media screen and (min-width: 800px) {
  .audio_container {
    padding: 10px;
    padding-top: 25px;
    position: absolute;
    bottom: 82px;
    left: 50%;
    transform: translateX(25%);
  }
}

@media screen and (max-width: 550px) {
  .audio_container {
    background: none;
    border: none;
  }

  .audio_container .close {
    background: var(--main-color);
  }
}

.audio_container:active,
.audio_container:focus {
  opacity: 1;
}

.audio_container .close {
  position: absolute;
  left: 90%;
  top: 4px !important;
}

.content {
  font-size: 18px;
  color: var(--text-card);
  padding-top: 5px;
}

.content .socialIcon,
.emoji {
  width: 24px;
  height: 24px;
  margin: 0px 2px;
  vertical-align: text-top;
}

.content-reply .emoji {
  vertical-align: baseline;
}

#closeReply {
  top: 10px;
}

.reply_container {
  position: absolute;
  height: 100px;
  background: var(--grey);
  border-radius: 4px;
  border: 2px solid white;
  width: 100%;
  z-index: 10;
  top: -100px;
  left: 0;
  display: none;
  flex-direction: column;
  flex-wrap: wrap;
  padding: 10px;
}

#reply_label {
  position: absolute;
  top: -37px;
  left: 0;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  padding: 5px;
  border-radius: 5px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  font-weight: bold;
  user-select: none;
}

.reply_container .content {
  max-width: 600px;
  width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: break-all;
  word-wrap: break-word;
  overflow: hidden;
}

.name {
  color: black;
  border-radius: 4px;
  font-size: 18px;
  text-decoration: underline;
  font-style: italic;
  font-weight: bold;
  line-height: 2;
}

.message_components {
  display: flex;
  flex-wrap: wrap;
}
.delete_message {
  display: none;
}
.delete_message,
.settings_message,
.answer,
.copy {
  color: black;
  font-weight: bold;
  font-size: 20px;
  cursor: pointer;
  background-color: var(--componnent-bg);
  border-radius: 3px;
  text-align: center;
  overflow: hidden;
  user-select: none;
  height: 30px;
  width: 30px;
  transition: 0.2s;
  margin: 2.5px 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.settings-message:hover,
.copy:hover,
.answer:hover,
.delete_message:hover {
  background-color: var(--grey);
}

.timestamp {
  font-style: normal;
  color: var(--main-color);
  font-size: 16px;
  text-align: right;
  margin: 5px;
  margin-bottom: 0px;
  transition: opacity 0.3s ease-in-out;
}

.importLink {
  color: var(--main-color);
}

#BotCard {
  display: none;
}
#Store {
  display: none;
  position: absolute;
  width: 100%;
  max-width: 1200px;
  background-color: white;
  padding: 40px;
}
.importImg {
  cursor: pointer;
  width: 68px;
  height: 51px;
}

#tchatbox img {
  max-width: 300px !important;
  max-height: 300px !important;
}

.timestamp.fade-out {
  opacity: 0.5;
}

#BoxApp img {
  transition: 0.2s;
  opacity: 0.9;
}

#delete_img {
}

card:hover > #BoxApp img {
  opacity: 1;
}

.tchat * {
  font-family: var(--font-tchat);
}

.tchat {
  display: flex;
  flex-direction: column;
  overflow-y: hidden;
  overflow-x: hidden;
  width: 100%;
  height: 100%;
  align-items: center;
}

.entries {
  background-color: var(--bg-tchat);
  z-index: 3;
  display: flex;
  justify-content: center;
  position: fixed;
  bottom: 0px;
  width: 100%;
  max-width: 800px;
  padding: 10px;
}

#sendform {
  border: 1px solid var(--main-color);
  border-radius: 5px;
  margin-bottom: 10px;
  overflow: hidden;
  max-width: 85%;
}

.entries form {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.textbox {
  display: flex;
  flex-direction: row;
  position: relative;
  align-items: center;
  overflow: hidden;
  width: 100%;
  max-width: 800px;
  padding: 2px;
  justify-content: space-between;
  background-color: var(--textbox-bg);
}

.textbox div {
  display: flex;
  position: absolute;
  top: 21%;
  left: 74%;
}

#emojis_container {
  position: fixed;
  display: none;
  flex-wrap: wrap;
  font-size: 22px;
  background: grey;
  min-width: 300px;
  max-width: 300px;
  padding: 10px;
  border-radius: 10px;
  border: 2px solid var(--main-color);
  user-select: none;
  max-height: 500px;
  overflow: auto;
  z-index: 4;
}

#emojis_container div {
  margin: 0px 5px;
  cursor: pointer;
}

#highlight {
  background-color: grey;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 100;
  opacity: 0.9;
  display: none;
  justify-content: center;
  align-items: center;
  cursor: alias;
}

#highlight h2 {
  font-size: 30px;
}

#count_chara {
  font-size: 17px;
  color: black;
  opacity: 0.4;
  font-weight: bold;
  user-select: none;
  line-height: 32px;
  margin-right: 10px;
}

#emojis_container .emoji {
  width: 24px;
  height: 24px;
}

.textbox img {
  cursor: pointer;
  margin: 0px 8px;
}

.textbox img:last-child {
  cursor: pointer;
  margin: 0px 3px;
}

.textbox:focus {
  outline: var(--main-color);
}

#send_message {
  position: relative;
  width: 72%;
  min-height: 50px;
  font-size: 18px;
  background: var(--textbox-bg);
  padding: 11px;
  outline: none;
  border: none;
  resize: none;
  max-height: 140px;
  overflow: hidden;
  color: var(--text-color);
}

#send_message::placeholder {
  color: var(--text-placeholder);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#send_message:disabled {
  background: var(--disabled-color);
}

#cone:hover {
  opacity: 1;
}

#menu_container {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 800px;
  height: 60px;
  justify-content: space-between;
  padding: 20px;
  align-items: center;
  background: var(--box-app);
}

.list-admin {
  position: absolute;
  display: none;
  flex-direction: column;
  z-index: 1;
  background: var(--grey);
  width: 150px;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding: 0;
  margin: 0;
  border-radius: 5px;
  overflow: hidden;
  border: 2px solid rgba(0, 0, 0, 0.371);
}

.list-admin li {
  cursor: pointer;
  list-style: none;
  font-weight: bold;
  background: var(--grey);
  width: 100%;
  margin: 0px;
  font-size: 18px;
  padding: 5px 0px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.371);
}

.list-admin li:last-child {
  border-bottom: none;
}

.list-admin li:hover {
  background: lightgrey;
}

.call_elements {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 2.7rem;
  z-index: 3;
  position: absolute;
}

.call_elements * {
  margin: 0.1rem;
  transition: 0.2s;
}

#call_button img:hover {
  filter: brightness(0) saturate(100%) invert(37%) sepia(80%) saturate(3519%)
    hue-rotate(340deg) brightness(99%) contrast(101%);
}

#call_img {
  transition: 0.3s;
}

#call_button {
  display: none;
  z-index: 3;
  position: absolute;
  cursor: pointer;
  padding-top: 5px;
  right: 70px;
  top: 7px;
  transition: 0.3s;
  user-select: none;
}

#call_button img {
  position: relative;
}

#cone {
  pointer-events: none;
  font-family: Poppins;
  opacity: 1;
  z-index: 3;
  top: 37px;
  right: 20px;
  position: absolute;
  padding: 20px;
  font-weight: bold;
  border-radius: 15px;
  transform: rotate(180deg);
  text-align: center;
  cursor: pointer;
  transition: top 0.3s;
}

#cone:after {
  pointer-events: all;
  font-size: 33px;
  position: absolute;
  cursor: pointer;
  transform: rotate(90deg);
  text-align: center;
  content: '<';
  /* top: -33px; */
  right: 14px;
  color: #ff6726;
}

#cone.closeCone:after {
  content: '<';
  /* top: -17px; */
  right: 14px;
}

#cone.openCone:after {
  content: '>';
  top: -31px;
  right: 14px;
}

#send_pseudo {
  background: var(--main-color);
}

h2 {
  font-size: 18px;
}

.container-reply {
  display: flex;
  flex-direction: column;
  padding: 5px 20px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  overflow: hidden;
}

.under30 {
  color: red;
}

@keyframes color-flash {
  0% {
    background-color: transparent;
  }

  50% {
    background-color: rgba(255, 255, 255, 0.2);
  }

  /* changez la couleur comme vous le souhaitez */
  100% {
    background-color: transparent;
  }
}

.copy_card {
  transition: 0.2s;
  animation: color-flash 0.2s ease-in-out !important;
}

.author-reply {
  color: var(--text-mark);
  text-decoration: underline;
  font-weight: bold;
}

.content-reply {
}

#BoxApp card > * {
  user-select: none;
}

#BoxApp card {
  display: flex;
  flex-direction: column;
  color: var(--box-text);
  border: 2px solid var(--main-color);
  border-radius: 5px;
  width: 100px;
  height: 100px;
  justify-content: center;
  align-items: center;
  transition: 0.2s;
  cursor: pointer;
  margin: 5px;
  background: rgb(0, 0, 0, 0.05);
}

#BoxApp card:hover {
  background: #e2e1e172;
}

#BoxApp {
  display: flex;
  flex-wrap: wrap;
  background: var(--box-app);
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  max-width: 800px;
  /*    min-width: 400px;*/
  height: 400px;
  position: absolute;
  overflow: hidden;
  border-bottom: none;
  top: -360px;
  left: 0;
  bottom: 0;
  right: 0;
  margin: 0 auto;
  transition: top 0.3s;
  z-index: 2;
}

.classic_form {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.TopUser {
  background-color: var(--main-color);
  width: 100%;
  border-radius: 5px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

#UserForm input::placeholder {
  font-size: 16px;
}

#UserForm {
  display: none;
  border-radius: 5px;
  /* border: 5px solid var(--main-color); */
  background: var(--bg-user);
  color: var(--box-text);
  /*    rgba(255, 86, 33, 0.26)*/
  max-width: 95%;
  min-width: 310px;
  justify-content: center;
  align-items: center;
}

.label-form-container {
  padding: 15px 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-radius: 0;
}

.checkdiv {
  cursor: pointer;
  position: relative;
  text-align: center;
}

.checkdiv label:before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  border-radius: 3px;
  border: 2px solid #000;
  background-color: #fff;
  vertical-align: middle;
  cursor: pointer;
}

.checkdiv input[type='checkbox'] {
  visibility: hidden;
}

.checkdiv input[type='checkbox']:checked + label:before {
  background-color: var(--main-color);
  color: #fff;
  content: '\2715';
  text-align: center;
  line-height: 18px;
  font-size: 20px;
}

#upload_container {
  left: 0;
  display: none;
  position: absolute;
  top: -150px;
  height: 300px;
  width: 100%;
  padding: 20px;
  background: var(--grey);
  flex-direction: column;
}

.progress-container {
  width: 100%;
  background-color: #f3f3f3;
  margin-top: 20px;
}

.progress-bar {
  width: 0%;
  height: 20px;
  background-color: var(--main-color);
  transition: width 0.5s;
}

#upload_container div {
  display: flex;
}

#upload_container img {
  margin: 0px 5px;
  margin-top: -3px;
}

.name-container {
  display: flex;
}

.socialIcon {
  cursor: pointer;
  margin: 0px 5px;
  margin-top: 2px;
}

.classic_form h2 {
  font-weight: 100;
  font-size: 30px;
  color: floralwhite;
  font-style: italic;
  margin: 10px;
}

.close {
  position: absolute;
  top: 14px;
  right: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 40px;
  cursor: pointer;
  border: none;
  border-radius: 4px;
  width: 25px;
  height: 25px;
  overflow: hidden;
  user-select: none;
  text-align: center;
  color: #ffffff;
}

.label-container {
  position: relative;
  margin: 15px 0;
  max-width: 400px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}

.label-container label {
  position: relative;
  display: block;
  background: none;
  z-index: 1;
  font-size: 18px;
  color: var(--box-text);
  font-weight: bold;
}

#file_name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.input-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.input-container input {
  padding: 10px;
  width: 100%;
  min-width: 260px;
  box-sizing: border-box;
  min-height: 50px;
  font-size: 20px;
  background: var(--textbox-bg);
  outline: none;
  border-radius: 6px;
  outline: 2px solid var(--main-color);
  border: none;
  max-height: 140px;
  overflow: hidden;
  margin: 7px 0px;
  margin-bottom: 0px;
}

/*
.input-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border: 4px solid var(--textbox-bg);
    border-left: none;
    border-right: none;
    background: var(--grey);
    z-index: -1;
}
*/

.loading-backdrop {
  display: none; /* caché par défaut */
  position: fixed; /* fixé sur la page, indépendamment du défilement */
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5); /* fond semi-transparent noir */
  z-index: 9999; /* s'assurer qu'il s'affiche au-dessus des autres éléments */
}

.loading-indicator {
  position: absolute; /* positionné par rapport à loading-backdrop */
  top: 50%; /* centré verticalement */
  left: 50%; /* centré horizontalement */
  width: 50px;
  height: 50px;
  margin-top: -25px; /* décalage de la moitié de la hauteur */
  margin-left: -25px; /* décalage de la moitié de la largeur */
  border: 5px solid transparent;
  border-top-color: var(--main-color); /* couleur du segment supérieur */
  border-radius: 50%; /* rend le spinner rond */
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.spinner-container {
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  position: relative;
  transition: opacity 0.5s ease-in-out;
}

.spinner {
  border: 8px solid var(--grey);
  border-top: 8px solid var(--main-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.black_background {
  display: none;
  transition: 0.2s;
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.85);
  opacity: 0;
  z-index: 4;
}

.micro {
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
}

.btn_pseudo {
  font-family: var(--font-tchat);
  cursor: pointer;
  padding: 20px;
  font-size: 20px;
  background: var(--main-color);
  color: white;
  border: none;
  transition: 0.2s;
  border-radius: 6px;
  min-width: 70px;
  z-index: 10;
  line-height: 15px;
  margin: 20px;
}

.btn_validate {
  cursor: pointer;
  padding: 20px;
  font-size: 18px;
  background: var(--main-color);
  letter-spacing: 1px;
  color: white;
  border: none;
  transition: 0.2s;
  border-radius: 6px;
  height: 100%;
  max-height: 58px;
  margin-left: 10px;
  text-align: center;
  z-index: 10;
  line-height: 15px;
}

.message_components {
  opacity: 0.8;
}

/* .message_components:hover {
  opacity: 1;
} */

.btn_validate:hover {
  background: var(--main-color);
}

#send_query {
  width: 85px;
  height: 56px;
  /* Mettre une fleche */
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 610px) {
  #send_query {
    font-size: 16px;
  }

  #count_chara {
    display: none;
  }
}

@media screen and (max-width: 410px) and (min-width: 300px) {
  .textbox div {
    position: absolute;
    left: 49%;
  }

  #send_message {
    width: 42%;
  }

  #send_message {
    overflow: hidden;
    font-size: 13px;
    line-height: 30px;
  }
}

@media screen and (max-width: 430px) and (min-width: 410px) {
  .textbox div {
    position: absolute;
    left: 53%;
  }

  #send_message {
    width: 50%;
  }

  #send_message {
    overflow: hidden;
    font-size: 13px;
    line-height: 30px;
  }
}

@media screen and (max-width: 300px) {
  .textbox div {
    position: absolute;
    left: 40%;
  }

  #count_chara {
    display: none;
  }

  #send_message {
    overflow: hidden;
    font-size: 12px;
    width: 43%;
    line-height: 30px;
  }
}

@media screen and (max-width: 500px) and (min-width: 430px) {
  .textbox div {
    position: absolute;
    left: 61%;
  }

  #send_message {
    width: 54%;
  }
}

@media screen and (max-width: 350px) and (min-width: 320px) {
  .textbox div {
    position: absolute;
    left: 42%;
  }

  #count_chara {
    display: none;
  }
}

@media screen and (max-width: 320px) and (min-width: 200px) {
  .textbox div {
    position: absolute;
    left: 35%;
  }

  #count_chara {
    display: none;
  }
}

@media screen and (max-width: 600px) and (min-width: 490px) {
  .textbox div {
    position: absolute;
    left: 67%;
  }

  #send_message {
    width: 56%;
  }
}

@media screen and (max-width: 600px) and (min-width: 550px) {
  .textbox div {
    position: absolute;
    left: 69%;
  }

  #send_message {
    width: 63%;
  }
}

@media screen and (max-width: 800px) and (min-width: 700px) {
  .textbox div {
    position: absolute;
    left: 70%;
  }

  #send_message {
    width: 73%;
  }
}

@media screen and (max-width: 700px) and (min-width: 600px) {
  .textbox div {
    position: absolute;
    left: 65%;
  }

  #send_message {
    width: 65%;
  }
}

@media screen and (max-width: 800px) {
  #tchatbox {
    width: 100%;
    max-width: 100%;
    border-radius: 0px;
  }

  .tchat {
    width: 100%;
    max-width: 100%;
  }
}

@keyframes slideInFromBottom {
  0% {
    transform: translateY(-50%);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.animate {
  animation: 0.4s ease-out 0s 1 slideInFromBottom;
}

.shareLink {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  background-color: rgb(242, 242, 242);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
  width: 300px;
  display: none;
}

.shareLink input[type='text'] {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
  font-size: 16px;
}

.shareLink input[type='button'] {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  background-color: var(--main-color);
  color: white;
  cursor: pointer;
  font-size: 16px;
}

.shareLink input[type='button']:hover {
  background-color: var(--grey);
}

#closeShare {
  top: 8px;
  right: 8px;
  color: black;
  box-shadow: none;
}

.Validation {
  display: none;
  flex-direction: column;
  font-size: 20px;
  padding: 20px 10px;
  border-radius: 10px;
  position: absolute;
  text-align: center;
  background: var(--box-app);
  color: var(--box-text);
  border: 3px solid var(--main-color);
  z-index: 1000;
  max-width: 300px;
}

@media screen and (max-width: 800px) {
  #closeError {
    right: 7px;
  }
}

.Validation div {
  display: flex;
  justify-content: space-evenly;
  margin: 10px;
}

#YesValidate {
  color: white;
  background-color: var(--main-color);
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
  border: none;
  font-size: 18px;
  margin: 5px;
}

#NoValidate {
  margin: 5px;
  background-color: var(--main-color);
  color: white;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
  border: none;
  font-size: 18px;
}

#h2Share {
  text-align: center;
  font-size: 25px;
}

#BoxApp #deleteCard {
  display: none;
}

#BoxApp card h2 {
  font-size: 12px;
}

#emojis_hr {
  width: 100%;
  border: 1px solid var(--main-color);
  border-radius: 5px;
  margin: 5px;
}
