body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #1e1e1e;
    overflow: hidden;
}

#header {
    width: 100vw;
    height: 5vh;
    background-color: #222;
    display: flex;
    overflow: hidden;
    border: 2px solid #333;
    align-items: center;
    justify-content: left;
    gap: 10px;
    padding: 4px;
}

#cont {
    height: 90vh;
    color: white;
    display: flex;
    overflow: hidden;
}

#list {
    height: 85vh;
    width: 20vw;
    overflow-y: auto;
    border: 1px solid #333;
    padding: 10px;
    /*margin-bottom: 10px;*/
    background-color: #1e1e1e;
    display: flex;
    flex-direction: column;
}

#metachat {
    height: 85vh;
    width: 80vw;
    overflow-y: auto;
    border: 1px solid #333;
    /*padding: 10px;*/
    background-color: #1e1e1e;
    /*display: flex;
    flex-direction: column;*/
    /*padding-bottom: 60vh;*/
    word-wrap: break-word;
    overflow-x: hidden;
    overflow-y: hidden;
    display: flex;
    flex-direction: column; 
}

#chat {
    height: 85vh;
    width: 80vw;
    overflow-y: auto;
    border: 1px solid #333;
    /*padding: 0px;*/
    background-color: #1e1e1e;
    /*display: flex;
    flex-direction: column;*/
    /*padding-bottom: 60vh;*/
    word-wrap: break-word;
    overflow-x: hidden;
    overflow-y: visible;
}

.message {
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

#input {
    /*position: fixed;*/
    bottom: 0;
    left: 0;
    height: 6vh;
    right: 0;
    padding: 6px;
    background: white;
    border-top: 1px solid #333;
    border-radius: 45px;
    display: flex;
}

#msginput {
    /*min-height: 40px;
    max-height: 150px;*/
    width: 90vw;
    resize: none;
    overflow-y: auto;
    white-space: pre-wrap;
    border: none;
    background: none;
}

#sendb {
    width: 5vw;
    padding: 8px 15px;
    background-color: #0066cc;
    color: white;
    text-align: center;
    
    border: none;
    border-radius: 45px;
    cursor: pointer;
}


.chatbutton {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    width: 100%;
    text-align: left;
    border: 2px solid #1e1e1e;
    border-radius: 6px;
    background: none;
    cursor: pointer;
    border-bottom: 1px solid #333;           
}

.chatbutton:hover {
    border: 2px solid #0066cc;
}



.button {
    display: inline-block;
    text-align: center;
    background-color: white;
    color: black;
    border-color: black;
    border: 2px solid;
    border-radius: 14px;
    padding: 12px 30px;
    text-decoration: none;
}

.button:hover {
    background: rgb(200, 200, 200);
}

.button:active {
    transform: translateY(2px);
}

.enter {
    display: inline-block;
    text-align: center;
    background-color: white;
    color: black;
    border-color: black;
    border: 2px solid;
    border-radius: 14px;
    padding: 12px 30px;
    text-decoration: none;
    font-family: inherit;
}

.menu {
    display: inline-block;
    text-align: center;
    background-color: white;
    color: white;
    border-color: white;
    border: 2px solid;
    border-radius: 20px;
    padding: 12px 30px;
    text-decoration: none;
    font-family: inherit;
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: fit-content;
    box-shadow: 0 0 16px gray;
}

.notify {
    border-radius: 10px;
    border: 1px solid;
    padding: 3px 3px;
    background-color: #0066cc;
}

.menubtn {
    text-align: end;
    background: none;
    color: #888;
    font-size: large;
    border: 2px solid;
    border-color: #444;
    border-radius: 45%;
}

.menubtn:hover {
    border-color: #0066cc;
}

#settings {
    width: 80vw;
    height: 95vh;
    display: flex;
    flex-direction: column;
    place-items: center;
    background-color: #222;
    justify-self: center;
}

#profilepic {
    background-color: #333;
    border-radius: 45%;
    border: 2px solid #444
}

.settbtn {
    border: 2px solid #333;
    background-color: #222;
    border-radius: 6px;
    margin-top: 4vh;
    color: #999;
    text-align: center;
    padding: 10px;
    font-size: large;
}

.settbtn:hover {
    border: 2px solid #444;
}

#nickname {
    color: #999;
    text-align: center;
    border-bottom: 2px solid #333;
    font-size: large;
    background: none;
}

#username {
    color: #555;
    text-align: center;
    font-size: large;
    background: none;
    margin-top: 2px;
}