@import url('https://fonts.googleapis.com/css2?family=DM+Sans&family=Roboto&family=Poppins:wght@300&display=swap');
@import "https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css";
html,body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', "Roboto", Helvetica, Arial, sans-serif;
  height: 100%;
  overflow: hidden;
}

.top{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top p{
  font-size: 10px;
}
.room-image{
  border-radius: 50%;
  margin-left: 20px;
  box-shadow: 0px 10px 13px -7px rgba(0, 0, 0, 0.493);
}
.functional-img{
  transform: scale(1);
  transition: 0.1s;
}
.functional-img:hover{
  transform: scale(1.3);
}
.room-text{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.room-options button{
  border-radius: 50%;
  cursor: pointer;
  transition: 0.25s;
  padding: 10px;
  margin: 5px;
  transform: scale(1);
}
.room-options button:hover{
  background-color: rgb(224, 224, 224);
  color: rgb(0, 0, 0);
  transform: scale(1.1);
}
.windows{
  display: flex;
  height: 100%
}
.grplist{
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  background-color: rgb(250, 250, 250);
  padding: 5px;
}
.grplist button{
  border-radius: 50%;
  cursor: pointer;
  transition: 0.25s;
  padding: 10px;
  margin: 5px;
  transform: scale(1);
}
.grplist button:hover{
  background-color: rgb(50, 216, 0);
  color: white;
}
.grp-image{
  border-radius: 50%;
  margin: 5px 10px;
  box-shadow: 0px 10px 13px -7px rgba(0, 0, 0, 0.493);
  cursor: pointer;
  min-width: 50px;
  min-height: 50px;
  max-width: 60px;
  max-height: 60px;
  transition: 0.2s;
}
.grp-image:hover{
  transform: scale(0.7)
}

button{
  border: none;
  margin: 0;
  padding: 0;
  width: auto;
  background: transparent;
  color: inherit;
  line-height: normal;
}
/* tooltip */
[tt] {
  position: relative;
}

@keyframes tt {
  0% {
    outline-color: transparent;
    background-color: rgba(0, 0, 0, 0.911);
  }

  50% {
    outline-color: rgba(255, 255, 255, 0.452);
  }

  100% {
    outline-color: transparent;
    background-color: rgba(0, 0, 0, 0.911);
  }
}

[tt]::after {
  position: absolute;
  /* width: 220px; */
  width: 180px;
  left: calc(50% - 90px);
  background-color: rgba(255, 0, 0, 0.911);
  bottom: -50px;
  box-shadow: -5px -1px 45px 21px rgba(0, 0, 0, 0.021);
  text-align: center;
  box-sizing: border-box;
  /* padding: 10px; */
  padding: 8px;
  border-radius: 10px;
  font-size: 0.5em;
  content: "Setup: Display position is not defined. (Specify down or top in html)";
  font-weight: 500;
  transform: translateY(50px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, transform 0.5s;
  outline: 0.1px transparent double;
  animation: tt 1s ease reverse infinite;
  color: white;
  z-index: 999;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', "Roboto", Helvetica, Arial, sans-serif;
  /* animation: hoverBtn 1s ease reverse infinite; */
}

.chatwindow{
  display: flex;
  width: 100%;
}
.mainwindow{
  display: flex;
  flex-direction: column;
  width: 100%;
}
.my-msg{
  display: flex;
  flex-direction: column;
  align-self: flex-end;
  margin: 5px;
  font-size: 10px;
}
.my-msg msg{
  background-color: rgb(86, 86, 255);
  border-radius: 10px;
  padding: 10px 12px;
  color: white;
  font-size: 15px;
}
.other-msg{
  display: flex;
  flex-direction: column;
  align-self: flex-start;
  margin: 5px;
  font-size: 10px;
}
.other-msg msg{
  background-color: rgb(245, 245, 245);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 15px;
}
.typingwindow{
  position: fixed;
  bottom: 0;
  /* background-color: blue; */
  width: 95vw;
  display: flex;
  /* justify-content: space-between; */
}
.typingwindow button{
  border-radius: 50%;
  cursor: pointer;
  transition: 0.25s;
  padding: 10px;
  margin: 5px;
  transform: scale(1);
}
.typingwindow input{
  all: unset;
  transition: 0.25s;
  margin-left: 20px;
  width: 84vw;
}
.typingwindow button:hover{
  transform: scale(1.2);
  background-color: rgb(245, 245, 245);
}
.send-btn{
  position: fixed;
  right: 0px;
}

[tt]:hover::after {
  opacity: 1;
  visibility: visible;
  /* transform: translateY(10px); */
  /* TOP: transform: translateY(-80px); */
  /* BOTTOM: transform: translateY(10px); */
}

[dn]:hover::after {
  transform: translateY(10px);
  content: attr(tt);
  background-color: rgba(0, 0, 0, 0.911);
  font-size: 0.4em;
}
[rt]:hover::after {
  transform: translateX(120px) translateY(-55px);
  content: attr(tt);
  background-color: rgba(0, 0, 0, 0.911);
  font-size: 0.4em;
}

[tp]:hover::after {
  transform: translateY(-100px);
  content: attr(tt);
  background-color: rgba(0, 0, 0, 0.911);
  font-size: 0.4em;
}