:root {
  --chatboxH: 45px;
  --headerH: 55px;
  --paddingF: 10px;
}

.messageBox .textA {
  position: relative;
  width: 100%;
  height: 100%;
}

#message {
  resize: none;
  padding: 8px 16px;
  border-radius: 20px;
  border: none;
  background: rgb(230, 227, 255);
  outline: none;
  color: rgb(5, 5, 230);
  width: 100%;
  font-size: 17px;
  position: absolute;
  width: 100%;
  bottom: 0;
}

.button-s1 {
  width: 40px;
  padding: 5px;
  border-radius: 6rem;
  border: none;
  background: transparent;
  outline: none;
  color: rgb(5, 5, 230);
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.button-s1 span {
  font-size: 26.6666666667px !important;
}

#genMeetLink a {
  color: rgb(5, 5, 230);
}

.messageBox {
  /* background-color: transparent; */
  position: fixed;
  bottom: 52px;
  left: 0;
  right: 0;
  width: 100%;
  /* height: calc(var(--chatboxH) + 5px); */
  /* display: flex; */
  /* align-items: center;
  justify-content: center; */
  padding: 7px 27px;
  max-width: 1320px;
  margin: auto;
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  border-radius: 12px;

}

.nameAlert {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 130px;
  border-radius: 20px;
}

.chatArea {
  height: calc(100vh - var(--chatboxH));
  width: 100%;
  overflow-y: scroll;
}

.prof {
  width: 40px;
  height: 40px;
  margin: auto 10px 0 10px;
  background: #4CAF50;
  color: white;
  font-weight: 700;
  text-align: center;
  border-radius: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.messArea {
  display: grid;
  grid-row-gap: 10px;
  font-size: 14px;
}

#sname {
  margin-left: 11px;
  margin-bottom: -6px;
  color: rgb(87, 87, 87);
}

.message {
  display: flex;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 40rem;
  margin-bottom: 35px;
}

.otherM {
  margin-right: auto;
}

.mMess {
  margin-left: auto;
  overflow: hidden;
}

.mMess .messArea .textM {
  background-color: green;
  color: white;
  margin-left: auto;
  transition: 0.6s cubic-bezier(0.07, 0.76, 0.13, 1.02);
}

.newMmess {
  transform: translateY(100px) scale(3);
}

.otherM .messArea .textM {
  background-color: white;
}

.mMess .messArea .textM a {
  color: white;
}

.messArea .textM a {
  font-weight: 500;
}

.message .textM {
  color: white;
  background-color: red;
  width: -moz-fit-content;
  width: fit-content;
  border-radius: 10px;
  padding: 10px;
  /* box-shadow: 0px 5px 8px 5px rgba(0, 0, 0, 0.03); */
  font-size: 17px;
}

.welcomeMess {
  text-align: center;
  margin-top: var(--headerH);
}

.welcomeMess h1 {
  font-weight: 600;
  font-size: 24px;
}

.welcomeMess .img video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.welcomeMess .img {
  width: 4rem;
  border-radius: 10%;
  overflow: hidden;
  height: 4rem;
  margin: auto;
}

.shareLink {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -80%);
  padding: 2rem;
  background-color: white;
  text-align: center;
  border-radius: 15px;
  transition: 0.4s;
  display: none;
  opacity: 0;
  z-index: 2;
}

.shareLink button {
  font-weight: 600;
  color: blue;
  width: 6rem;
  margin-top: 5px;
  border-radius: 11px;
  height: 2rem;
  border: none;
  background: rgb(230, 227, 255);
}

.shareLink h1 {
  font-weight: 500;
}

.headerDet {
  width: 100%;
  height: var(--headerH);
  position: fixed;
  top: 0;
  background-color: white;
  box-shadow: 0px 5px 8px 5px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  padding: 10px;
  transition: top 0.5s;
}

.moveTop {
  top: -100px;
}

