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

body {
    background-color: lightblue;
}

ul {
    max-height: 480px;
    overflow: auto;
    overflow-y: auto;

}

.main {
    width: 500px;
    min-width: 390px;
    height: 600px;
    background-color: white;
    padding: 20px;
    margin: 20px auto;
}

.messages {
    list-style: none;
    margin-right: 10px;
}

li>button {
    float: right;
}

.button {
    border-radius: 5px;
    border: 1px solid seagreen;
    background-color: lightseagreen;
    cursor: pointer;
    padding-left: 5px;
    padding-right: 5px;
    outline: none;
    transition: all 0.5s ease-in-out 0ms;
}

.button:hover {
    background-color: rgb(128, 202, 198);
    cursor: pointer;
}

.button:focus {
    outline: none;
}

.send {}

input[type="text"] {
    float: left;
}

button {
    float: right;
    margin-right: 10px;
}

.hidden {
    display: none;
    pointer-events: none;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
    border-radius: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
    border-radius: 5px;
}