/* MODAL */
#modal {
	/*background: rgba(0, 0, 0, 0.9);*/
	background-image: url("../img/fondo-start.jpg");
	background-size: cover;
	background-position: center center;
	color: #fff;
	position: fixed;
	top: 0;
	left: 0;
	height: 100vh;
	width: 100vw;
	z-index: 999;
	transition: all .5s;
}

@media (max-width: 800px) {
	#modal {
		/*background: rgba(0, 0, 0, 0.9);*/
		background-image: url("../img/fondo-start-movil.jpg");
		background-size: cover;
		background-position: center center;
		color: #fff;
		position: fixed;
		top: 0;
		left: 0;
		height: 100vh;
		width: 100vw;2
		z-index: 999;
		transition: all .5s;
	}



/*//////////////////////
  CONTENEDOR BOTONES 
//////////////////////*/

.contendor-botones {
  width: 80%;
  /*max-width: 320px;*/
  margin: auto;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  align-items: center;                   /* centramos los div */
  margin-top: 15rem;    
}

.contendor-botones  > div a {
  display: block;
  padding: 20px;
  background: rgba(252,234,187,1);
  background: -moz-linear-gradient(top, rgba(252,234,187,1) 0%, rgba(250,244,77,1) 50%, rgba(247,202,0,1) 51%, rgba(251,223,147,1) 100%);
  background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(252,234,187,1)), color-stop(50%, rgba(250,244,77,1)), color-stop(51%, rgba(247,202,0,1)), color-stop(100%, rgba(251,223,147,1)));
  background: -webkit-linear-gradient(top, rgba(252,234,187,1) 0%, rgba(250,244,77,1) 50%, rgba(247,202,0,1) 51%, rgba(251,223,147,1) 100%);
  background: -o-linear-gradient(top, rgba(252,234,187,1) 0%, rgba(250,244,77,1) 50%, rgba(247,202,0,1) 51%, rgba(251,223,147,1) 100%);
  background: -ms-linear-gradient(top, rgba(252,234,187,1) 0%, rgba(250,244,77,1) 50%, rgba(247,202,0,1) 51%, rgba(251,223,147,1) 100%);
  background: linear-gradient(to bottom, rgba(252,234,187,1) 0%, rgba(250,244,77,1) 50%, rgba(247,202,0,1) 51%, rgba(251,223,147,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fceabb', endColorstr='#fbdf93', GradientType=0 );
  border:.5rem #ff6699 solid;
  color: #ff6699;
  box-shadow: 2px 2px 5px rgba(0,0,0,.5);
  border-radius: 50px;
  font-size: 25px;
  font-weight: 800;
  text-decoration: none;
}

.contendor-botones  > div a:hover {
  display: block;
  padding: 20px;
  background: rgba(252,234,187,1);
  background: -moz-linear-gradient(top, rgba(252,234,187,1) 0%, rgba(250,244,77,1) 50%, rgba(247,202,0,1) 51%, rgba(251,223,147,1) 100%);
  background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(252,234,187,1)), color-stop(50%, rgba(250,244,77,1)), color-stop(51%, rgba(247,202,0,1)), color-stop(100%, rgba(251,223,147,1)));
  background: -webkit-linear-gradient(top, rgba(252,234,187,1) 0%, rgba(250,244,77,1) 50%, rgba(247,202,0,1) 51%, rgba(251,223,147,1) 100%);
  background: -o-linear-gradient(top, rgba(252,234,187,1) 0%, rgba(250,244,77,1) 50%, rgba(247,202,0,1) 51%, rgba(251,223,147,1) 100%);
  background: -ms-linear-gradient(top, rgba(252,234,187,1) 0%, rgba(250,244,77,1) 50%, rgba(247,202,0,1) 51%, rgba(251,223,147,1) 100%);
  background: linear-gradient(to bottom, rgba(252,234,187,1) 0%, rgba(250,244,77,1) 50%, rgba(247,202,0,1) 51%, rgba(251,223,147,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fceabb', endColorstr='#fbdf93', GradientType=0 );
  border:.5rem #ed1e79 solid;
  color: #ed1e79;
  box-shadow: 2px 2px 5px rgba(0,0,0,.5);
  border-radius: 50px;
  font-size: 35px;
  font-weight: 800;
  text-decoration: none;
}



.contendor-botones  {
  display: grid;
  grid-template-columns: 1fr;     /* tamaño de columnas nuevas fr - aplicar tambien minmax(300px, 1fr) 1fr 1fr aplica tamaño minimo a la primera */ 
  grid-template-rows: 80px 80px 80px 80px;              /* 1er fila 150px segunda 300px tamaño de filas */
  grid-gap: 10px;                         /* espaciado entre elementos */
}



.boton-jugar:hover{
  animation: boton-jugar linear 1s;
  /*animation-iteration-count: infinite;*/
  transform-origin: 50% 50%;
  -webkit-animation: boton-jugar linear 1s;
  /*-webkit-animation-iteration-count: infinite;*/
  -webkit-transform-origin: 50% 50%;
  -moz-animation: boton-jugar linear 1s;
  /*-moz-animation-iteration-count: infinite;*/
  -moz-transform-origin: 50% 50%;
  -o-animation: boton-jugar linear 1s;
  /*-o-animation-iteration-count: infinite;*/
  -o-transform-origin: 50% 50%;
  -ms-animation: boton-jugar linear 1s;
  /*-ms-animation-iteration-count: infinite;*/
  -ms-transform-origin: 50% 50%;
}

@keyframes boton-jugar{
  0% {
    transform:  rotate(0deg) scaleX(1.00) scaleY(1.00) ;
  }
  10% {
    transform:  rotate(-3deg) scaleX(0.80) scaleY(0.80) ;
  }
  20% {
    transform:  rotate(-3deg) scaleX(0.80) scaleY(0.80) ;
  }
  30% {
    transform:  rotate(3deg) scaleX(1.20) scaleY(1.20) ;
  }
  40% {
    transform:  rotate(-3deg) scaleX(1.20) scaleY(1.20) ;
  }
  50% {
    transform:  rotate(3deg) scaleX(1.20) scaleY(1.20) ;
  }
  60% {
    transform:  rotate(-3deg) scaleX(1.20) scaleY(1.20) ;
  }
  70% {
    transform:  rotate(3deg) scaleX(1.20) scaleY(1.20) ;
  }
  80% {
    transform:  rotate(-3deg) scaleX(1.20) scaleY(1.20) ;
  }
  90% {
    transform:  rotate(3deg) scaleX(1.20) scaleY(1.20) ;
  }
  100% {
    transform:  rotate(0deg) scaleX(1.20) scaleY(1.20) ;
  }
}

@-moz-keyframes boton-jugar{
  0% {
    -moz-transform:  rotate(0deg) scaleX(1.00) scaleY(1.00) ;
  }
  10% {
    -moz-transform:  rotate(-3deg) scaleX(0.80) scaleY(0.80) ;
  }
  20% {
    -moz-transform:  rotate(-3deg) scaleX(0.80) scaleY(0.80) ;
  }
  30% {
    -moz-transform:  rotate(3deg) scaleX(1.20) scaleY(1.20) ;
  }
  40% {
    -moz-transform:  rotate(-3deg) scaleX(1.20) scaleY(1.20) ;
  }
  50% {
    -moz-transform:  rotate(3deg) scaleX(1.20) scaleY(1.20) ;
  }
  60% {
    -moz-transform:  rotate(-3deg) scaleX(1.20) scaleY(1.20) ;
  }
  70% {
    -moz-transform:  rotate(3deg) scaleX(1.20) scaleY(1.20) ;
  }
  80% {
    -moz-transform:  rotate(-3deg) scaleX(1.20) scaleY(1.20) ;
  }
  90% {
    -moz-transform:  rotate(3deg) scaleX(1.20) scaleY(1.20) ;
  }
  100% {
    -moz-transform:  rotate(0deg) scaleX(1.20) scaleY(1.20) ;
  }
}

@-webkit-keyframes boton-jugar {
  0% {
    -webkit-transform:  rotate(0deg) scaleX(1.00) scaleY(1.00) ;
  }
  10% {
    -webkit-transform:  rotate(-3deg) scaleX(0.80) scaleY(0.80) ;
  }
  20% {
    -webkit-transform:  rotate(-3deg) scaleX(0.80) scaleY(0.80) ;
  }
  30% {
    -webkit-transform:  rotate(3deg) scaleX(1.20) scaleY(1.20) ;
  }
  40% {
    -webkit-transform:  rotate(-3deg) scaleX(1.20) scaleY(1.20) ;
  }
  50% {
    -webkit-transform:  rotate(3deg) scaleX(1.20) scaleY(1.20) ;
  }
  60% {
    -webkit-transform:  rotate(-3deg) scaleX(1.20) scaleY(1.20) ;
  }
  70% {
    -webkit-transform:  rotate(3deg) scaleX(1.20) scaleY(1.20) ;
  }
  80% {
    -webkit-transform:  rotate(-3deg) scaleX(1.20) scaleY(1.20) ;
  }
  90% {
    -webkit-transform:  rotate(3deg) scaleX(1.20) scaleY(1.20) ;
  }
  100% {
    -webkit-transform:  rotate(0deg) scaleX(1.20) scaleY(1.20) ;
  }
}

@-o-keyframes boton-jugar {
  0% {
    -o-transform:  rotate(0deg) scaleX(1.00) scaleY(1.00) ;
  }
  10% {
    -o-transform:  rotate(-3deg) scaleX(0.80) scaleY(0.80) ;
  }
  20% {
    -o-transform:  rotate(-3deg) scaleX(0.80) scaleY(0.80) ;
  }
  30% {
    -o-transform:  rotate(3deg) scaleX(1.20) scaleY(1.20) ;
  }
  40% {
    -o-transform:  rotate(-3deg) scaleX(1.20) scaleY(1.20) ;
  }
  50% {
    -o-transform:  rotate(3deg) scaleX(1.20) scaleY(1.20) ;
  }
  60% {
    -o-transform:  rotate(-3deg) scaleX(1.20) scaleY(1.20) ;
  }
  70% {
    -o-transform:  rotate(3deg) scaleX(1.20) scaleY(1.20) ;
  }
  80% {
    -o-transform:  rotate(-3deg) scaleX(1.20) scaleY(1.20) ;
  }
  90% {
    -o-transform:  rotate(3deg) scaleX(1.20) scaleY(1.20) ;
  }
  100% {
    -o-transform:  rotate(0deg) scaleX(1.20) scaleY(1.20) ;
  }
}

@-ms-keyframes boton-jugar {
  0% {
    -ms-transform:  rotate(0deg) scaleX(1.00) scaleY(1.00) ;
  }
  10% {
    -ms-transform:  rotate(-3deg) scaleX(0.80) scaleY(0.80) ;
  }
  20% {
    -ms-transform:  rotate(-3deg) scaleX(0.80) scaleY(0.80) ;
  }
  30% {
    -ms-transform:  rotate(3deg) scaleX(1.20) scaleY(1.20) ;
  }
  40% {
    -ms-transform:  rotate(-3deg) scaleX(1.20) scaleY(1.20) ;
  }
  50% {
    -ms-transform:  rotate(3deg) scaleX(1.20) scaleY(1.20) ;
  }
  60% {
    -ms-transform:  rotate(-3deg) scaleX(1.20) scaleY(1.20) ;
  }
  70% {
    -ms-transform:  rotate(3deg) scaleX(1.20) scaleY(1.20) ;
  }
  80% {
    -ms-transform:  rotate(-3deg) scaleX(1.20) scaleY(1.20) ;
  }
  90% {
    -ms-transform:  rotate(3deg) scaleX(1.20) scaleY(1.20) ;
  }
  100% {
    -ms-transform:  rotate(0deg) scaleX(1.20) scaleY(1.20) ;
  }
}




}



