*{ 
    box-sizing: border-box;
    
}
body,html{ 
    padding: 0;
    margin: 0;
}

.container{ 
    width: 100%;
    background-color: black;
    height: 100vh;
}
.header{ 
    width: 100%;
    background-color: rgb(46, 45, 45);
    position: fixed;
    top: 0;
    padding: 0 1%;
    z-index: 1;
    
}
.header > .flex{ 
    display: flex;
    justify-content: space-between;
    width: 100%;
    
}
.header > .flex .mini:nth-child(2){ 
    margin-top: 20px;
   margin-left: 60%;
    
}
.header > .flex .mini{ 
    width: 100%;
    /* background-color: red; */
}
.header > .flex .mini ul{ 
    width: 100%;
    position: relative;
    
}
.header > .flex .mini ul li{ 
    
    text-transform: capitalize;
    color: white;
    padding: 0 5%;
    font-weight: bold;
    font-size: 20px;
    cursor: pointer;
    display:inline;
    list-style-type: none;
}
.header > .flex .mini ul li img{ 
    width: 50px;
    height: 50px;
    border-radius: 100%;
    margin-bottom: -10px;
}

.footer{ 
    position: fixed;
    bottom: 0;
    padding:2% 5%;
    width: 100%;
}
.footer > .flex {  
    width: 80%;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    
}
.footer > .flex span{ 
    color: grey;
    margin-top: 10px;
    /* background-color:rgb(46, 45, 45);
    padding:1%; */
    border-radius:20px;
    position: absolute;
    font-size: 20px;
    text-align: center;
    transition: 750ms all ease;
    cursor: pointer;
}
.footer > .flex span:nth-child(1){ 
    /* top: 0; */
    left: 20px;
    bottom: 6px;
}
.footer > .flex span:nth-child(2){ 
    right: 20px;
    top: 0;
    
}
.footer > .flex span:nth-child(3){ 
    right: 60px;
    top: 0;
    
}
.footer > span{ 
    position: absolute;
    border-radius:20px;
    position: absolute;
    font-size: 20px;
    color: white;
    background-color: rgb(8, 146, 89);
    padding: 10px;
    right: 130px;
    top: 25px;
    cursor: pointer;
    transition:0.005s;
}

.footer > .flex input{ 
    width: 100%;
   
    padding: 1% 50px;
    border-radius: 20px;
    border: none;
    background-color:rgb(46, 45, 45) ;
    color: white;
    margin: 0 auto;
}
.footer > .flex input:focus{ 
    outline: none;
}
.footer > .flex input::placeholder{ 
    color:rgb(112, 105, 105);
    text-transform: capitalize;
    font-size: 16px;
}

.dialogue{ 
    position: absolute;
    /* top: 0; */
    bottom: 15%;
    overflow: hidden;
    overflow-y: scroll;
    width: 100%;
    /* height:100%; */
    color: white;

}
.dialogue::-webkit-scrollbar{ 
    background-color: transparent;
}

.dialogue::-webkit-scrollbar-thumb{ 
    background-color: grey;
    border-radius: 20px;
}
.chatbox{ 
    position: relative;
    width: fit-content;
    padding: 10px 90px 10px 20px;
    background-color:rgb(8, 146, 89);
    margin: 0.3% 0;
    border-radius: 20px;
    left: 80%;
    color: white;
    font-size: 20px;
    
}
.chatbox>span{ 
    position: absolute;
    bottom: 0;
    right: 5px;
    color:lightblue;
    font-weight: bold;
    
}
.chatbox>span:nth-child(1){ 
    color: rgb(90, 85, 85);
    color: rgb(228, 220, 220);
    font-size: small;
    right: 30px;
}


.receiver{ 
    /* float: right; */
   
    bottom: 0;
    margin: 2% 0;
    background-color: rgb(46, 45, 45);
    left: 5%;
}


.chatbox::before{ 
    content: "";
    position: absolute;
    border: 15px solid red;
    top: 0;
    left: -8px;
    border-color: transparent rgb(8, 146, 89) transparent transparent;
    rotate: 270deg;
    border-radius: 5px;
}
.receiver::before{ 
   
    border-color: transparent rgb(46, 45, 45) transparent transparent;
     
}
@media all and (max-width:880px){ 
    .header > .flex .mini ul li img{ 
        width: 30px;
        height: 30px;
        border-radius: 100%;
       
    }
    .footer > .flex{ 
        left: -10%;
    }
    .footer > .flex input{ 
        padding: 3% 15%;
    }
    .header > .flex .mini{ 
        margin-top: 20px;
    }
  
    .header > .flex .mini:nth-child(2){ 
        /* margin-left: 10%; */
        margin-left: 0;
    }
    .header{ 
        padding: 0;
    }
    .footer > span{ 
        right: 20px;
        top: 10px;
    }
    .chatbox{ 
        left: 40%;
    }
    .receiver{ 
        left: 5%;
    }
  
}

