@font-face {
  font-family: "low-res";
  src: 
    local("low-res"),
    url(/font/lowres.otf);
}

@font-face {
  font-family: "edit-undo";
  src: 
    local("edit-undo"),
    url(/font/editundo.ttf) format("truetype");
}


* {
    font-family: low-res, system-ui;
    font-size:12pt;
  	font-smooth: never;
  	-webkit-font-smoothing: none;
}

#bkgtop {
  width: 100vw;
  z-index: -50;
  
  position: fixed;
  top: 0;
  left: 0;
}

#bkgtoptop {
  height: 160px;
  width: 100%;
}
#bkgtopbottom {
  height: 32px;
  width: 100%;
  background-size: 32px;
}

small {
    font-size: 11px;
}
h1 {
  border-radius: 4px 0px 0px 0px;
  	font-family: edit-undo, sans-serif;
    font-style: normal;
    font-size:28px;
  
    padding:4px 48px 4px 6px;
    margin:0px 0px 0px 0px;
}
h2 {
    margin: 0px;
}
html {
  image-rendering: crisp-edges;
  image-rendering: pixelated;
  	background-size: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
}
section {
    margin:6px;
    min-width: 0;
}
.row {
    display:flex;
}
.rowstretch * {
	flex-grow:4;
}


body {
    min-width: 600px;
    width: 10in;
}
footer {
    padding:6px;
}
main {
    padding:6px;
}
.box {
    padding:6px;
}

.centered {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}



.horizontalscroll {
    width:100%;
    overflow:hidden;
    overflow-x:scroll;
    white-space: nowrap;
    display:flex;

}
.thumbnail {
    border:1px;
    border-style:inset;
}
.gamecard {
    padding:6px;
    display:inline-block;
    /*border:solid 1px;*/
    white-space: wrap;
}
.faketablecolumn {
  width: 100%;
  display: inline-block;
  text-align:center;
  
}
.gamecard a {
    text-decoration:none;
}





nav {
    display: flex;
}
nav .navbarbtn, .dropbtn {
    border:solid;
    border-width:2px;
    border-color:transparent;
    padding:4px;
    font-weight: bold;
    text-align:center;
    text-decoration:none;
  
  	font-family: edit-undo,sans-serif;
    font-size:20px;
    -webkit-font-smoothing: none;
}
nav .navbarbtn {
    width:100%;
    background-image:linear-gradient(rgb(0, 230, 230), rgb(0, 70, 50));
    color:white;
}
nav .navbarbtn:hover{
    border:solid;
    border-width:2px;
    border-color:white;
}
nav .navbarbtn:active{
    background-image:linear-gradient(rgb(0, 70, 50), rgb(0, 230, 230));
}


.dropbtn:active{
	background-image:linear-gradient(rgb(200, 200, 200), rgb(255, 255, 255));
}


.dropbtn{
    background-image:linear-gradient(rgb(255, 255, 255), rgb(200, 200, 200));
}



.error {
	font-weight: bold;
	color:red;
}




/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
  margin:0px;
  padding:0px;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  background-color:white;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #ddd;}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {background-color: #3e8e41;} 

#playbtn {
	border-radius:8px;
	padding:4px 48px 4px 48px;
    background-image:linear-gradient(rgb(0, 255, 0), rgb(0, 100, 0));
}

#playbtn * {
    font-size:32px;
	text-decoration:none;
	font-weight:bold;
  	font-family: edit-undo, sans-serif;
    color:white;
  
}

.createbtn {
	font-weight:bold;
	text-decoration:none;
	border-radius:4px;
	padding:2px 4px 2px 4px;
    background-image:linear-gradient(rgb(200, 200, 0), rgb(200, 100, 0));
    color:white;
	
}