body {
	margin: 0;
	overflow: hidden;
	background-color: black;
	user-select: none;
	touch-action: none;
}

img {
	user-drag: none;
	-webkit-user-drag: none;
	-moz-user-select: none;
}

#myCanvas {
}

#debug {
	position: absolute;
	left: 0px;
	top: 0px;
	background-color: rgba(200, 200, 200, 0.5);
	color: white;
	overflow: auto;
}

#info {
	position: absolute;
	left: 50%;
	top: 100px;
	transform: translateX(-50%);
	background-color: #aaa;
	color: black;
	opacity: 0.7;
	font-size: 120%;
	font-weight: bold;
	padding: 20px;
	display: none;
}

#dialog {
	position: absolute;
	left: 50%;
	bottom: 100px;
	transform: translateX(-50%);
	background-color: rgba(200, 200, 200, 0.5);
	font-size: 120%;
	font-weight: bold;
	padding: 20px;
	display: none;
}

.dialog_button {
	padding: 10px;
	margin: 10px;
	background-color: #ccc;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all  0.3s ease;
	cursor: pointer;
}

.dialog_button:hover {
	background-color: lightyellow;
}

#volume {
	position: absolute;
	left: 50%;
	bottom: 100px;
	transform: translateX(-50%);
	background-color: transparent;
	color: lime;
	font-size: 200%;
	font-weight: bold;
	padding: 20px;
}

#content {
	position: absolute;
	left: 10px;
	top: 10px;
	padding: 20px;
	background-color: rgba(20, 20, 20, 0.3);
	display: none;
}

#content_name {
	color: white;
	font-size: 120%;
}
#player {
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	background: #000;
	display: none;
}

.ufocard {
	cursor: pointer;
	width: 320px;
	height: 420px;
}

.ufocard_inner {
	position: relative;
	transition: transform 0.5s;
	transform-style: preserve-3d;
	vertical-align: middle;
	cursor: pointer;
}

.ufocard_front, .ufocard_back {
	position: absolute;
	margin: 0px;
	border: 0px;
	padding: 0px;
	vertical-align: middle;
	width: fit-content;
	width-moz: -moz-fit-content;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	cursor: pointer;
}

.ufocard_back {
	border: 10px;
	border-color: gold;
	border-style: solid;
	transform: rotateY(180deg);
	cursor: pointer;
}

.ufocard_front_img {
	width: 300px;
	height: 420px;
	margin: 0px;
	border: 0px;
	border-style: none;
	vertical-align: middle;
	cursor: pointer;
}

.ufocard_img {
	width: 280px;
	height: 280px;
	margin: 0px;
	border: 0px;
	border-style: none;
	vertical-align: middle;
	cursor: pointer;
}

.ufocard_comment {
	width: 240px;
	height: 120px;
	background-color: white;
	padding: 20px;
	margin: 0px;
	border: 0px;
	border-style: none;
	vertical-align: middle;
	font-size: 20px;
	font-weight: bold;
	cursor: pointer;
}

.ufocard:hover .ufocard_inner,
.ufocard:focus .ufocard_inner {
	transform: rotateY(-180deg);
}

#iconbox {
	position: absolute;
	right: 10px;
	top: 10px;
	margin: auto auto auto auto;
	background-color: rgba(20, 20, 20, 0.3);
	color: black;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	cursor: pointer;
}

#iconbox2 {
	position: absolute;
	left: 10px;
	bottom: 0px;
	margin: auto auto auto auto;
	background-color: rgba(20, 20, 20, 0.3);
	color: black;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	cursor: pointer;
}

#iconbox img,
#iconbox2 img {
	width: 80px;
	height: auto;
	opacity: 0.5;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all  0.3s ease;
	overflow: auto;
	cursor: pointer;
}

#iconbox img:hover,
#iconbox img:focus,
#iconbox2 img:hover,
#iconbox2 img:focus {
	transform: scale(1.2, 1.2);
	opacity: 1.0;
}

.clickable {
	cursor: pointer;
}

#shadow {
	position: absolute;
	margin: auto auto auto auto
	bottom: 0px;
	display: none;
	user-drag: none;
	-webkit-user-drag: none;
	-moz-user-select: none;
}

#anim, #instruction {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: none;
}

#instruction {
	cursor: pointer;
	z-index: 99;
}

@media screen and (max-width: 959px) {
	#dialog {
		position: absolute;
		bottom: 100px;
		right: 0;
		left: 0;
		margin: auto;
		width: 75%;
		transform: none;
	}

	#shadow {
		max-width: 100vw;
	}
	
	#anim, #instruction {
		position: absolute;
		max-width: 100vw;
		height: auto;
		display: none;
	}
}

