.container-margin{
    margin-top: 6rem;
}
.message-input-box{
    position: fixed;
    bottom: 0;
    z-index: auto;
}
.input-form{
    width: 70%;
}
.messages{
    flex-basis: 70%;
}
.messages-box{
    height: 580px;
    overflow-y: auto;
    overflow-x: hidden;
}
#message-input{
    border: 1px solid white;
}
.message{
    width: fit-content;
    max-width: 75%;
    height: fit-content;
    border-radius: 0 0.5rem 0.5rem 0.5rem ;
}
.me{
    margin: 0 0 0 auto;
}
.me div{
    border-radius: 0.5rem 0 0.5rem 0.5rem ;
}
.message-img {
    position: relative;
    top: -25px;
}
.members{
    flex-basis: 25%;
}

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    border-radius: 0 0.5rem 0.5rem 0;
}
::-webkit-scrollbar-thumb {
    background: #1a1a1a;
    border-radius: 0 0.5rem 0.5rem 0;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 0, 0, 0.5);
}
@media screen and (max-width: 991px) {
    .messages{
        flex-basis: 100%;
    }
    .input-form{
        width: 100%;
    }
    .container-margin{
        margin-top: 5rem;
    }
    .members{
        display: none !important;
    }
    .profile {
        margin-top: 0.5rem;
        border: 1px solid var(--first);
        padding: 0.5rem;
    }
    .custom-btn-container {
        display: flex;
    }
    .wavy{
        -webkit-box-reflect: unset;
    }
    .custom-btn{
        width: 25%;
    }
    .search{
        margin: 0.5rem 0 !important;
    }
}
@media screen and (max-width: 500px) {
    .custom-btn-container {
        flex-direction: column;
    }
    .custom-btn {
        width: 100%;
        -webkit-box-reflect: unset;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
}