/*
    Global Style
*/
*{
    margin: 0;
    padding: 0;
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-family: 'Nova Square', cursive;
}
html{
    background-image: url("/images/textures/metal_scratch_dark.jpg");
    background-size: 400px;
    overflow-x: hidden;
}
body{
    margin-left: auto;
    margin-right: auto;
    width: 60%;
}
table{
    margin-left: auto;
    margin-right: auto;
}
hr{
    margin-top: 16px;
    margin-bottom: 16px;
    border-color: darkred;
    border-width: 2px;
}
h2{
	text-align: center;
}
h1.title{
    text-align: center;
    font-size: 48px;
}
h2.title{
    font-size: 20px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1; /* number of lines to show */
    -webkit-box-orient: vertical;
}
h2.link_title{
    font-size: 32px;
    text-decoration: underline;
}
h2.link_title:hover{
    color: red;
}
p.link_desc{
    padding-left: 16px;
    font-size: 24px;
}
div.content_wrapper{
    position: relative;
    min-height: 100vh;
}
#preload-01 { background: url("/images/textures/metal_scratch.jpg") no-repeat -9999px -9999px; }
#preload-02 { background: url("/images/textures/metal_scratch_dark.jpg") no-repeat -9999px -9999px; }
#preload-03 { background: url("/images/textures/metal_scratch_color.jpg") no-repeat -9999px -9999px; }

/*
    Navigation Style
*/
div.banner{
    padding: 16px;
}
img.banner{
    width: 100%;
    max-width: 800px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
img.logo{
	margin-left: 8px;
    width: 64px;
}
div.nav{
    position: sticky;
    background-image: url("/images/textures/metal_scratch.jpg");
	background-size: 400px;
	-webkit-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.8); 
	box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.8);
}
table.nav{
    margin-left: auto;
    margin-right: auto;
    table-layout: fixed;
    border-collapse: collapse;
    width: 70%;
}
@media(max-width:1200px){
    table.nav{
        width: 100%;
    }
}
td.nav{
	margin: 12px;
    height: 64px;
    text-align: center;
	padding-left: 4px;
	padding-right: 4px;
}
div.login{
	margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 64px;
	background-image: url("/images/textures/metal_scratch_dark.jpg");
	background-size: 400px;
	-webkit-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.8); 
	box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.8);
}
div.login:hover{
    cursor: pointer;
    background-image: url("/images/textures/metal_scratch_color.jpg");
	background-size: 400px;
}
.link{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dropdown {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
	background-image: url("/images/textures/metal_scratch_dark.jpg");
	background-size: 400px;
}
.dropdown-content {
    top: 64px;
    width: 100%;
    display: none;
    position: absolute;
    z-index: 2;
}
a.dropdown {
    padding-top: 16px;
    padding-bottom: 16px;
    text-decoration: none;
    display: block;
	border-top: 2px solid black;
}
a.dropdown:hover{
    cursor: pointer;
    background-image: url("/images/textures/metal_scratch_color.jpg");
	background-size: 400px;
}
.dropdown-content a:hover {
    background-image: url("/images/textures/metal_scratch_color.jpg");
	background-size: 400px;
}
.dropdown:hover .dropdown-content {
    display: block;
	background-image: url("/images/textures/metal_scratch_color.jpg");
	background-size: 400px;
}
table.dropdown{
    width: 100%;
    table-layout: fixed;
}
input[type="checkbox"] { /* change "blue" browser chrome to yellow */
    filter: invert(100%) brightness(1.7);
}
div.link{
	margin-top: 8px;
	margin-bottom: 8px;
	background-image: url("/images/textures/metal_scratch_dark.jpg");
	background-size: 400px;
	-webkit-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.8); 
	box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.8);
}
div.link:hover{
	background-image: url("/images/textures/metal_scratch_color.jpg");
	background-size: 400px;
}

/*
    Footer Style
*/
footer{
    padding: 12px;
    position: absolute;
    bottom: 0;
    width: 100%;
    bottom: 0;
    text-align: center;
	background-image: url("/images/textures/metal_scratch.jpg");
	background-size: 400px;
}

/*
    Games Style
*/
div.games_table{
    display: flex;
    align-items: top;
    justify-content: center;
    flex-flow: row wrap;
}
.games_card{
    margin: 4px;
	padding: 2px;
    width: 260px;
    background-image: url("/images/textures/metal_scratch.jpg");
	background-size: 400px;
	border: inset
	-webkit-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.8); 
	box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.8);
}
div.games_card:hover{
    cursor: pointer;
    background-image: url("/images/textures/metal_scratch_color.jpg");
	background-size: 400px;
}
div.games_card:hover p.games_desc{
	background-image: url("/images/textures/metal_scratch_color.jpg");
	background-size: 400px;
	-webkit-box-shadow: 0;
	box-shadow: 0;
}
img.games_image{
    width: 256px;
    height: 141px;
    border-radius: 4px;
}
p.games_desc{
	padding: 10px;
	font-size: 16px;
    height: 96px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5; /* number of lines to show */
    -webkit-box-orient: vertical;
	background-image: url("/images/textures/metal_scratch_dark.jpg");
	background-size: 400px;
	-webkit-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.8); 
	box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.8);
}

/*
    Game Style
*/
.game_width{
    display: inline-block;
    vertical-align: top;
    width: 440px;
}
.game_height{
    height: 560px;
}
.highscore_width{
    width: 350px;
}
div.highscore{
    margin-left: 12px;
    margin-right: 12px;
    background-image: url("/images/textures/metal_scratch.jpg");
	background-size: 400px;
	-webkit-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.8); 
	box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.8);
}
div.highscore_container{
	padding: 12px;
	background-image: url("/images/textures/metal_scratch_dark.jpg");
	background-size: 400px;
}
table.highscore{
    margin-left: 12px;
    margin-right: 12px;
    width:100%;
    border-collapse:separate;
    border-spacing:16px;
}
table.highscore_buttons{
    width:100%;
    text-align: center;
    table-layout: fixed;
}
button.highscore{
    padding-top: 4px;
    padding-bottom: 4px;
    width: 100%;
    border: none;
    background-color: darkorange;
	background-size: 400px;
	-webkit-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.8); 
	box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.8);
}
button.highscore:hover{
    cursor: pointer;
    background-color: green;
	background-size: 400px;
}
h2.game_title{
    font-size: 32px;
    text-decoration: underline;
    text-align: center;
}
h2.game_version{
    margin-top: 8px;
    font-size: 20px;
    text-decoration: underline;
    text-align: center;
}
p.game_desc{
    text-align: center;
}
img.game_image{
    width: 440px;
    height: 242px;
    border-radius: 4px;
}
span.tag{
    padding: 6px;
    background-image: url("/images/textures/metal_scratch.jpg");
	background-size: 400px;
}

/*
    Twitter Style
*/
div.twitter{
    margin: 32px;
    position: fixed;
    right: 0;
}
@media(max-width:1750px){
    div.content_wrapper{
        padding-bottom: 48px;
    }
    body{
        width: 100%;
    }
    div.twitter{
        display: none;
    }
}

.honour{
    font-size: 22px;
}
.honour_name{
    font-size: 20px;
display: flex;
justify-content: center; /* align horizontal */
align-items: center;
}