* {
    box-sizing: border-box;
    margin:0;
    border:0;
}
body {
    background-color: teal;
    font-family: "calibri", Garamond, 'Comic Sans';
}
#inicio {
    position: absolute;
    z-index: 2;
}
#marco {
	position  : fixed;
	left      : 190px;
	width     : 1000px;                
	height    : 700px;
	overflow  : hidden;
	z-index   :  1;
}

.fondo {
    position : absolute;
	width    : 1000px;
	height   : 700px; 
}
#id00, #id01 {
    top: -5px;
}

#bunny {
    position: absolute;
    left: 200px;
    top: 450px;
    z-index: 1;
}

#tasmania {
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 1;
}

img[src='img/tasmania3.png']{
    margin-left: 50px;
    margin-top: 20px;
    height: 260px;
    width: auto;
}

#zanahoria {
    position: absolute;
    top: -100px;
    left: -100px;
    width: 122px;
    height: 218px;
}

#vida, #vida1 {
    position: absolute;
    width: 0;
    height: auto;
    z-index: 3;
}

#crash, #crash1 {
    position: absolute;
    width: 0;
    height: auto;
    z-index: 2;
}

#posicion {
    margin-left: 40px;
}

#puntos {
    position: absolute;
    width: 190px;
    height: 100%;
    padding-top: 100px;
    background: lightskyblue;    
}

h2 {
    color: teal;
    padding: 15px;
    font-size: 50px;
    text-align: center;

}

h5 {
    font-size: 80px;
    text-align: center;
    color: #8a9597;
    text-shadow: 2px 2px 5px black;
}

.contador {
    float: right;
    height: auto;
}

#botones {
    position: absolute;
    left: 1190px;
    top: 150px;
}

button {
    width: 100px;
    height:100px;
    border-radius: 100%; 
    font-size: 20px;
    background: lightskyblue;
    margin: 10px 35px;
    box-shadow: 2px 2px 5px black;
    outline: none;
}

button:hover {
    background: black;
    color: white;
}

#jugar {
   font-size: 30px;
}

/* VENTANA MODAL DE LAS INSTRUCCIONES*/
/*Copiado de:
https://escss.blogspot.com.es/2016/09/ventana-modal-javascript-puro.html*/
.jmgmodal {
    position: fixed; margin: auto;
    top:0;left:0;right:0;bottom:0;
    background: rgba(0, 0, 0, 0.8);
    box-sizing: content-box;
    visibility: hidden; opacity: 0;
    transition: all .12s; z-index: 99;
}
.jmgmodal.visible {
    visibility: visible; opacity: 1;
}
.jmgmodal * {box-sizing: inherit}
.jmgmodal .panel {
    position: absolute; margin: auto;
    top:0;left:0;right:0;bottom:0;
    max-width: 600px; max-height: 70vh;
    background: #0ebeff; border-radius: 10px;
    color: #000; padding: 50px 0;
    -webkit-transform: translateY(-25%);
            transform: translateY(-25%);
    transition: all .12s;
}    
.jmgmodal.visible .panel {
    -webkit-transform: none;
            transform: none;
}
.jmgmodal .title {
    position: absolute; top: 0;
    width: 100%; height: 50px;
    line-height: 50px;
    background: black;
    color: white;
    font-size: 30px;
    font-weight: bolder; padding: 0 2em;
    box-shadow: 2px 0 10px rgba(0,0,0,.6);
    border-radius: 10px 10px 0 0;
    box-sizing: border-box;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: center;
}
.jmgmodal .panel .close {
    position: absolute; top: .25em; right: .75em;
    cursor: pointer; font-size: 25px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.jmgmodal .panel .content {
    max-height: 100%; overflow: auto;
    padding: 1em; box-sizing: border-box;
    font-size: 20px;
    float: left;
}
.jmgmodal .panel .content .p {
    float: left;
}
.jmgmodal .panel .content img {
    float: left;
    margin: 5px;
}
.jmgmodal .panel .content img[src="img/teclas.png"] {
    margin-left: 200px;
    padding: 5px;
}


    
