*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a{
    text-decoration: none;
}
body{
    font-family: "Open Sans", sans-serif;
    background: #EEEEEE;
    margin: 4rem auto;
    max-width: 500px;
}
main{
    background: white;
    padding: 1rem;
    margin-bottom: 4rem;
    border-radius: 5px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
h1{
    font-size: 1.5rem;
    text-align: center;
    color: #222831;
    margin-bottom: 1rem;
}
h2{
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
span.socket-id{
    color: #00ADB5;
}
form{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.each-input{
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    width: 100%;
}
.each-input label{
    color: #00adb5;
    font-weight: 600;
}
.each-input select,.each-input textarea,.each-input input{
    width: 100%;
    padding: 0.5rem;
}
.each-input textarea{
    resize: none;
    height: 7rem;
}
button{
    padding: 0.7rem;
    text-transform: uppercase;
    cursor: pointer;
    color: white;
    letter-spacing: 1px;
    border: none;
    background: #00adb5;
    transition: 0.3s ease-in;
}
button:hover{
    background: #222831;
}
.current-online{
    margin-bottom: 1.5rem;
}
.current-online h3{
    color: #00adb5;
    margin-bottom: 0.7rem;
}
.current-online ol{
    padding-left: 1.7rem;
    color: #878787;
    line-height: 1.2;
    text-transform: uppercase;
}
.chat-box{
    display: none;
}
.message-box{
    margin-top: 2rem;
}
.message-box h2{
    margin-bottom: 0.5rem;
}
.messages{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.each-message{
    border: 1px solid #00adb5;
    padding: 0.8rem;
    background: #00adb512;
    border-radius: 6px;
}
.each-message h3{
    margin-bottom: 0.3rem;
    font-size: 1rem;
}
.each-message p{
    font-size: 0.9rem;
    line-height: 1.5;
    color: grey;
}
footer{
    text-align: center;
    color: #555555;
}
footer a{
    color: #00adb5;
    font-weight: 500;
}

@media only screen and (max-width:600px) {
    body{
        margin: 2rem auto;
        max-width: 90%;
    }
}