* {
	margin: 0;
	padding: 0;
}
body {
	background-color: #08160c;
	width: 100%;
	height: 100%;
	overflow: hidden;
	font-family: 'RammettoOne', Arial, Helvetica, sans-serif;
}
a {
	text-decoration: underline;
	color: #08160c;
}
img {
	max-width: 100%;
	max-height: 100%;
}
p {
    font-size: small;
    margin: 0 1em 0 1em;
}
#inGame, #gameOver {
	pointer-events: none;
}
#gameOver{
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: start;
}
#p_gameover {
	line-height: 85%;
	word-spacing: 10px;
	letter-spacing: -3px;
    font-size: 6vh;
    margin: 1em 0 1em 0;
}
#duck {
	-webkit-box-flex: 0;
	    -ms-flex: 0 0 40px;
	        flex: 0 0 40px;
	height: 40%;
}

.logmessage{
	margin-top: 10px;
	width: 210px;
	text-align: justify;
	color: #f9dc00;
	font-family: sans-serif;
	font-weight: bold;
}
#loading{
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}
#trophy, input[type="checkbox"], .btn {
	-webkit-box-shadow: 2px 2px 2px #008477;
	        box-shadow: 2px 2px 2px #008477;
}
#trophy {
	margin: 1vh;
	border: solid #eefefa 2px;
	border-radius: 100%;
	width: 8vh;
	height: 8vh;
	color: #ffffff;
	font-size: 5vh;
}
#trophy:focus {
	outline: none;
}
#userpanel {
	margin-top: 4px;
	border-radius: 5px;
	padding: 2px;
}

#botonera{
	margin-bottom: 4px;
}

.txtblancosobrenegro,
.txtnegrosobreblanco,
.txtverdesobreblanco{
	letter-spacing: -2px;
}
.txtblancosobrenegro {
	text-shadow: 0 0 10px #000000;
	color: #ffffff;
}
.txtnegrosobreblanco {
	text-shadow: 3px 3px 4px #ffffff;
	color: #000000;
}
.txtverdesobreblanco {
	text-shadow: 0 0 10px #ffffff;
	color: #008477;
}

.txt5vh{
	font-size: 5vh;
}
.txt4vh {
	font-size: 4vh;
}
.txt1em{
	font-size: 1em;
}

.centrado {
	display: block;
	margin: auto auto;
	text-align: center;
}
.flexhc {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	width: 100%;
}
.flexvc {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-ms-flex-pack: distribute;
	    justify-content: space-around;
}
.fullscreen, .fullscreenflex {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	-ms-overflow-style: none;
}
.fullscreenflex {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
}
.fila1x {
	height: 20%;
}
.btn {
	margin-bottom: 5px;
	border: solid #000000 4px;
	border-radius: 10px;
	background: #ddffff;
	padding: 5px 20px 5px 20px;
	text-decoration: none;
	color: #000000;
	font-family: 'RammettoOne';
	font-size: 4vh;
}
.btn:hover {
	text-decoration: none;
}
.btn-mini {
	display: inline-block;
	margin: 5px;
	border: solid #49cebb 2px;
	background-color: #08160c;
	padding: 5px;
	color: #ddffff;
	font-size: medium;
}
.inithidden, .fullscreen::-webkit-scrollbar {
	display: none;
}
#trophy:hover, .btn:hover {
	background-color: #00fff2;
}
#loading, #help, #trophy, #userpanel {
	background-color: #008477;
}
.animacionUpDown {
	animation-name: UpDown;
	animation-duration: 1s;
	animation-iteration-count: infinite;
	animation-direction: alternate-reverse;
	animation-fill-mode: both;
	-webkit-animation-name: UpDown;
	-webkit-animation-duration: 1s;
	-webkit-animation-fill-mode: both;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-direction: alternate-reverse;
}
@-webkit-keyframes UpDown {
	from {
		-webkit-transform: translateY(-2%);
	}
	to {
		-webkit-transform: translateY(2%);
	}
}
@keyframes UpDown {
	from {
		-webkit-transform: translateY(-2%);
	}
	to {
		-webkit-transform: translateY(2%);
	}
}
.animacionPopUp {
	animation-name: PopUp;
	animation-duration: 0.3s;
	animation-timing-function: ease-in;
	animation-fill-mode: both;
	-webkit-animation-name: PopUp;
	-webkit-animation-duration: 0.3s;
	-webkit-animation-fill-mode: both;
	-webkit-animation-timing-function: ease-in;
}
@-webkit-keyframes PopUp {
	from {
		-webkit-transform: scale(0.2, 0.2);
	}
	to {
		-webkit-transform: scale(1, 1);
	}
}
@keyframes PopUp {
	from {
		-webkit-transform: scale(0.2, 0.2);
	}
	to {
		-webkit-transform: scale(1, 1);
	}
}
@font-face {
	font-family: RammettoOne;
	src: url(../fonts/RammettoOne-Regular.ttf);
}
@media (max-width: 380px) {
	button.btn-mini {
		width: 25%;
		font-size: 3vw;
	}
}
