@import url('https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300');
@font-face {
	font-family: 'menlo';
	src:url('src/menlo.woff') format('woff'),
}
@keyframes tictac {  
	40% {
		opacity: 0;
	}
}
:root {
	--background-alt: #252525;
	--background: #222;
	--base-txt: #050;
}
::-webkit-input-placeholder {
    opacity: 1 !important;
}
::-moz-placeholder {
    opacity: 1 !important;
}
body, html {
	font-family: 'Open Sans Condensed', sans-serif;
	background-color: var(--background);
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
	overflow: hidden;
	margin: 0;
}
kbd {
	-webkit-box-shadow: 0 1px 0 rgba(0,0,0,0.2),0 0 0 2px #577064 inset;
	-moz-box-shadow: 0 1px 0 rgba(0,0,0,0.2),0 0 0 2px #577064 inset;
	box-shadow: 0 1px 0 rgba(0,0,0,0.2),0 0 0 2px #577064 inset;
	text-shadow: 0 1px 0 #577064;
	-webkit-border-radius: 3px;
	background-color: #4D6358;
	border: 1px solid #658274;
	-moz-border-radius: 3px;
	font-family: monospace;
	display: inline-block;
	border-radius: 3px;
	padding: .1em .6em;
	line-height: 1.4;
	font-size: 11px;
	margin: 0 .1em;
	color: #ccc;
}
span#instructionsToggle {
	background-color: var(--background-alt);
	transition: .5s opacity;
	border-radius: 30px;
	position: absolute;
	font-weight: bold;
	color: #050;
	padding: 10px;
	margin: 10px;
	opacity: .5;
	z-index: 1;
	left: 0px;
	top: 0px;
}
span#instructionsToggle:hover {
	cursor: pointer;
	opacity: 1;
}
span#instructions {
	background-color: var(--background-alt);
	transition: .5s opacity;
	position: absolute;
	padding: 25px;
	margin: 25px;
	color: #ccc;
	opacity: 0;
	left: 0px;
	top: 0px;
}
span#instructions div table tr td:first-child {
	padding-right: 25px;
	text-align: center;
}
div#blackout {
	transition: .4s opacity;
	background-color: #000;
	pointer-events: none;
	position: absolute;
	height: 100vh;
	width: 100vw;
	z-index: 2;
	opacity: 0;
	margin: 0;
}
span#escape {
	transition: .4s opacity;
	pointer-events: none;
	position: absolute;
	text-align: center;
	font-weight: bold;
	font-size: 70px;
	color: #60B48A;
	z-index: 10;
	width: 100%;
	top: 5%;
	opacity: 0;
}
div#grid {
	margin-left: auto;
	margin-right: auto;
	margin-top: auto;
	position: fixed;
	width: 100%;
	height: auto;
	left: auto;
	right: auto;
	top: 15%;
}
div#grid table {
	font-family: 'menlo', sans-serif;
	border-collapse: separate;
	border-spacing: 25px;
	font-size: 80%;
	margin-left: auto;
	margin-right: auto;
}
div#grid table tr td {
	height: auto;
	width: auto;
}
@media only screen and (max-width: 1020px) and (min-width: 0px){
#grid table tr td a {
            padding: 50px !important;
            padding-bottom: 5px !important;
            padding-top: 30px !important;
        }
}
div#grid table tr td a {
	text-shadow: 0px 0px 0 rgba(200,50,50,.5), 0px 0px 0 rgba(50,200,150,.5);
	box-shadow: 0px 0px 0 rgba(200,50,50,.5), 0px 0px 0 rgba(50,200,150,.5);
	transition: .2s text-shadow, .2s box-shadow, .2s border-bottom;
	border-bottom: 0px solid rgba(200,50,50,1);
	background-color: var(--background-alt);
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	color: var(--base-txt);
	box-sizing: border-box;
	text-decoration: none;
	position: relative;
	display: block;
	padding: 25px;
	height: 100%;
	width: 100%;
}
@media only screen and (max-width: 1020px) and (min-width: 0px){
#grid table tr td a img {
            width: 150px !important;
        }
}
div#grid table tr td a img {
	-webkit-filter: drop-shadow(0px 0px 0 rgba(200,50,50,.3)) drop-shadow(0px 0px 0 rgba(50,200,150,.3));
	filter:drop-shadow(0px 0px 0 rgba(200,50,50,.3)) drop-shadow(0px 0px 0 rgba(50,200,150,.3));
	transition: .1s -webkit-filter, .1s filter;
	position: relative;
	opacity: .3;
	left: auto;
	z-index: 0;
	top: auto;
}
div#grid table tr td a h3 {
	right: 15px;
	float: right;
}
@media only screen and (max-width: 1020px) and (min-width: 0px){
#grid h3 {
	    float: none !important;
	    text-align: center !important;
	    padding: 0px !important;
        }
}
@media only screen and (max-width: 1020px) {
#grid table tr td a p {
            display: none;

        }
}
@media only screen and (max-width: 1020px) {
#grid table {
            font-size: 150% !important;

        }
}
	div#grid table tr td a p {
		margin-left: 5px;
		margin-top: 10px;
		margin-bottom: auto;
		width: 250px;
		height: 30px;
	}

@media only screen and (max-width: 1020px) {
#grid table tr td a {
            display: none;
        }
}

	div#grid table tr td a:focus img, div#grid table tr td a:hover img {
		-webkit-filter: drop-shadow(3px 3px 0 rgba(200,50,50,1)) drop-shadow(-3px -3px 0 rgba(50,200,150,1));
		filter:drop-shadow(3px 3px 0 rgba(200,50,50,1)) drop-shadow(-3px -3px 0 rgba(50,200,150,1));
	}
	div#grid table tr td a:focus {
		border-bottom: 15px solid rgba(50,200,150,.3);
		background-color: #2E2926;
	}
	div#grid table tr td a:focus, div#grid table tr td a:hover {
		text-shadow: 3px 3px 0 rgba(200,50,50,.7), -3px -3px 0 rgba(50,200,150,.7);
		box-shadow: 3px 3px 0 rgba(200,50,50,.5), -3px -3px 0 rgba(50,200,150,.5);
		outline: 0;
	}
footer div#liveClock {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	color: var(--base-txt);
	-moz-user-select: none;
	-ms-user-select: none;
	transition: .4s color;
	letter-spacing: 15px;
	user-select: none;
	font-size: 50px;
	position: fixed;
	cursor: default;
	z-index: 6;
	bottom: 5%;
	right: 5%;
}
footer div#liveClock span {
	animation: tictac 3s linear infinite;
	position: relative;
	top: -10px;
}
footer form input[type="text"] {
	transition: .3s border-color, .3s background-color, .3s border-bottom;
	background-color: var(--background);
	border-color: var(--base-txt);
	border: 0; /*   rip ramp   */
	border-bottom: 5px solid;
	color: var(--base-txt);
	font-size: 25px;
	position: fixed;
	display: block;
	outline: none;
	padding: 10px;
	z-index: 4;
	bottom: 5%;
	width: 90%;
	left: 4%;
}
footer form input[type="text"]:focus {
	background-color: var(--background-alt);
	border-bottom: 10px solid #60B48A;
	color: #60B48A;
	outline: none;
}
footer form input[type="text"]:focus::-webkit-input-placeholder {
	opacity: 0;
}
footer form input[type="text"]:focus::-moz-placeholder {
	opacity: 0;
}
