html, body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	font-family: sans-serif;
	color: #6E00BB;
}


/*Generales*/

a{ 
	text-decoration: none; 
	border: 0;
	cursor: pointer;
	outline: none;
	color: #ffffff;
}


.reference{
	position: relative;
}

#juego{
	/*max-width: 800px;
	max-height: 600px;*/
	width: 100%;
	height: 95%;
	margin: 0 auto;
	overflow: hidden;
	background-size: 100% 100%;
	/*border: 4px solid rgb(103, 59, 5);*/
	box-sizing: border-box;
	max-width: 1694px;
	max-height: 1011px;
	border-radius: 4px;
	position: absolute;
	left: 50%;
	bottom: 10%;
	transform: translate(-50%,10%);
	-ms-transform: translate(-50%,10%);
	-moz-transform: translate(-50%,10%);
	-o-transform: translate(-50%,10%);
	-webkit-transform: translate(-50%,10%);
}

.main{
	width: 80%;
	height: 100%;
	margin: 0 auto;
	text-align: center;
	min-width: 300px;
}

.none{
	display:none;
}

.nones{
	display: none !important;
}

/* The original commercial "Marujo" webfont was replaced by Luckiest Guy
   (Apache 2.0), installed by bun and copied into vendor/ at build time.
   The family alias is kept so the rest of this stylesheet stays untouched. */
@font-face {
    font-family: 'marujoregular';
    src: url(../vendor/fonts/luckiest-guy-latin-400-normal.woff2) format('woff2'),
         url(../vendor/fonts/luckiest-guy-latin-400-normal.woff) format('woff');
    font-weight: normal;
    font-style: normal;
}

/*Home - Inicio del juego*/

body,.back_image_special{
	background: url(../img/back.jpg) no-repeat top center #C8FFBE;
	background-repeat: repeat; 
}

.backg{
	background: url(../img/back.jpg) no-repeat top center #C8FFBE;
}

.home_imgInicio{
	width: 50%;
	min-width: 200px;
	height: auto;
}
.home_descripcion{
	width: 65%;
	height: auto;
	margin: 0px auto;
	font-size: 18px;
}

.home_botonIniciar{
	width: 20%;
	height: auto;
	display: inline-block;
	margin: 40px auto !important;
	min-width: 125px;
	max-width: 300px;
}

.home_botonIniciar img{
	width: 100%;
}

.home_legales{
	width: 100%;
	height: 40px;
	margin-top: 0 auto;
}

.home_legales a{
	color: #ffffff;
	font-size: 12px;
}



/*Interior juego*/

.header{
	width: 100%;
	margin: 0 auto;
	overflow: hidden;
}

.header_logo2 {
	width: 40%;
	height: auto;
	float: left;
}

.header_logo2 img{
	width: 100%;
	max-width: 400px;
}

.header_botones{
	width: 40%;
	height: auto;
	padding: 2% 0 2% 0;
	float: right;
}

.header_botones a{
	width:30%;
	height: auto;
	float: right;
}

.header_botones a img{
	width:100%;
	height: auto;
	max-width: 120px;
}

.header_timerYusuario{
	width: 45%;
	min-height: 30px;
	margin-right: auto;
	margin-left: auto;
	    position: absolute;
	 left: 65%;
	 transform: translate(-50%,0);
}

.timer p{
	font-family: 'marujoregular';
	font-size: 32px;
	text-align: center;
	margin: 0;
}


.header_usuarioConectado{
	width: 210px;
	height: auto;
	float: right;
	margin-top: 10px;
}

img.header_fotoUsuario{
	width: 30px;
	height: 30px;
	margin-left: 10px;
	float: right;
}

.header_nombreusuario{
	float: right;
	font-size: 12px;
	color: #ffffff;
}

.header_tiempoVencer{
	float: right;
	font-size: 12px;
	color: #ffffff;
}

.juego{
	width: 100%;
	height: auto;
	margin: 0 auto;
	padding:1%;
	overflow: hidden;
}


.footer{
	width: 100%;
	height: 20px;
	position: absolute;
	bottom: 0;
	left: 50%;
	margin: 0;
	max-width: 791px;
	transform: translate(-50%);
	-ms-transform: translate(-50%);
	-moz-transform: translate(-50%);
	-o-transform: translate(-50%);
	-webkit-transform: translate(-50%);
}

.footer a {
	font-size: 9pt;
	color: #ffffff;
	float: left;
	margin-right: 10px;
}

.clear{
	clear: both;
}


/*Estilos lightbox*/

.lightbox{
	width: 80%;
	height: auto;
	margin: 0 auto;
	text-align: center;
}

.instrucciones img, .gracias img, .compartir img, .volverJugar img{
	width: 100%;
	height: auto;
	margin: 0 auto;
	text-align: center;
	padding: 1%;
}

.premios img{
	max-width: 297px;
}


.instrucciones img{
	max-width: 403px;
	width: 100%;
	box-sizing: border-box;
}

.gracias img{
	max-width: 481px;
	box-sizing: border-box;
}

.compartir img{
	max-width: 283px;

}

.volverJugar img{
	max-width: 260px;
	padding: 0;
}