#modal p {
	width: 60%;
	height: 40%;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	margin: auto;
	font-size: 1.5em;
	text-align: center;
	/*background-color: white;*/
	color: grey;
}
.boton-inicio{
	-moz-box-shadow:inset 0px 0px 24px -50px #f29c93;
	-webkit-box-shadow:inset 0px 0px 24px -50px #f29c93;
	box-shadow:inset 0px 0px 24px -50px #f29c93;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #fe1a00), color-stop(1, #7d0000));
	background:-moz-linear-gradient(top, #fe1a00 5%, #7d0000 100%);
	background:-webkit-linear-gradient(top, #fe1a00 5%, #7d0000 100%);
	background:-o-linear-gradient(top, #fe1a00 5%, #7d0000 100%);
	background:-ms-linear-gradient(top, #fe1a00 5%, #7d0000 100%);
	background:linear-gradient(to bottom, #fe1a00 5%, #7d0000 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fe1a00', endColorstr='#7d0000',GradientType=0);
	background-color:#fe1a00;
	-moz-border-radius:42px;
	-webkit-border-radius:42px;
	border-radius:42px;
	border:7px solid #fbff00;
	
	cursor:pointer;
	color:#ffffff;
	font-family:Verdana;
	font-size:28px;
	font-weight:bold;
	padding:20px 76px;
	text-decoration:none;
	text-shadow:0px 0px 32px #b23e35;

	display:flex;
	position: relative;
	bottom: -480px;
	margin: 0 auto;
	justify-content: center;
	/*width: 40%;*/
	max-width: 200px;
}

.boton-inicio:hover {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #7d0000), color-stop(1, #fe1a00));
	background:-moz-linear-gradient(top, #7d0000 5%, #fe1a00 100%);
	background:-webkit-linear-gradient(top, #7d0000 5%, #fe1a00 100%);
	background:-o-linear-gradient(top, #7d0000 5%, #fe1a00 100%);
	background:-ms-linear-gradient(top, #7d0000 5%, #fe1a00 100%);
	background:linear-gradient(to bottom, #7d0000 5%, #fe1a00 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#7d0000', endColorstr='#fe1a00',GradientType=0);
	background-color:#7d0000;
}


.modal-off{
	visibility: hidden;
	opacity: 0;
	transition: visibility 0s 2s, opacity 2s linear;
}


/* PRELOADER */
.preloader {
	background: url(../img/circles.gif) no-repeat center #000;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1000;
}