body{
 /*    background-image: linear-gradient(
        23deg,
        hsl(49deg 100% 69%) 0%,
        hsl(16deg 100% 69%) 0%,
        hsl(330deg 81% 34%) 12%,
        hsl(259deg 100% 15%) 50%,
        hsl(49deg 100% 69%) 0%,
        hsl(49deg 100% 69%) 0%,
        hsl(49deg 100% 69%) 0%
    ); */
    background: linear-gradient(to bottom,  #550303,rgb(104, 5, 99),  rgb(53, 2, 58));
    height: 100vh;
}
.chat-header{
    font-family: 'Times New Roman', Times, serif;
}
.button{
    border: none;
    padding: 0.625em;
    border-radius: 0.5em;
    cursor: pointer;
}
.button:hover{
    filter: brightness(0.9);
}
.button:active{
    transform: translateY(2px);
    background: #800520;
}

.person-selector{
    display: flex;
    justify-content: center;
    gap: 1em;
    margin: 3em auto 1em;
    max-width: 40em;
}
.person-selector button{
width: 100%;
background-color: rgb(49, 5, 15);
color: #fff;
font-size: 1.1em;
}
.active-person{
    background: rgb(84, 84, 241);
    box-shadow: 0.1em 0.1em rgb(84, 77, 77);
}
.chat-container{
    background: #3a022a;
    font-family: 'Roboto', sans-serif;
    border-radius: 0.5em;
    padding: 0.5em 1.25em;
    margin: auto;
    max-width: 37.5em;
    height: 37.5em;
    box-shadow: 0 0 1.25em 0.5em rgb(22, 22, 22);
}
.chat-header{
    margin-bottom: 1em;
    color: #fff;
}
.chat-header h2{
    font-size: 1.25em;
    font-weight: bold;
}
.chat-message{
    height: 23em;
    overflow-y: scroll;
}
.chat-message::-webkit-scrollbar{
    display: none;
}
.message {
    padding: 0.625em;
    border-radius: 1em;
    margin-bottom: 0.625em;
    display: flex;
    flex-direction: column;
    color: #fff;
}
.message-sender{
    font-weight: 700;
    margin-bottom: 0.31em;
}
.message-text{
    font-size: 1em;
    margin-bottom: 0.31em;
    word-wrap: break-word;
}
.message-timestamp{
    text-align: right;
    font-size: 0.75em;
}
.blue-bg{
    background-color: #3b295f;
}

.gray-bg{
    background-color: #3c3b3b;
}
.chat-input-form{
    display: flex;
    align-items: center;
    margin-top: 2em;
    gap: 0.450em;
}

.chat-input{
    padding: 0.625em;
    border: none;
    border-radius: 0.5em;
    background-color: #01101e;
    color: #ffff;
    font-size: 1em;
    flex-grow: 1;
}
.send-button{
    background-color: #0f355a;
    font-size: 1.1em;
    border-radius: 20%;
    font-weight: 800;
}

.clear-chat-button{
    display: block;
    margin: 2.5em auto;
    background-color: #3c0942;
    color: #fff;
}