.tiempoHecho{
	font-family: 'sports_worldregular';
	font-size: 40px;
	margin: -12px auto 10px auto;
	text-align: center;
}

ul.tablaGanadores{
	width: 100%;
	max-width: 300px;
	height: auto;
	margin: 0 auto;
	padding: 1%;
	box-sizing: border-box;
}

ul.tablaGanadores li{
	width: 100%;
	height: auto;
	list-style: none;
	clear: left;
	padding: 10px 0 10px 0;
	border-bottom: 1px dotted #ffffff;
	font-size: 12px;
	box-sizing: inherit;
}

ul.tablaGanadores li.headerGanadores img{
	width: 100%;
	max-width: 260px;
	height: auto;
}

span.fotoUsuario{
	width: 30px;
	margin-right: 10px;
	float: left;
}

span.fotoUsuario img{
	width: 100%;
	height: auto;
}

ul.tablaGanadores li p.nombreUsuario{
	margin: 0;
	font-size: 12px;
	color: #ffffff;
	float: left;
}

ul.tablaGanadores li p.tiempoUsuario{
	margin: 0;
	line-height: 100%;
	float: left;

}


/*640 px*/
@media screen and (max-width:640px){

	.home_imgInicio{
	width: 80%;
	min-width: 200px;
	height: auto;
	}

	.home_descripcion{
		font-size: 14px;
	}
	
	.home_descripcion{
		width: 90%;
	}


	.header_botones{
		width: 50%;
	}

	.header_botones a{
		width:33%;
	}

	.header_botones a img{
		width:100%;
		height: auto;
		max-width: 120px;
	}

	.header_timerYusuario{
		width: 100%;
		float: left;
		margin: 0;
		text-align: center;
	}

	.timer p{
		font-size: 20px;
		text-align: center;
	}


	.header_usuarioConectado{
		width: 100%;
		float: none;
		margin: 10px 0 10px 0;
	}

	img.header_fotoUsuario{
		display: none;
	}

	.header_nombreusuario{
		text-align: center;
		float: none;
	}

	.header_tiempoVencer{
		float: none;
	}

	.tiempoHecho{
		font-size: 30px;
	}	

}

/*	Sobreescribo estilos	*/

body{
	background: url(../img/back.jpg) no-repeat bottom center #C8FFBE;
	background-repeat: repeat;
}

.tablero{
	width: 100%;
	height: 100%;
}

.relativo{
	width: 100%;
	height: 100%;
	position: relative;
}

.my_center{
	transform: translate(-50%,-50%) !important;
	-ms-transform: translate(-50%,-50%) !important;
	-moz-transform: translate(-50%,-50%) !important;
	-o-transform: translate(-50%,-50%) !important;
	-webkit-transform: translate(-50%,-50%) !important;
	position: absolute !important;
}

.fruta{
	width: 70%;
	height: 70%;
	top:50%;
	left: 50%;
	background-size: contain !important;
	transform: translate(-50%,-50%) !important;
	-ms-transform: translate(-50%,-50%) !important;
	-moz-transform: translate(-50%,-50%) !important;
	-o-transform: translate(-50%,-50%) !important;
	-webkit-transform: translate(-50%,-50%) !important;
	position: absolute !important;
}

.fruta_contenedor{
	width: 100px;
	height: 100px;
	position: absolute;
	top: 90%;
	opacity: 0;
	z-index: 3;
}

.burbuja{
	width: 100%;
	height: 100%;
	transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	-moz-transform: translate(-50%,-50%);
	-o-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	top: 50%;
}

.puntos{
	width: 30%;
	height: 30%;
	left: 90%;
	top: 12%;
	background-size: 90% !important;
}

.burbuja_romper{
	width: 230%;
	height: 230%;
}

.burbuja_normal{
	cursor: pointer;
}

.invisible{
	display: none;
}

.counter{
	position: absolute;
	transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	-moz-transform: translate(-50%,-50%);
	-o-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	top:50%;
	left: 50%;
	display: none;
	font-size: 5em;
}

.counter h1{
	font-size: 5em;
}

@media screen and (max-width: 700px){
	.fruta_contenedor{
		width: 50px;
		height: 50px;
	}
}

#timer_c,.timer_c{
	display: none;
}

body{
	overflow: hidden;
}

body, body * {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}

.puntos_tabla{
	width: 300px;
	font-family: 'marujoregular';
	font-size: 14px;
}

.positivo{
	color: #02FF02;
}

.negativo{
	color: #DC5858;
}

.topborder{
	border-top: 2px solid white;
}

.title_table{
	text-align: left;
}

#racha{
	display: none;
	font-size: 16px;
}

.clearFloat{
	height: 0;
	margin: 0;
	padding: 0;
	clear: left;
	display: inline-block;
}

.racha{
	margin-left: 10px !important;
}

.bloque{
	display: block;
	text-align: center;
	margin-top: 0px;
}

.logo_fin{
		max-width: 310px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	display: block;
	padding: 0 !important;
}


