body {
	-webkit-user-select: none;
	margin: 0;
	background-color: #000;
	color: #fff;
	font-family: Monospace;
	font-size: 13px;
	line-height: 24px;
	overscroll-behavior: none;
}


a {
	color: #ff0;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

button {
	cursor: pointer;
	text-transform: uppercase;
}

canvas {
	display: block;
}

#info {
	background-color: rgb(100, 100, 98);
	color: #000;
	position: absolute;
	top: 0px;
	width: 100%;
	height: 70px;;
	padding: 10px;
	box-sizing: border-box;
	text-align: center;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	z-index: 1; /* TODO Solve this in HTML */
}

a, button, input, select {
	pointer-events: auto;
}

.dg.ac {
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	z-index: 2 !important; /* TODO Solve this in HTML */
}

#overlay {
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	width: 100%;
	height:100%;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 1;
	background-color: #000000;
	color: #ffffff;
}

#overlay > div {
	text-align: center;
}

#overlay > div > button {
	height: 20px;
	background: transparent;
	color: #ffffff;
	outline: 1px solid #ffffff;
	border: 0px;
	cursor: pointer;
}

#overlay > div > p {
	color: #777777;
	font-size: 12px;
}


/* The Modal (background) */
.modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 100; /* Sit on top */
	left: 10;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
  }
  
  /* Modal Content/Box */
  .modal-content {
	background-color: #fefefe;
	margin: 2%; /* 15% from the top and centered */
	padding: 10px;
	border: 1px solid #888;
	width: 93%; /* Could be more or less, depending on screen size */
  }

  /* The Close Button */
.close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
  }

.custom-caption {
	text-align: center;
	padding: 12px;
	color: white;
	margin-bottom: 70px;
	background-color: rgba(0, 0, 0, .3);
}

.custom-img {
	margin: 10% auto; /* 15% from the top and centered */
	border: 1px solid #888;
	width: 70%; /* 80% Could be more or less, depending on screen size */
}

@media only screen and (min-width:320px) {
    .custom-img { 
		margin: 12% auto; 
		width: 60%;
		transform: translate(-0%,-15%);    
    }

	.modal-content {
		width: 90%;
	}
}
@media only screen and (min-width:768px) {
    .custom-img { 
		margin: 10% auto; 
		width: 50%;
		transform: translate(-0%,-20%);    
    }
	.modal-content {
		width: 93%;
	}
}

@media only screen and (min-width:1024px) {
    .custom-img { 
		margin: 10% auto; 
		width: 50%;
		transform: translate(-0%,-20%);    
    }
	.modal-content {
		width: 94%;
	}
}

p, img, div, canvas {
	vertical-align: top;
}

::-moz-selection {
    background: #34495e;
    background-color: #34495e;
    color: #FFF;
}

::selection {
    background: #34495e;
    background-color: #34495e;
    color: #FFF;
}

.hide {
	display: none;
}

#menu {
	width: 28em;

	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    border-radius: .9em;

    text-align: center;
	font-size: 1.2em;

	background-color: #fff;
	opacity: 1;

	background: #ffffff;

	-webkit-box-shadow: 0em 0.25em .75em rgba(124,124,124, 0.5);
	-moz-box-shadow: 0em 0.25em .75em rgba(124,124,124, 0.5);
	box-shadow: 0em 0.25em .75em rgba(124,124,124, 0.5);
}

	#menu #img_container {
		height: 14.5em;
		display: flex;
		justify-content: center;
		align-items: center;
		overflow: hidden;

		border-top-left-radius: .9em;
		border-top-right-radius: .9em;
	}

	#menu #img_container img {
		flex-shrink: 0;
		width: 100%;
	}

	#menu #content {
		padding: 0.5em;
	}

    #menu #content div {
		margin-left: 1em;
        margin-bottom: 1em;
    }

    #menu h1 {
        font-family: 'Oswald';
        letter-spacing: .25em;
    }

    #menu p {
        font-family: 'Lato';
        margin: 0em;
    }

	#menu #play_button {
		display: inline-block;
		border-radius: .9em;
		border: solid #48484F .1em;
		padding-left: 1.5em;
		padding-right: 1.5em;
		padding-top: .12em;
		padding-bottom: .12em;

		margin-bottom: 1.5em;
        transition: all .4s;
	}

	#menu #play_button:hover {
		border: solid #A8A8AF .1em;
		color: #A8A8AF;
		cursor: pointer;
        transition: all .4s;
	}

		#menu #play_button p {
            font-family: 'Oswald';
            letter-spacing: .125em;
            color: #48484F;
			font-size: 1.3em;
            transition: all .4s;
		}

        #menu #play_button:hover p {
            color: #A8A8AF;
            transition: all .4s;
        }

#background_menu {
    position: absolute;
    width: 100%;
    height: 100%;

    background-color: #111;
    opacity: .125;
}

canvas {
	width: 100%;
	height: 100%;
}

#overlay {
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	width: 100%;
	height:100%;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 1;
	background-color: #000000;
	color: #ffffff;
}

#overlay > div {
	text-align: center;
}

#overlay > div > button {
	height: 20px;
	background: transparent;
	color: #ffffff;
	outline: 1px solid #ffffff;
	border: 0px;
	cursor: pointer;
}

#overlay > div > p {
	color: #777777;
	font-size: 12px;
}

#startButton {
	display: inline-block;
	width:  25%;
	height: 15%;
	font-size: large;
	color:#FFF;
	background-color: black;
	border-radius: .9em;
	border: solid #48484F .1em;
	padding-left: 1.5em;
	padding-right: 1.5em;
	padding-top: .12em;
	padding-bottom: .12em;
	margin-bottom: 1.5em;
	transition: all .4s;
}

#startButton:hover {
	border: solid #A8A8AF .1em;
	color: #A8A8AF;
	cursor: pointer;
	transition: all .4s;
}

#startButton p {
		font-family: 'Oswald';
		letter-spacing: .125em;
		color: #48484F;
		font-size: 1.3em;
		transition: all .4s;
	}

 #startButton:hover p {
		color: #A8A8AF;
		transition: all .4s;
}
