/*!
 * game-style.css | Dinosaur Game WordPress Plugin | https://wordpress.org/plugins/dino-game
 * This plugin is free to use under the GPLv2 license. | https://www.gnu.org/licenses/gpl-2.0.html
 *
 * This file contains CSS forked from the 'T-Rex runner' game in Chromium.
 * Chromium is under Copyright 2015 by The Chromium Authors. All rights reserved.
 * See also: https://cs.chromium.org/chromium/src/LICENSE
 *
 */

.wp-block-dinogame-dinogame {
	position: relative;
}

.hidden {
	display: none;
}

.dino-game-wrapper:first-of-type {
	display: block;
	border: 1px solid #535353;
	margin: 1em auto;
	background: rgba(255, 255, 255, 0.5);
}

.dino-icon {
	-webkit-user-select: none;
	user-select: none;
	display: inline-block;
}

.dino-game-wrapper .dino-inner {
	color: #2b2b2b;
	line-height: 0;
	font-size: 0;
	margin: 16px auto;
	max-width: 600px;
	width: 100%;
}

.dino-game-wrapper .dino-container {
	max-width: 100%;
	overflow: hidden;
	width: 100%;
}

.dino-game-wrapper .dino-canvas {
	max-width: 100%;
	opacity: 1;
	overflow: hidden;
	z-index: 2;
	position: static;
}

.dino-game-wrapper .controller {
	background: rgba(247, 247, 247, .1);
	left: 0;
	width: 100vw;
	z-index: 1;
}

#dinosaur-game,
[id^=dino-game-sprites] {
	display: none;
}