.neoburbuja{
	background: url(../png/burbuja.png) no-repeat center center transparent;
	background-size: 100% 100%;
	position: absolute;
	transform:translate(-50%,-50%);
	top: 50%;
	left: 50%;
	width: 100%;
	height: 100%;
	z-index: -1;
	cursor: default;
}

.neoburbuja_estalla{
	background: url(../png/burbuja2.png) no-repeat center center transparent;
	background-size: 100% 100%;
	position: absolute;
	transform:translate(-50%,-50%);
	top: 50%;
	left: 50%;
	width: 230%;
	height: 230%;
	z-index: 100;
	cursor: default;
}


.neoburbuja_click{
	background-color: red;
	transform:translate(-50%,-50%);
	opacity:0;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 100%;
	border-radius: 50px;
	z-index: 1000;
}

.pentagono{
	background: url(../png/pentagono.png) no-repeat center center transparent;
	background-size: containt !important;
}

.circulo{
	background: url(../png/circulo.png) no-repeat center center transparent;
	background-size: containt !important;
}

.cuadrado{
	background-size: containt !important;
	background: url(../png/cuadrado.png) no-repeat center center transparent;
}

.triangulo{
	background-size: containt !important;
	background: url(../png/triangulo.png) no-repeat center center transparent;
}

.mora{
	background-size: containt !important;
	background: url(../png/mora.png) no-repeat center center transparent;
}

.d50{
	background: url(../png/50.png) no-repeat center center transparent;
}

.dmenos7{
	background: url(../png/menos7.png) no-repeat center center transparent;
}

.dtiempo{
	background: url(../png/tiempo.png) no-repeat center center transparent;
}

.back_image_special{
	display:none;
	opacity:1;
}

.back_color_special{
	display:none;
	background: url(../img/f.jpg);
}

.back_image_special,.back_color_special{
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.tiempoHecho.mitexto{
	display: none;
}

.tablafinal{
	background-color: rgb(148, 148, 148);
    border-radius: 5px;
    left: 50%;
    top: 15%;
}
/* img/back.jpg was already missing when the project was first committed, so the
   page fell back to flat #C8FFBE. Gradient in the same palette as replacement. */
body,.back_image_special,.backg{
	background: linear-gradient(180deg, #eaffe6 0%, #c8ffbe 45%, #9fe6a0 100%) fixed;
}

/* Site navigation added for bubbles.3m4.net: back button + footer,
   styled to match the classic game (burbuja sprite + purple palette) */
.back-home{
	position: fixed;
	top: 12px;
	left: 14px;
	z-index: 50;
	display: flex;
	align-items: center;
	gap: 5px;
	text-decoration: none;
}
.back-bubble{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	background: url(../png/burbuja2.png) no-repeat center center transparent;
	background-size: contain;
	filter: drop-shadow(0 1px 2px rgba(0,0,0,.25));
}
.back-bubble svg{
	margin-right: 3px;
}
.back-text{
	font-family: 'marujoregular', sans-serif;
	font-size: 22px;
	line-height: 1;
	/* Luckiest Guy glyphs sit high above the baseline; nudge to optical center */
	transform: translateY(3px);
	color: #6E00BB;
	text-shadow: 0 1px 0 rgba(255,255,255,.6);
}
.back-home:hover .back-text{
	text-decoration: underline;
}
.site-footer{
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 50;
	display: flex;
	gap: 18px;
	align-items: center;
	justify-content: center;
	padding: 6px 10px;
	font: 13px sans-serif;
	color: #fff;
	background: rgba(3, 41, 61, 0.55);
}
.site-footer a{
	color: #fff;
}

/* Corner language selector (shared catalog, generated vendor/i18n.js) */
.lang-sel-classic{
	position: fixed;
	top: 12px;
	right: 14px;
	z-index: 60;
	font-family: sans-serif;
}
.lang-sel-classic .lang-toggle{
	background: rgba(3, 41, 61, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.5);
	color: #fff;
	border-radius: 999px;
	padding: 6px 13px;
	font-weight: 700;
	cursor: pointer;
	font-size: 13px;
}
.lang-sel-classic .lang-panel{
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	background: #0c2b3f;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 12px;
	padding: 6px;
	max-height: 320px;
	overflow-y: auto;
	min-width: 210px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.lang-sel-classic .lang-panel button{
	display: block;
	width: 100%;
	background: none;
	border: none;
	color: #e8f1f7;
	cursor: pointer;
	padding: 7px 10px;
	border-radius: 8px;
	font-size: 13px;
	text-align: left;
}
.lang-sel-classic .lang-panel button:hover{
	background: rgba(255, 255, 255, 0.12);
}
.lang-sel-classic .lang-panel button.active{
	background: rgba(53, 208, 186, 0.25);
}

.lang-sel-classic .lang-search{
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 8px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 8px;
	color: #fff;
	padding: 6px 10px;
	font-size: 13px;
}
.lang-sel-classic .lang-list{
	max-height: 260px;
	overflow-y: auto;
}
.lang-sel-classic .lang-caret{
	opacity: 0.6;
	font-size: 11px;
}
@media screen and (max-width:640px){
	.lang-sel-classic .lang-name{
		display: none;
	}
}
