#message{
    max-width: 400px;
    max-height: 100vh;
    box-sizing: border-box;
    position: absolute;
    right: 0;
    row-gap: 7px;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    overflow-y: scroll;
    top: 0;
    z-index: 10;
}
.message{
    width: 100%;
    height: 100px;
    background-color: #171717;
    border-radius: 10px 0 0 10px;
    box-shadow: 0 0 5px 0 #000;
    box-sizing: border-box;
    padding: 10px 15px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    animation: show_massage 7000ms linear;
    cursor: context-menu;
}
@keyframes show_massage {
    0%{
        transform: translateX(100%);
    }2%{
        transform: translateX(0%);
    }
    95%{
        transform: translateX(0%);
    }
    100%{
        transform: translateX(100%);
    }
}
.message-text{
    font-family: 'iran-sans';
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    height: 100%;
    align-content: flex-start;
    overflow-y: scroll;
    overflow-x: hidden;
}
.message-text span{
    color: #00b6ff;
    font-size: 1em;
    line-height: 35px;
}

.message-text p{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    direction: ltr;
    font-size: 0.8em;
    width: 100%;
    line-height: 15px;
}

.progressbar-box{
    width: 100%;
    height: 5px;
    position: absolute;
    box-sizing: border-box;
    bottom: 0;
    right: 0;
    background-color: #fff;
    direction: rtl;
}
.progressbar{
    width: 0%;
    height: 5px;
    background-color: #00b6ff;
}
.message-img img{
    width: 50px;
    height: 50px;
}