@font-face {
    font-family: "Baloo";
    src: url("../fonts/BalooPaaji2-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
  }
  @font-face {
    font-family: "Baloo-bold";
    src: url("../fonts/BalooPaaji2-Bold.ttf") format("truetype");
  }

  
/* para girar la pantalla en el móvil */
@media screen and (min-width:320px) and (max-width:1000px) and (orientation: portrait) {
    html {
        transform: rotate(90deg) translateY(-100%);
        transform-origin: top left;
        width: 100vh;
        height: 100vw;
        /*
        overflow-x: hidden;
        */
        position: absolute;
        top: 0;
        left: 0;
        
    }
    #gira { display:block !important}
}
@media screen and (min-width: 320px) and (max-width:1000px) and (orientation: landscape) {
    #gira { display:none }
}

* {
	user-select: none;
}
html, body {
    padding:0; 
    margin:0; 
    width:100%;
    height:100%;
    background:#000;
	/*
    overflow:hidden;
    position: fixed;
    */
	color:#000;
	font-family: 'Baloo', sans-serif;
}
video {
    width:100%;
    height:auto;
}
video::-webkit-media-controls-fullscreen-button {
        display: none !important;
}
a {
    text-decoration:underline;
    cursor:pointer;
    color:#333;
    outline: none;
}
b {
    font-family: 'Baloobold', sans-serif;
}

canvas,.pantalla_completa {
	width: 100%;
	height: 100%;
}
#btn-menu {
    z-index:100; 
    position:fixed; 
    top:0px; 
    right:0; 
    width:50%; 
    height:50px; 
    padding:20px;
    text-align:right;
}
#ayuda_inicial {
    float:right;
    font-size:30px; 
    color:#fff;  
    padding-top:0px !important;
    padding-bottom:10px !important;
    padding-right:10px;
}
.dg {
	opacity: 0.9;
}

.dg .property-name {
	overflow: visible;
}
.btn {
	display: inline-block;
	font-weight: 400;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	border: 1px solid transparent;
	padding: .375rem .75rem;
	font-size: 1rem;
	line-height: 1.5;
	border-radius: .25rem;
	transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
	background-color: #770000;
	color:#fff;
}

.muestra_capa {
    z-index:98; 
    display:none; 
    position:absolute; 
    top:30px; 
    right:10px; 
    width:85%; 
    max-height:90%;
    padding:20px; 
    opacity:0.9; 
    border-radius:10px; 
    background:#fff; 
    color:#000;
}
#menu {
    z-index:99; 
    display:none; 
    position:absolute; 
    top:10px; 
    right:10px; 
    width:50%; 
    max-width:250px; 
    padding:10px; 
    opacity:0.9; 
    border-radius:10px; 
    background:#fff; 
    color:000;
}
#menu>ul {
    padding:0; 
    list-style:none;
}
#menu>ul>li {
    padding-bottom:10px;
}
#menu>ul>li>a {
    text-decoration:none;
}

.final_sin {
    background-image:url('../img/opcion-0.png');
    background-position:right 3px;
    background-repeat:no-repeat;
}
.final_0 {
    background-image:url('../img/opcion-a.png');
    background-position:right 3px;
    background-repeat:no-repeat;
}
.final_1 {
    background-image:url('../img/opcion-b.png');
    background-position:right 3px;
    background-repeat:no-repeat;
}
#capa3_opciones {
    width:100%; 
    height:50%; 
    padding-top:5%;
    position:absolute; 
    bottom:150px; 
    left:0; 
    /*
    opacity:0.9; 
    font-size:20px; 
    text-align:center; 
    color:#fff; 
    background:#000;
    */
    
}
#capa4_cuenta_atras {
    width:100%; 
    height:100px; 
    position:absolute; 
    top:10%; 
    left:0; 
    font-size:150px; 
    text-align:center; 
    color:#fff; 
    opacity:0.8;
}
.btn_malo {
    /*border:5px solid #ff0000; */
}
#btn_malo {
   	height:auto; 
    width:90%; 
    max-width:400px;
    background:transparent;
    border:none;
    cursor:pointer;
}
.btn_bueno {
    /*border:5px solid #0ff000; */
}
#btn_bueno {
    height:auto;
    width:90%; 
    max-width:400px;
   	background:transparent;
    border:none;
    cursor:pointer;
}
#final-elige {
    font-size:80px; 
    color:#fff;  
    padding-top:60px;
    width:30%; 
    float:left; 
    text-align:center;
}
#final-malo, #final-bueno {
	width:35%; 
	float:left; 
	text-align:center;
}
.img-boton {
    border-radius:5%; 
    width:100%; 
    height:auto;
}

/* estilos para movil */
@media screen and (max-width: 1024px) {
    #menu {
        height:100%;
        max-height:320px;
    }
    #menu>ul {
        height:100%; 
        max-height:250px;
        overflow-y:scroll;
    }
    #final-elige {
    	font-size:30px !important; 
    	padding-top:120px !important;
    }
    #capa3_opciones {
	    width:100%; 
	    height:60% !important; 
	    padding-top:20% !important;
	    position:absolute; 
	    bottom:50px !important; 
	    left:0;     
		}
		#btn_malo {
			max-width:200px !important;
		}
		#btn_bueno {
   		max-width:200px !important;
		}
		#capa4_cuenta_atras {
			top:10px !important;
		}
}


/* estilos para ipad */
@media screen and (device-width: 1024px) {
 		#menu {
        max-height:400px !important;
    }
    #menu>ul {
        max-height:330px !important;
    }
    
}