* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    height: 100%;
    width: 100%
}

body {
    color: white;
    font-size: 30px;
    padding: 30px;
    background-color: #111;
    font-family:monospace;
    letter-spacing: -.2px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 30px
}

.rooms {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    border: 5px solid rgb(60, 209, 255);
    background: radial-gradient(circle, rgba(71,144,231,1) 0%, rgba(0,0,0,1) 100%);
    color: white;
    font-size: 25px;
    padding: 20px;
    border-radius: 10px;
}

.rooms .nickname {
    color: rgb(60, 209, 255);
    font-weight: 700;
    padding: 10px 10px;
    border-radius: 10px;
}

.rooms .nickname input {
    font-size: 20px;
    font-weight: 700;
    color: rgb(60, 109, 255);
}

.roomOptionsWrapper {
    text-align: center;
    display: flex;
    column-gap: 10px;
    justify-content: center;
}

.rooms h1 {
    padding: 5px 3px;
    font-size: 25px;
    margin-bottom: 5px;
    cursor: pointer;
    font-weight: 900;
    border: 4px solid;
    border-radius: 10px;
    text-align: center;
}

.activeUsers {
    text-align: center;
    font-weight: 800;
    border: 3px solid;
    padding: 3px 11px;
    border-radius: 10px;
    font-size: 23px;
}

main {
    width: 100%;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
}

#message-container {
    height: 600px;
    width: 100%;
    background: radial-gradient(circle, rgba(9,9,121,1) 0%, rgba(2,0,36,1) 70%);
    color: white;
    border-width: 0 5px 5px 5px;
    border-top: 0;
    list-style: none;
    overflow-y: auto;
    text-wrap: wrap;
    border-color: white;
    border-style: solid;
    border-radius: 0 0 10px 10px;
}

.currRoom {
    font-size: 40px;
    color: lightskyblue;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid lightskyblue;
    border-radius: 10px 10px 0 0;
}

#message-container li {
    padding: 10px
}

#message-container li .sender {
    margin-bottom: 2px;
    font-size: 24px;
    font-weight: 700;
}

#message-container li .sentMessage {
    font-size: 20px;
}

.message {
    border: 5px solid yellow;
    border-radius: 10px;
    padding: 15px 30px;
}

#message-input {
    width: 50%;
    font-size: 20px;
    outline: 0;
}

#send-button {
    font-size: 20px;
    padding: 2px 4px;
    border-radius: 5px;
    outline: 0;
    border: 3px solid yellow;
    cursor: pointer;
}

.message {
    margin-top: 20px;
}

.error {
    margin-top: 30px;
    color: red;
    border: 2px solid red;
    padding: 2px 4px;
    text-align: center;
    border-radius: 5px;
    font-size: 40px;
    display: none
}