.headerDet .img {
  overflow: hidden;
  width: calc(var(--headerH) - 15px);
  height: calc(var(--headerH) - 15px);
  border-radius: 100%;
}

.chatDety {
  display: flex;
  align-items: center;
  flex: 1;
}

.headerDet .chatDety .img video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.headerDet .chatDety,
.nameC p,
input {
  margin-left: 15px;
  font-weight: 500;
  font-size: 18px;
}

.nameC {
  position: relative;
  width: 193px;
}

#titleFirst {
  width: 221px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.headerDet .chatDety .nameC input {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-2px, -2px);
}

.headerDet .tools {
  display: grid;
  grid-template-columns: auto auto;
  grid-column-gap: 10px;
}

.headerDet .tools button {
  background: transparent;
  border: none;
  outline: none;
  transition: 0.5s;
}

#goToDown {
  height: 35px;
  position: fixed;
  bottom: var(--chatboxH);
  right: 0;
  margin-right: 12px;
  width: 35px;
  transition: 0.5s;
}

.downDowny {
  bottom: -70px !important;
}

#goToDown span {
  cursor: pointer;
  font-size: 30px;
}

.showItem {
  transform: translate(-50%, -50%);
  opacity: 1;
}

.blackout {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: 0.5s;
  z-index: 1;
}

.blackShow {
  opacity: 1;
}

.clickSettings {
  transform: rotate(180deg);
}

.changeW {
  transition: 0.7s;
}

.clickSettingsCont {
  width: 75%;
}

.settingsBar {
  position: absolute;
  right: 0;
  top: 0;
  z-index: -1;
  height: 100%;
  overflow: hidden;
  width: 25%;
  transform: translateX(400px);
  transition: 0.67s;
  padding: 46px 10px 0px 10px;
  overflow-y: scroll;
}

.blueTarget {
  color: blue;
}

.clickSettingsBar {
  transform: translateX(0px);
}

.settingsBar .headerSet {
  border-bottom: 1px solid rgb(199, 199, 199);
  padding-bottom: 19px;
  margin-bottom: 15px;
}

.errorsSide {
  position: absolute;
  bottom: 80px;
  right: 30px;
}

.errorsSide .bubble {
  background: rgba(255, 0, 0, 0.7);
  color: white;
  padding: 10px;
  border-radius: 12px;
  width: 20rem;
  opacity: 0;
  transition: 1s;
  transform: translateY(50px);
  display: none;
  margin-bottom: 10px;
  z-index: 3;
}

.errorsSide #errorBubble {
  background: rgba(255, 0, 0, 0.7);
}

.errorsSide #tipsBubble {
  background: rgba(47, 0, 255, 0.7);
}

.errorsSide .bubble h1 {
  font-size: 20px;
  display: flex;
  align-items: center;
}

.errorsSide .bubble span {
  margin-right: 10px;
}

.errorsSide .bubble p {
  margin-right: 10px;
}

.bubbleAfter {
  opacity: 1 !important;
  transform: translateY(0px) !important;
}

.bubbleGone {
  opacity: 0 !important;
  transform: translateY(-50px) !important;
}

.timeId {
  text-align: center;
  margin: 12px;
  font-size: 13px;
}

::-webkit-scrollbar {
  width: 15px;
  height: 15px;
  border-left: #ededed solid 1px;
  background-color: #fcfcfc;
  border-top: #ededed solid 1px;
}

::-webkit-scrollbar-thumb:hover {
  cursor: pointer;
  background: #c7c7c7;
  width: 15px;
  background-clip: content-box;
  border: 4px solid transparent;
  border-radius: 10px;
}

::-webkit-scrollbar-button {
  display: none;
}

::-webkit-scrollbar-thumb {
  background: #dbdbdb;
  background-clip: content-box;
  border: 4px solid transparent;
  border-radius: 10px;
}

.online-circle {
  height: 30px;
  width: 30px;
  border-radius: 50%;
  background: green;
}
