@font-face { font-family: 'Heros'; src: url(../../fonts/heros.otf); }
@font-face { font-family: 'HerosCon'; src: url(../../fonts/heroscon.otf); }
@font-face { font-family: 'Xanh'; src: url(../../fonts/xanhmono.ttf); }

* {
    margin: 0;
    border: 0;
    padding: 0;
    outline: 0;
    background: transparent;
}

html, body {
    height: 100%;
    background: rgb(25,25,25);
    color: white;
}

@media only screen and (max-width: 600px) {
    #container, header, footer {
        width: 100%;
    }
}

#container {
    margin: 0 auto;
    max-width: 600px;
    height: 100%;
}

header, footer, .server {
    background: black;
    position: fixed;
    z-index: 99;
}

header {
    width: 590px;
    top: 0;
    height: 50px;
    padding-top: 10px;
    padding-left: 10px;
}

header h1 {
    color: white;
    font-size: 38px;
    font-weight: 600;
    line-height: 40px;
    font-family: 'Xanh', monospace;
    margin-left: 10px;
    float: left;
}

header a {
   float: right;
   right: 0px;
   margin-right: 18px;
}

header a:hover, footer a:hover {
    background-color: red;
}

.server {
    width: 573px;
    margin-top: 60px;
    padding: 2px 8px 4px 19px;
    color: white;
    font-size: 17px;
    font-weight: 600;
    line-height: 25px;
    letter-spacing: 1px;
    font-family: 'Xanh', sans-serif;
}

.server img, .notice img {
    margin: 2px;
    width: 20px;
    height: 20px;
    vertical-align: top;
    border-radius: 50%;
}

.server p, .notice p {
    display: inline;
    margin-left: 20px;
}

.server span {
    font-style: italic;
}

footer {
    bottom: 0;
    height: 35px;
    width: 588px;
    padding: 6px;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
}

footer img {
    float: left;
    width: 30px;
    height: 14px;
}

footer input, footer a {
    color: white;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 1px;
    font-family: 'Xanh', monospace;
    background-color: #111;
    border-radius: 15px;
    height: 30px;
    padding: 0 14px;
}

footer input {
    width: 100%;
    overflow-wrap: break-word;
    margin: 0 5px;
}

footer a {
    float: right;
    font-weight: 600;
    height: 30px;
}

#chatpage {
    padding: 0;
    overflow-y: auto;
}

.chatstart {
    height: 90px;
}

.chatend {
    height: 45px;
}

.fadetop, .fadebottom {
    position: absolute;
    z-index: 9;
    width: 600px;
}

.fadetop {
    top: 0;
    height: 85px;
    background-image: linear-gradient(to top, 
    rgba(0, 0, 0, 0),rgba(0, 0, 0, 1) 100%);
}

.fadebottom {
    height: 85px;
    background-image: linear-gradient(to bottom, 
    rgba(0, 0, 0, 0),rgba(0, 0, 0, 1) 100%);
}

.notice {
    box-shadow: inset 0 13px 14px -10px rgba(0, 0, 0, 0.5);
    padding: 8px 10px 4px 19px;
    color: white;
    font-size: 17px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: 1px;
    font-family: 'Xanh', sans-serif;
    overflow-wrap: break-word;
}

.notice img {
    margin: 2px;
    width: 20px;
    height: 20px;
    vertical-align: top;
    border-radius: 50%;
}

.notice p {
    display: inline;
    margin-left: 20px;
}

.msg {
    box-shadow: inset 0 13px 14px -10px rgba(0, 0, 0, 0.5);
    overflow-wrap: break-word;
    font-family: 'HerosCon', sans-serif;
    min-height: 54px;
    padding: 10px 15px 5px 12px;
}

.pfp {
    margin: 4px 12px 4px 0;
    float: left;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.msg h1 {
    font-size: 17px;
    line-height: 22px;
    letter-spacing: 1px;
    font-family: 'Xanh', monospace;
}

.msg p {
    display: block;
    font-size: 17px;
    font-weight: 200;
    line-height: 24px;
    letter-spacing: 1.2px;
    margin: 0 0 8px 54px;
}

.msg:hover, .notice:hover {
    background: rgb(20,20,20);
}
