html {
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */
}

html, body
{
	font-family: Arial, Helvetica, sans-serif;
	background: white;
	margin: 0;
	height: 100%;
}

#logo_container
{
	content: -webkit-image-set(
		url(assets/logo.png) 1x,
		url(assets/logo@2x.png) 2x);
	display: block;
	margin-top: 8px;
	margin-left: auto;
	margin-right: auto;
	height: 40px;
}

#social
{
	position: fixed;
	top:8px;
	right:20px;
}

#share
{
	position: fixed;
	top:8px;
	left:20px;
}

#phaser-game
{
	margin-top: 10px;
	margin-bottom: 0;
	margin-left: 20px;
	margin-right: 20px;
	padding: 0;
	overflow: hidden;
  }

#item_description
{
	margin-left: 20px;
	margin-right: 20px;
	border: 6px solid #a9d8a9;
	border-radius: 1em;
	color: black;
	text-align: center;
	/*font-size: 1.8vw; /* small; */
	font-size: calc(12px + (10 - 5) * ((100vw - 320px) / (1600 - 320)));
	min-height: 8%;
}

@keyframes appear {
	from {
		color: white;
		background-color: white;
		border: 6px solid white;
	}
	to {
		color: black;
		border: 6px solid #a9d8a9;
		background-color: #a9d8a9;
	}
}

@keyframes disappear {
	from {
		color: black;
		border: 6px solid #a9d8a9;
		background-color: #a9d8a9;
	}
	to {
		color: white;
		background-color: white;
		border: 6px solid white;
	}
}

.description_appear
{
	animation-name: appear;
	animation-duration: 0.5s;
	animation-fill-mode: both
}

.description_disappear
{
	animation-name: disappear;
	animation-duration: 0.5s;
	animation-fill-mode: both
}

#footer
{
	position: relative;

	margin-top: 4px;
	margin-bottom: 4px;
	/*margin-bottom: 5px;*/
	width: 100%;
	bottom: 5px;
	/*border: 3px dashed #46943b;*/
	height: 20px;
	/*font-size: small;*/
}

#donate_container
{
	/*height: 20px;*/
	padding-left:20px;
}

#virtualescapes_logo
{
	content: -webkit-image-set(
		url(assets/virtual-escapes-logo.png) 1x,
		url(assets/virtual-escapes-logo@2x.png) 2x);
	height: 30px;
	vertical-align: middle;
}

/*
table { border: 3px dashed #46943b; }
td { border: 3px dashed #d3551b; }
*/

.self_promo_container
{
	/*border: 3px dashed #563ebd;*/
	/*height: 20px;*/
	padding-right:20px;
	text-align: right;
	vertical-align: middle;
	font-size: x-small;
}

.self_promo_container a {
    color: #57b8be;
    text-decoration: none;
}

/* mouse over link */
.self_promo_container a:hover {
	color: hotpink;
  }

div {
	/*border: 3px #ff0000;*/
	min-height: 1.25em;
	line-height: 1.25;
}

/* The Modal (background) */
.modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	color: black;
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
  
/* Modal Header */
.modal-header {
	padding: 2px 16px;
	background-color: #a9d8a9;
	min-height: 2.25em;
	line-height: 1.25;
}
  
/* Modal Body */
.modal-body {
	padding: 2px 16px;
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	height: 0;
}

.modal-body iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
  
  /* Modal Footer */
.modal-footer {
	padding: 2px 16px;
	background-color: #a9d8a9;
	min-height: 2.25em;
	line-height: 1.25;
}
  
  /* Modal Content */
.modal-content {
	text-align: center;
	position: absolute;
	background-color: #fefefe;
	top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
	/*margin: auto;*/
	padding: 0;
	border: 1px solid #888;
	width: 80%;
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
}
  
  /* The Close Button */
.close {
	color: #ffffff;
	float: right;
	font-size: 28px;
	font-weight: bold;
}
  
.close:hover,
.close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}