
/*-------------------*\

        COLORS

\*-------------------*/

:root {
    --dark-background:  rgb(56, 56, 56);
    --typemsg: rgb(15, 15, 15);
}

/*-------------------*\

        TEXT

\*-------------------*/

.nav-title {
    text-align: center;
}

.message-info {
    position: sticky;
    margin: 0;
    margin-left: auto;
    margin-right: auto;
    z-index: 1000;
    padding: 10px;
    top: 0;
    background-color: rgba(0, 0, 0, 0.532);
    backdrop-filter: blur(5px);
    display: table;
    width: 100%;
    
}

.name {
    font-weight: bolder;

}

.status {
    color: rgb(198, 198, 198);
    font-size: 12px;

}

.name {
    font-weight: bold;
    user-select: none;
}

/*-------------------*\

        PAGE

\*-------------------*/

* {
    font-family: 'Montserrat', sans-serif;
    color: white;
}

.messaging-window{
    text-align: left;
    font-size: 14px;
    max-width: 100%;
    height: 685px;
    border: 2px solid black;
    position: relative;
    margin-left: 330px;
    margin-bottom: 130px;
    padding: 20px;
    z-index: 998;
    overflow-y: scroll;
}

.type-message {
    bottom: 0;
    border-radius: 10px;
    width: 93%;
    background-color: var(--typemsg);
    border: 2px solid black;
    position: absolute;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 10px;
    outline: none;
    resize: none;
    position: sticky;
    color: white;
}

.left-message {
    text-align: center;
    border-radius: 20px;
    background-color: rgb(57, 58, 64);
    max-width: 400px;
    padding: 1px;
    margin-bottom: 35px;
    color: white;
    margin-left: auto;
    cursor: pointer;
}

.right-message {
    text-align: center;
    border-radius: 20px;
    background-color: rgb(65, 84, 254);
    max-width: 400px;
    padding: 1px;
    margin-bottom: 35px;
    color: white;
    margin-right: auto;
    cursor: pointer;
}

body {
    background-color: black;
    overflow: hidden;
}

.typing-block {
    position: sticky;
    margin-left: auto;
    margin-right: auto;
    z-index: 1000;
    padding: 10px;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.532);
    backdrop-filter: blur(5px);
    display: flex;


    
}

/*-------------------*\

        FUNCTIONS

\*-------------------*/

.person-list {
    border-right: 2px rgb(255, 255, 255) solid;
    color: white;
    position: fixed;
    min-width: 300px;
    top: 0px;
    left: 0px;
    width: 330px;
    height: 100%;
    justify-content: center;
    z-index: 999;
    overflow-y: scroll;
}

ul {
    list-style: none;
    margin-right: auto;
    margin-left: auto;
    padding: 15px;
}

.person-link {
    padding: 10px;
    background-color: var(--dark-background);
    border-radius: 20px;
    cursor: pointer;
}

.person-link:hover {
    background-color: rgb(66, 66, 66);
    transition-duration: 300ms;
}

.person-link:active {
    background-color: rgb(81, 81, 81);
    transition-duration: 300ms;
}

.messaging-title {
    text-align: left;
    font-weight: bolder;
}


.searchbar {
    border-radius: 25px;
    background-color: var(--dark-background);
    border: 1px solid var(--dark-background);
    margin-right: auto;
    margin-left: auto;
    padding: 15px;
    outline: none;
    margin: 5px;
    color: white;
}

.searchbar:active {
    background-color: rgb(156, 154, 154);
    transition-duration: 300ms;
}

.material-symbols-outlined {
    user-select: none;
    display: inline-block;
    margin: 0 auto;
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 48
}

.search-btn {
    text-align: center;
    border-radius: 50px;
    background-color: var(--dark-background);
    padding: 10px;
    color: white;
    cursor: pointer;
}

.search-btn:active {
    background-color: rgb(69, 69, 69);
    transition-duration: 100ms;
}

.send-btn {
    text-align: center;
    border-radius: 1px;
    padding: 9px;
    color: white;
    bottom: 5;
    position: absolute;
    right: 0;
    margin-right: 6px;
    margin-left: 1px;
    margin-bottom: 10px;
    cursor: pointer;
}

.message-preview {
    font-weight: thin;
    user-select: none;
}

