@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&display=swap');

body
{
    background: linear-gradient(45deg , rgba(10,10,10,0.5),rgba(10,10,10,0.5)),url("bg.png");
    background-size: cover;
    background-position: center center;
    
}

#textInput
{
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 80%;
    height: 10vh;
    background: rgb(64, 66, 73);
    border: none;
    border-radius: 10px;
    outline: none;
    font-size: 20px;
    color: white;
}

#pushButton
{
    width: 150px;
    height: 10vh;
    background: rgb(88,101,242);
    color: white;
    font-size: 55px;
    border: none;
    border-radius: 10px;
    position: absolute;
    bottom: 10px;
    left: calc(80% + 10px + 30px);
    transition: 0.3s;
}

#pushButton:hover
{
    background: rgb(76, 87, 208);
    cursor: pointer;
}

#messageList
{
    width: calc(80% + 30px + 150px);
    height: 80vh;
    position: absolute;
    left: 10px;
    top: 10px;
    border-radius: 10px;
    background: rgba(64, 66, 73, 0.362);
    text-align: left;
    overflow-y: auto;
}

#clearbtn
{
    width: 100px;
    height: 45px;
    background: red;
    color: white;
    font-size: 20px;
    border-radius: 10px;
    border: none;
    outline: none;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    transition: 0.3s;
}

#clearbtn:hover
{
    background: rgb(203, 1, 1);
}




#fileinp::-webkit-file-upload-button
{
    width: 100px;
    height: 45px;
    background: rgb(0, 35, 209);
    color: white;
    font-size: 15px;
    border-radius: 10px;
    border: none;
    outline: none;
    cursor: pointer;
    position: absolute;
    top: 100px;
    right: 10px;
    transition: 0.3s;
    content: ' ';

}



#fileinp:hover
{
    background: rgb(28, 76, 250);
}


#msgbox
{
    width:calc(fit-content + 50px );
    height: fit-content;
    overflow-wrap: break-word;
    padding: 10px;
    text-align: left;
    background: rgba(49, 51, 56, 0.573);
    border-radius: 10px;
    margin: 30px;
    color: white;
    font-family: "Exo 2", sans-serif;
}

#msg > h1
{
    font-size: 20px;
    position: absolute;
    top:0px;
    left: 0px;
}

::-webkit-scrollbar
{
    width: 10px;
    background: transparent;
}

::-webkit-scrollbar-track
{
    background: transparent;
}
::-webkit-scrollbar-thumb
{
    background:#5865f2;
    border-radius: 10px;
}