
:root {
  --chat-triangle-size: 10px;
}

.alert-wrapper{
    position: relative;
    overflow-x: hidden;
    overflow-y: hidden;
    z-index: 10;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    /* animation: alert-cycle 3s ease-in-out 1s forwards; */
    height: 0px;
}

@keyframes alert-cycle{
  0%{
      height:0;
  }
  10%{
      height:35px;
  }
  90%{
      height:35px;
  }
  100%{
      height:0;
  }
}

.alert-small{
    background: #ef525b;
    padding: 5px 15px;
    color: white;
    width: 220px;
}

.hide{
  display: none !important;
}

div .message-wrapper{
    overflow: auto;
    margin-bottom: 0;
}

.chat-wrapper{
    position: relative;
    left: -20px;
}

.message{
    padding:10px 20px;
   /* min-width:75%;*/
  margin:0 10px 20px 10px;
  border-radius:5px;
  max-width:80%;
  display: inline-block;
  position: relative;
}


.message::after {
    width: 0;
    height: 0;
    border-left: var(--chat-triangle-size) transparent solid;
    position: absolute;
    border-right: var(--chat-triangle-size) transparent solid;
    content: "";
    bottom: 0;
}

#messenger{
    margin-bottom: 20px;
    max-height: calc(100vh - 150px);
    overflow-y: scroll;
    width: calc(100% + 30px);
    padding-right: 30px;
}

.user-message{
  background-color:rgba(248, 228, 228, 0.77);
  float:left;
}

.user-message::after{
    border-bottom: var(--chat-triangle-size) rgba(248, 228, 228, 0.77) solid;
    left: calc(0px - var(--chat-triangle-size));
}

.my-message{
  background-color:rgb(83, 142, 166);
  color:white;
  float:right;
}

.my-message::after{
    border-bottom: var(--chat-triangle-size) rgb(83, 142, 166) solid;
    right: calc(0px - var(--chat-triangle-size));
}

.message_right_triangle {
  width: 0;
  height: 0;
  border-top: var(--chat-triangle-size) #e93f76 solid;
  border-left: var(--chat-triangle-size) transparent solid;
  position: relative;
  right: calc(0 - var(--chat-triangle-size));
  border-right: var(--chat-triangle-size) transparent solid;
  float:right;
  margin-bottom: calc(0 - var(--chat-triangle-size));
}

.message_left_triangle {
  width: 0;
  border-top: var(--chat-triangle-size) #e93f76 solid;
  border-left: var(--chat-triangle-size) transparent solid;
  position: relative;
  left: calc(0 - var(--chat-triangle-size));
  border-right: var(--chat-triangle-size) transparent solid;
  margin-bottom: calc(0 - var(--chat-triangle-size));
}

.chat {
  min-width:75%;
  background-color:#f2f5f8;
  /*height:200px;*/
  float:right;
  margin:40px 0 0 0;
  border-radius:20px;
  max-width:80%;
  /*padding:30px 0;*/
}

.chatInput {
    position: absolute;
    bottom: 0;
    padding-bottom: 50px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
}

.box{
    background-color: aliceblue;
    display: flex;
    justify-content: center;
    position: absolute;
    align-items: center;
    border-radius: 10px;
    transition: 0.7s ease;
    cursor:pointer;
    color:white;
    font-weight: bold;
    font-family: 'Arial';
    font-size: 14px;
}

.box:hover{
  transition: 0.7s ease;
  border-radius: 20px;
  font-size: 18px;
}

#playground{
    background-color: white;
    width: calc(100% - 40px);
    height: calc(100vh - 40px);
    position: relative;
    margin: 20px;
    border-bottom: solid 5px lightgrey;
    overflow: hidden;
}

.circle_background{
    background-color:rgba(248, 228, 228, 0.77);
    width:100%;
    height:100%;
    position: relative;
    top:50%;
    border-radius: 30%;
}

html,
body {
  overflow: hidden;
}

.unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}