
html, body {
    height: 100%;
    margin: 0;
    background-color: #91e5ff;
}

body {
    font-family: 'Roboto', sans-serif;
    height: auto;
}

textarea {
    font-family: 'Roboto', sans-serif;
}

h1 {
    font-size: x-large;
    font-weight: bold;
    margin: 0px;
}

h2 {
    font-size: medium;
    font-weight: normal;
    margin: 0px;
}

h3 {
    font-size: smaller;
    font-weight: lighter;
    margin: 0px;
    color: #00000088;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
}
  
/* Track */
::-webkit-scrollbar-track {
    background: transparent;
}
  
/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}
  
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}



.header-box {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    background-color: #91e5ff;
    width: calc(100%-20px);
    height: 80px;
    border-radius: 20px 20px 0px 0px;
    justify-content: end;
    padding: 10px;
}




#main-panel {
    background-color: #FFFFFFAA;
    display: flex;
    flex-direction: row;
    justify-items: stretch;
    gap: 20px;
    margin: 40px 120px;
    height: calc(100vh - 80px - 40px);
    border-radius: 40px;
    padding: 20px;
    box-shadow: 2px 2px 4px #DDDDDD;
}

.content-panel {
    background-color: #FFFFFFAA;
    border-radius: 20px;
    box-shadow: 2px 2px 4px #DDDDDD;
    flex-shrink: 0;
}





#rooms-panel {
    width: 250px;
    display: flex;
    flex-direction: column;
}

#all-rooms {
    display: flex;
    flex-direction: column;
    justify-items: stretch;
    gap: 5px;
    padding: 15px;
}

.room {
    background-color: transparent;
    border-radius: 5px;
    padding: 10px 20px;
}

.room:hover {
    background-color: #91e5ff22;
}

.chosen {
    background-color: #91e5ff33;
    box-shadow: 1px 1px 2px #DDDDDD;
}




#messages-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 15px;
    gap: 20px;
}

#type-message-panel {
    background-color: #91e5ff33;
    width: calc(100% - 40px);
    max-height: 200px;
    border-radius: 5px;
    padding: 10px 20px;
    box-shadow: 1px 1px 2px #DDDDDD;
    display: flex;
    flex-direction: row;
    gap: 20px;
}

#type-message-panel textarea {
    margin: 0px;
    padding: 10px;
    width: calc(100% - 20px);
    background-color: transparent;
    resize: none;
    border: 2px solid #FFFFFFAA;
    outline-width: 4px;
    outline-color: #FFFFFFAA;
    border-radius: 5px;
    font-size: medium;
}

#type-message-panel button {
    background-color: #FFFFFFAA;
    border: none;
    border-radius: 50%;
    box-shadow: 1px 1px 2px #DDDDDD;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

#type-message-panel button:hover {
    background-color: #FFFFFF77;
}

#type-message-panel button:active {
    background-color: #FFFFFF44;
}

#send-logo {
    width: 20px;
    height: 20px;
    color: #00000088;
}

#all-messages {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
    gap: 10px;
}

.message {
    max-width: 70%;
    display: flex;
    flex-direction: column;
    padding-bottom: 2px;
    overflow-wrap: anywhere;
}

.message h2 {
    background-color: #91e5ff33;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 1px 1px 2px #DDDDDD;
}

.left {
    align-self: flex-start;
}

.right {
    align-self: flex-end;
    margin-right: 5px;
}

.right h3 {
    text-align: right;
}

.status {
    align-self: center;
    text-align: center;
    max-width: 70%;
    overflow-wrap: anywhere;
}







#members-panel {
    width: 250px;
    display: flex;
    flex-direction: column;
}

#all-members {
    display: flex;
    flex-direction: column;
    justify-items: stretch;
    gap: 5px;
    margin: 15px;
    padding-bottom: 5px;
    overflow-y: scroll;
}

.member {
    background-color: transparent;
    border-radius: 5px;
    padding: 10px 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-right: 5px;
}

.member h2 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.you {
    background-color: #91e5ff33;
    box-shadow: 1px 1px 2px #DDDDDD;
}