@font-face {
    font-family: 'aReg';
    src: url('../lib/Soft_Marshmallow.otf');
}
/*
@font-face {
    font-family: 'aReg';
    src: url('../lib/Arista2_0_light.ttf');
}

@font-face {
    font-family: 'aBold';
    src: url('../lib/Arista2_0.ttf');
}
*/
body {
    font-family: aReg, sans-serif;
    background-color: #F9B978;
    margin: 0;
    padding: 0;
}

a {
    color: #b54928;
    transition: .2s;
}

a:hover {
    color: #db7353;
}

header {
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 60px;
    background-color: #F49F42;
    color: #ffffff;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; 
}

#title {
    float: left;
    margin: 7px 10px 0;
    padding: 0;
    cursor: default;
    height: 60px;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
li {
    float: left;
}

li a{
    display: block;
    background-color: rgba(255, 200, 150, 0);
    text-align: center;
    padding: 10px 10px;
    text-decoration: none;
    line-height: 40px;
    height: 40px;
    transition: .2s;
}

#home {
    position: relative;
    top: 7px;
    opacity: .6;
    transition: .2s;
}

a:hover #home {
    opacity: 1;
    top: 5px;
}

#games {
    position: relative;
    top: 14px;
    opacity: .6;
    transition: .2s;
}

a:hover #games {
    opacity: 1;
    top: 12px;
}

#about {
    position: relative;
    top: 7px;
    opacity: .6;
    transition: .2s;
}

a:hover #about {
    opacity: 1;
    top: 5px;
}

#page_sel {
    background-color: rgba(255, 200, 150, 0.25);
}

nav a:hover {
    color: rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 200, 0.25);
}

#end_button a {
    color: rgba(255, 255, 255, 0);
    background-color: rgba(255, 255, 255, 0);
}

#end_button {
    float: right;
}

#end_button a:hover {
    color: rgba(255, 255, 255, 0.25);
    background-color: rgba(255, 200, 150, 0.125);
}

main {
    clear: both;
    position: relative;
    top: 70px;
    color: #7A4B1C;
    padding: 0 10px 10px;
    font-size: 1.25em;
}

h1 {
    font-size: 1.5em;
}

#center_windows {
    text-align: center;
    margin: 2em auto;
    width: auto;
}

.window {
    display: inline-block;
    text-align: center;
    width: 400px;
    height: 300px;
    margin: 0 10px;;
    position: relative;
}

.window a {
    position: absolute;
    bottom: -25px;
    left: 0;
    display: inline-block;
    font-family: aReg;
    text-decoration: none;
    background-color: #6adc2c;
    color: #d4ffbc;
    width: 100%;
    font-size: 1.5em;
    line-height: 45px;
    height: 50px;
    opacity: 0.75;
    transition: .2s;
}

.window a:hover {
    opacity: 1;
    color: #ffffff;
}

#news_header::after {
    font-size: 0.5em;
    content: " -and things like that"
}

.news_item::before {
    font-size: 0.6em;
    content: "admin-"
}

.post {
    background-color: rgba(255, 255, 255, 0.25);
    min-height: 50px;
    position: relative;
    
}

.post_name {
    font-weight: normal;
    text-align: center;
    float: left; 
    background-color: rgba(255, 255, 255, 0.25);
    height: 50px;
    top: 0;
    left: 0;
    width: 100px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
}

.post_name h1{
    position: relative;
    top: 5px;
    display: inline-block;
    font-size: 16px;
    line-height: 15px;
    width: 100px;
    margin: auto;
}

.post_name h2 {
    font-family: sans-serif;
    position: relative;
    top: 0px;
    display: inline-block;
    font-weight: normal;
    font-size: 13px;
    line-height: 20px;
    margin: auto;
    width: 100px;
}

.comment {
    font-family: sans-serif;
    float: left;
    font-size: 16px;
    line-height: 25px;
    padding: 0 10px;
}

.input_text {
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.5);
    background-color: rgba(255, 255, 255, 0.5);
    color: #000000;
    min-height: 20px;
    margin: 2px 0;
    transition: .2s;
}

.input_text:hover {
    background-color: rgba(255, 255, 255, 0.75);
}

#post_button {
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.5);
    background-color: rgba(0, 0, 0, 0.25);
    color: #000000;
    height: 23px;
    transition: .2s;
}

#post_button:hover {
    background-color: rgba(125, 125, 125, 0.25);
    color: #000000;
}

footer {
    float: left;
    bottom: 100vh;
}

#comment_wrapper {
    display: block;
    width: calc(100% - 320px);
    overflow: scroll;
    overflow-x: hidden;
}

#leaderboard {
    font-family: sans-serif;
    line-height: 25px;
    float: right;
    width: 300px;
    color: #7A4B1C;
    padding: 10px;
    position: fixed;
    float: right;
    height: calc(100% - 80px);
    top: 60px;
    right: 0px;
    background-color: rgba(255, 255, 255, 0.25);
    overflow: scroll;
}

#leaderboard h3 {
    display: block;
    font-family: aReg, sans-serif;
    font-size: 1.25em;
    margin: -10px -10px 10px -10px;
    line-height: 2em;
    height: 2em;
    background-color: rgba(255, 255, 255, 0.25);
    text-align: center;
}

#scorenum {
    font-weight: bolder;
    font-size: 25px;
    line-height: 25px;
}

.score_name {
    font-weight: bolder;
    font-size: 25px;
    line-height: 25px;
}

.score_date {
    font-size: 15px;
    line-height: 25px;
}

/* smaller screen css

@media only screen and (max-width: 650px) {
	header {
        width: 100%;
        height: 120px;
    }
    
    #title {
        margin: 7px 0 0;
        text-align: center;
        width: 100%;
    }

    ul {
        width: 100%;
        text-align: center;
    }
    li {
        width: 33%;
    }

    li a{
        display: block;
        text-align: center;
        margin: auto;
        line-height: 30px;
        height: 33px;
    }

    #end_button {
        display: none;
        float: right;
    }
    main{
        top: 130px;
    }
    
}
*/