@font-face {
  font-family: 'Kalam';
  src: url('//ep00.epimg.net/fonts/especiales/kalam/kalam-bold-webfont.woff2') format('woff2'),
       url('//ep00.epimg.net/fonts/especiales/kalam/kalam-bold-webfont.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Kalam';
  src: url('//ep00.epimg.net/fonts/especiales/kalam/kalam-regular-webfont.woff2') format('woff2'),
       url('//ep00.epimg.net/fonts/especiales/kalam/kalam-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Kalam';
  src: url('//ep00.epimg.net/fonts/especiales/kalam/kalam-light-webfont.woff2') format('woff2'),
       url('//ep00.epimg.net/fonts/especiales/kalam/kalam-light-webfont.woff') format('woff');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat';
  src: url('//ep00.epimg.net/fonts/especiales/montserrat/montserrat-regular-webfont.woff2') format('woff2'),
       url('//ep00.epimg.net/fonts/especiales/montserrat/montserrat-regular-webfont.woff') format('woff');
  font-weight: 300;
  font-style: normal;
}


body {
  background-color: #FBF3EF;
  background-image: url(../img/fondo.png);
  background-repeat: repeat-y;
  background-size: 120px auto;
  background-position: calc(100% - 20px) top;
  -webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
  font-family: 'Montserrat';
  margin: 0;
  padding: 0;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* boton subir */

.boton_subir {
  position: absolute;
  left: 50%;
  top: 98%;
  transform: translate(-50%, -98%);
  -webkit-transform: translate(-50%, -98%);  
  display: block;
  text-indent: -9999px;
  width: 100px;
  height: 100px;
  background: url(../img/icono-subir.svg) no-repeat center top;
}

@media screen and (max-width: 1023px){

  .boton_subir {
    left: auto;
    right: 104px;
    top: 97%;
    transform: none;
    -webkit-transform: none;      
    width: 80px;
    height: 80px;
    background-size: 80px auto;
  }

}

@media screen and (max-width: 767px){

  .boton_subir {
    right: 50px;
    top: 97%;   
    width: 60px;
    height: 60px;
    background-size: 60px auto;
  }

}


/* info */

.info-movil {
  display: none;
}

/* CABECERA */

.cabecera {
  background: #00B584;
  padding: 10px;
  position: fixed;
  top: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 21;
  overflow: hidden;
}

body.start .cabecera {
  top: 0;
  bottom: auto;
}

.logo {
  float: left;
  display: block;
  margin: 5px 0 0;
}

.logo a {
	background: url('/verne/iconos/v1.x/v1.0/logos/verne.svg') no-repeat scroll center;
  background-size: contain;
	display: block;
  text-align: left;
	text-indent: -9999px;
  overflow: hidden;
	width: 95px;
	height: 24px;
}

.compartir {
  float: right;
  margin-top: -1px;
  margin-bottom: 0;
}

.compartir li {
  float: left;
  list-style: none;
  margin-left: 10px;
}

.compartir li a {
  text-align: left;
  text-indent: -9999px;
  overflow: hidden;
  display: block;
  width: 35px;
  height: 35px;
  margin: 0;
  transition: opacity .3s;
}

.compartir li a.facebook {
  background: url('../img/icono-facebook.svg') no-repeat center;
}

.compartir li a.twitter {
  background: url('../img/icono-twitter.svg') no-repeat center;
}

.compartir li a.whatsapp {
  background: url('../img/icono-whatsapp.svg') no-repeat center;
}

/* INTRO */

.intro {
  height: 100vh;
  max-height: 0vh;
  width: 100vw;
  background: #00B584;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 20;
  transition: max-height 1s;
  overflow: hidden;
}

body.start {
  overflow: hidden;
}

body.start .intro {
  max-height: 100vh;
}

.intro .contenedor {
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%,-150%);
  transform: translate(-50%,-150%);
  -webkit-transform: translate(-50%,-150%);
  width: 100%;
  max-width: 320px;
  text-align: center;
  padding: 10px 30px;
  transition: transform 1s;
}

body.start .intro .contenedor {
  -ms-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
}

.intro h2 {
  font-weight: 800;
  font-style: normal;
  font-size: 24px;
  line-height: 110%;
  color: white;
  text-align: center;
  margin-bottom: 20px;
}

.intro p {
  font-weight: 500;
  font-style: normal;
  font-size: 14px;
  line-height: 140%;
  color: white;
  text-align: center;
  margin: 0 auto 40px;
  width: 86%;
}

.boton {
  font-weight: 500;
  font-style: normal;
  font-size: 14px;
	line-height: 120%;
	color: white;
	text-align: center;
  display: inline-block;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 25px;
  border: 2px solid white;
  padding: 13px 30px;
  margin: 0 1%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  transition: opacity .3s;
  float: left;
  margin-top: 50px;
}

.intro .tonin {
  width: 87px;
  height: 150px;
  background: transparent url(../img/toninsprite.png) no-repeat;
  background-size: auto 150px;
  overflow: hidden;
  float: right;
  -webkit-animation: rodando 1.5s steps(4) infinite;
     -moz-animation: rodando 1.5s steps(4) infinite;
          animation: rodando 1.5s steps(4) infinite;
}

@-webkit-keyframes rodando {
  100% { background-position: -347px; }
}
@-moz-keyframes rodando {
  100% { background-position: -347px; }
}
@keyframes rodando {
  100% { background-position: -347px; }
}


/* RECORRIDO TOÑIN  */

body.start #escenario:before {
  height: 0;
}
#escenario:before {
  content: '';
  background: #BDAA99;
  position: fixed;
  top: 0;
  right: 78px;
  width: 8px;
  height: calc(25% + 98px);
  transition: height 1s;
  transition-delay: .5s;
}

#escenario {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

#pueblo {
  width: 100%;
  height: 9722px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

#tonin {
  top: 25%;
  right: -15px;
  position: fixed;
  z-index: 12;
  line-height: 0;
  width: 190px;
  height: 330px;
  -ms-transform: translate3d(0,0,0) scale(.45);
  -webkit-transform: translate3d(0,0,0) scale(.45);
  transform: translate3d(0,0,0) scale(.45);
  transition: top 1s;
  transition-delay: .5s;
}

body.start #tonin {
  top: 0;
}

#tonin-img {
  background: transparent url(../img/toninsprite.png) no-repeat;
  width: 190px;
  height: 330px;
  overflow: hidden;
  -webkit-transform: translate3d(0,0,0); /* fix for glitches when speech bubbles appear on Safari  */
  position: absolute;
  bottom: 0;
}


/* ESTILOS Y POSICIONES DE LOS BOCADILLOS */

#bocadillo {
  position: absolute;
  bottom: 340px;
  left: 50%;
  margin-left: -125px;
  background: transparent url(../img/bocadillo.svg) no-repeat bottom center;
  padding: 30px 20px 55px 20px;
  width: 236px;
  height: 208px;
  -ms-transform: translate3d(0,0,0) scale(0);
  -webkit-transform: translate3d(0,0,0) scale(0);
  transform: translate3d(0,0,0) scale(0);
  transform-origin: center bottom;
  opacity: 0;
  transition: all .5s;
  font-family: 'Kalam';
  font-weight: 700;
  font-style: normal;
  color: white;
  font-size: 22px;
  line-height: 115%;
  text-align: center;
}
/*
#bocadillo.google,
#bocadillo.gmail,
#bocadillo.wallapop,
#bocadillo.skype,
#bocadillo.instagram {
  font-size: 28px;
}

#bocadillo.googlemaps,
#bocadillo.candycrush {
  font-size: 26px;
}

#bocadillo.youtube {
  font-size: 24px;
}

#bocadillo.whatsapp,
#bocadillo.netflix,
#bocadillo.deliveroo,
#bocadillo.tinder {
  font-size: 30px;
}*/

#bocadillo.visible {
  -ms-transform: translate3d(0,0,0) scale(1);
  -webkit-transform: translate3d(0,0,0) scale(1);
  transform: translate3d(0,0,0) scale(1);
  opacity: 1;
}

#bocadillo:before {
  content: '';
  display: block;
  width: 80px;
  height: 80px;
  position: absolute;
  background-color: white;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 50px auto;
  border-radius: 50%;
  overflow: hidden;
  bottom: -25px;
  left: -25px;
  z-index: 1;
}
#bocadillo:after {
  content: '';
  display: block;
  width: 80px;
  height: 80px;
  background: #1cdda8;
  position: absolute;
  bottom: -25px;
  left: -25px;
  border-radius: 50%;
  -webkit-animation: blink 1.5s ease-out infinite;
     -moz-animation: blink 1.5s ease-out infinite;
          animation: blink 1.5s ease-out infinite;
}
@-webkit-keyframes blink {
  0% { transform: scale(1); opacity: 1; }
  70% { transform: scale(1.3); opacity: .5; }
  100% { transform: scale(1.3); opacity: 0; }
}
@-moz-keyframes blink {
  0% { transform: scale(1); opacity: 1; }
  70% { transform: scale(1.3); opacity: .5; }
  100% { transform: scale(1.3); opacity: 0; }
}
@keyframes blink {
  0% { transform: scale(1); opacity: 1; }
  70% { transform: scale(1.3); opacity: .5; }
  100% { transform: scale(1.3); opacity: 0; }
}
#bocadillo.google:before {
  background-image: url('../img/logo-google.svg');
}
#bocadillo.gmail:before {
  background-image: url('../img/logo-gmail.svg');
}
#bocadillo.wallapop:before {
  background-color: #13C1AC;
  background-image: url('../img/logo-wallapop.svg');
}
#bocadillo.googlemaps:before {
  background-image: url('../img/logo-googlemaps.svg');
}
#bocadillo.twitter:before {
  background-image: url('../img/logo-twitter.svg');
}
#bocadillo.facebook:before {
  background-color: #485A94;
  background-size: auto 50px;
  background-image: url('../img/logo-facebook.svg');
}
#bocadillo.youtube:before {
  background-size: 64px auto;
  background-image: url('../img/logo-youtube.svg');
}

#bocadillo.pinterest:before {
  background-size: 64px auto;
  background-image: url('../img/logo-pinterest.svg');
}

#bocadillo.candycrush:before {
  background-image: url('../img/logo-candycrush.png');
}
#bocadillo.skype:before {
  background-color: #00AFF0;
  background-image: url('../img/logo-skype.svg');
}
#bocadillo.whatsapp:before {
  background-color: #25D366;
  background-size: 40px auto;
  background-image: url('../img/logo-whatsapp.svg');
}
#bocadillo.instagram:before {
  background-image: url('../img/logo-instagram.svg');
}
#bocadillo.spotify:before {
  background-image: url('../img/logo-spotify.svg');
}
#bocadillo.uber:before {
  background-image: url('../img/logo-uber.svg');
}
#bocadillo.netflix:before {
  background-size: 60px auto;
  background-image: url('../img/logo-netflix.svg');
}
#bocadillo.deliveroo:before {
  background-image: url('../img/logo-deliveroo.svg');
}
#bocadillo.tinder:before {
  background-image: url('../img/logo-tinder.svg');
}



#bocadillo.fin { display:none;}

/* ESTILOS Y POSICIONES DE LAS APPS */

.app {
  position: absolute;
  right: 145px;
  background-position: top right;
  background-repeat: no-repeat;
  background-color: transparent;
}

.app:before {
  content: '';
  background: #A58A7A;
  position: absolute;
  bottom: 28px;
  left: 100%;
  height: 7px;
  width: 15px;
}

.app#google {
  top: 400px;
  width: 170px;
  height: 110px;
  background-image: url('../img/01-google.svg');  
}

.app#gmail {
  top: 900px;
  width: 92px;
  height: 150px;
  background-image: url('../img/02-gmail.svg');
}

.app#wallapop {
  top: 1400px;
  width: 170px;
  height: 140px;
  background-image: url('../img/03-wallapop.svg');
}

.app#googlemaps {
  top: 1900px;
  width: 170px;
  height: 140px;
  background-image: url('../img/04-googlemaps.svg');
}

.app#twitter {
  top: 2400px;
  width: 170px;
  height: 140px;
  background-image: url('../img/05-twitter.svg');
}

.app#facebook {
  top: 2900px;
  width: 170px;
  height: 140px;
  background-image: url('../img/06-facebook.svg');
}


.app#pinterest {
  top: 3400px;
  width: 170px;
  height: 140px;
  background-image: url('../img/08-pinterest.svg');
}

.app#youtube {
  top: 3900px;
  width: 170px;
  height: 140px;
  background-image: url('../img/07-youtube.svg');
}

.app#candycrush {
  top: 4400px;
  width: 170px;
  height: 140px;
  background-image: url('../img/09-candycrush.svg');
}

.app#skype {
  top: 4900px;
  width: 130px;
  height: 150px;
  background-image: url('../img/10-skype.svg');
}

.app#whatsapp {
  top: 5400px;
  width: 170px;
  height: 140px;
  background-image: url('../img/12-whatsapp.svg');
}

.app#instagram {
  top: 5900px;
  width: 92px;
  height: 150px;
  background-image: url('../img/13-instagram.svg');
}

.app#spotify {
  top: 6400px;
  width: 324px;
  height: 240px;
  background-image: url('../img/spotifysprite.png');
  background-position: left top;
  background-size: auto 240px;
  z-index: 21;
  right: -1200px;
  -ms-transform: translate3d(0,0,0) scale(.65);
  -webkit-transform: translate3d(0,0,0) scale(.65);
  transform: translate3d(0,0,0) scale(.65);
}

.app#spotify:before {
  content: none;
  display: none;
}

.app#uber {
  top: 6900px;
  width: 130px;
  height: 150px;
  background-image: url('../img/15-uber.svg');
}

.app#netflix {
  top: 7400px;
  width: 170px;
  height: 140px;
  background-image: url('../img/16-netflix.svg');
}

.app#deliveroo {
  top: 7900px;
  width: 170px;
  height: 140px;
  background-image: url('../img/17-deliveroo.svg');
}

.app#tinder {
  top: 8400px;
  width: 170px;
  height: 140px;
  background-image: url('../img/18-tinder.svg');
}

.app#fin {

  top: 9000px;
  width: 170px;
  height: 140px;
  background-image: url('../img/19-final.svg'); 


}

/* ANIMANDO LAS APPS */

.app{
  background-size: contain;
}

@media (min-width: 1024px){
  .app{
    background-size: contain;
    background-position: left bottom;  
  }  
}
/* Animando google */
.app#google.animando {
  -webkit-animation: animando_google 1s infinite;
     -moz-animation: animando_google 1s infinite;
          animation: animando_google 1s infinite;
}

@-webkit-keyframes animando_google {
  0%, 50% { background-image: url('../img/01-google.svg');}
  50.01%, 100% { background-image: url('../img/01-google-animado.svg'); }
}
@-moz-keyframes animando_google {
  0%, 50% { background-image: url('../img/01-google.svg'); }
  50.01%, 100% { background-image: url('../img/01-google-animado.svg'); }
}
@keyframes animando_google {
  0%, 50% { background-image: url('../img/01-google.svg'); }
  50.01%, 100% { background-image: url('../img/01-google-animado.svg'); }
}


/* Animando google */
.app#gmail.animando {
   -webkit-animation: animando_gmail 1.5s infinite;
     -moz-animation: animando_gmail 1.5s infinite;
          animation: animando_gmail 1.5s infinite;

}

@-webkit-keyframes animando_gmail {
  0%, 50% { background-image: url('../img/02-gmail.svg') ;}
  50.01%, 100% { background-image: url('../img/02-gmail-animado.svg'); }
}
@-moz-keyframes animando_gmail {
  0%, 50% { background-image: url('../img/02-gmail.svg'); }
  50.01%, 100% { background-image: url('../img/02-gmail-animado.svg'); }
}
@keyframes animando_gmail {
  0%, 50% { background-image: url('../img/02-gmail.svg');}
  50.01%, 100% { background-image: url('../img/02-gmail-animado.svg'); }
}


/* Animando wallapop */
.app#wallapop.animando {
   -webkit-animation: animando_wallapop 1.5s infinite;
     -moz-animation: animando_wallapop 1.5s infinite;
          animation: animando_wallapop 1.5s infinite;

}

@-webkit-keyframes animando_wallapop {
  0%, 50% { background-image: url('../img/03-wallapop.svg'); }
  50.01%, 100% { background-image: url('../img/03-wallapop-animado.svg'); }
}
@-moz-keyframes animando_wallapop {
  0%, 50% { background-image: url('../img/03-wallapop.svg'); }
  50.01%, 100% { background-image: url('../img/03-wallapop-animado.svg'); }
}
@keyframes animando_wallapop {
  0%, 50% { background-image: url('../img/03-wallapop.svg'); }
  50.01%, 100% { background-image: url('../img/03-wallapop-animado.svg'); }
}


/* Animando maps */
.app#googlemaps.animando {
   -webkit-animation: animando_googlemaps 1.5s infinite;
     -moz-animation: animando_googlemaps 1.5s infinite;
          animation: animando_googlemaps 1.5s infinite;

}

@-webkit-keyframes animando_googlemaps {
  0%, 50% { background-image: url('../img/04-googlemaps.svg'); }
  50.01%, 100% { background-image: url('../img/04-googlemaps-animado.svg'); }
}
@-moz-keyframes animando_googlemaps {
  0%, 50% { background-image: url('../img/04-googlemaps.svg'); }
  50.01%, 100% { background-image: url('../img/04-googlemaps-animado.svg'); }
}
@keyframes animando_googlemaps {
  0%, 50% { background-image: url('../img/04-googlemaps.svg'); }
  50.01%, 100% { background-image: url('../img/04-googlemaps-animado.svg'); }
}


/* Animando twitter */
.app#twitter.animando {
   -webkit-animation: animando_twitter 1.5s infinite;
     -moz-animation: animando_twitter 1.5s infinite;
          animation: animando_twitter 1.5s infinite;

}

@-webkit-keyframes animando_twitter {
  0%, 50% { background-image: url('../img/05-twitter.svg'); }
  50.01%, 100% { background-image: url('../img/05-twitter-animado.svg'); }
}
@-moz-keyframes animando_twitter {
  0%, 50% { background-image: url('../img/05-twitter.svg'); }
  50.01%, 100% { background-image: url('../img/05-twitter-animado.svg'); }
}
@keyframes animando_twitter {
  0%, 50% { background-image: url('../img/05-twitter.svg'); }
  50.01%, 100% { background-image: url('../img/05-twitter-animado.svg'); }
}


/* Animando facebook */
.app#facebook.animando {
   -webkit-animation: animando_facebook 1.5s infinite;
     -moz-animation: animando_facebook 1.5s infinite;
          animation: animando_facebook 1.5s infinite;

}

@-webkit-keyframes animando_facebook {
  0%, 50% { background-image: url('../img/06-facebook.svg'); }
  50.01%, 100% { background-image: url('../img/06-facebook-animado.svg'); }
}
@-moz-keyframes animando_facebook {
  0%, 50% { background-image: url('../img/06-facebook.svg'); }
  50.01%, 100% { background-image: url('../img/06-facebook-animado.svg'); }
}
@keyframes animando_facebook {
  0%, 50% { background-image: url('../img/06-facebook.svg'); }
  50.01%, 100% { background-image: url('../img/06-facebook-animado.svg'); }
}

/* Animando facebook */
.app#pinterest.animando {
   -webkit-animation: animando_pinterest 1.5s infinite;
     -moz-animation: animando_pinterest 1.5s infinite;
          animation: animando_pinterest 1.5s infinite;

}

@-webkit-keyframes animando_pinterest {
  0%, 50% { background-image: url('../img/08-pinterest.svg'); }
  50.01%, 100% { background-image: url('../img/08-pinterest-animado.svg'); }
}
@-moz-keyframes animando_pinterest {
  0%, 50% { background-image: url('../img/08-pinterest.svg'); }
  50.01%, 100% { background-image: url('../img/08-pinterest-animado.svg'); }
}
@keyframes animando_pinterest {
  0%, 50% { background-image: url('../img/08-pinterest.svg'); }
  50.01%, 100% { background-image: url('../img/08-pinterest-animado.svg'); }
}

/* Animando youtube */
.app#youtube.animando {
   -webkit-animation: animando_youtube 1.5s infinite;
     -moz-animation: animando_youtube 1.5s infinite;
          animation: animando_youtube 1.5s infinite;

}

@-webkit-keyframes animando_youtube {
  0%, 50% { background-image: url('../img/07-youtube.svg'); }
  50.01%, 100% { background-image: url('../img/07-youtube-animado.svg'); }
}
@-moz-keyframes animando_youtube {
  0%, 50% { background-image: url('../img/07-youtube.svg'); }
  50.01%, 100% { background-image: url('../img/08-youtube-animado.svg'); }
}
@keyframes animando_youtube {
  0%, 50% { background-image: url('../img/07-youtube.svg'); }
  50.01%, 100% { background-image: url('../img/07-youtube-animado.svg'); }
}


/* Animando candycrush */
.app#candycrush.animando {
   -webkit-animation: animando_candycrush 1.5s infinite;
     -moz-animation: animando_candycrush 1.5s infinite;
          animation: animando_candycrush 1.5s infinite;

}

@-webkit-keyframes animando_candycrush {
  0%, 50% { background-image: url('../img/09-candycrush.svg'); }
  50.01%, 100% { background-image: url('../img/09-candycrush-animado.svg'); }
}
@-moz-keyframes animando_candycrush {
  0%, 50% { background-image: url('../img/09-candycrush.svg'); }
  50.01%, 100% { background-image: url('../img/09-candycrush-animado.svg'); }
}
@keyframes animando_candycrush {
  0%, 50% { background-image: url('../img/09-candycrush.svg'); }
  50.01%, 100% { background-image: url('../img/09-candycrush-animado.svg'); }
}


/* Animando skype */
.app#skype.animando {
   -webkit-animation: animando_skype 1.5s infinite;
     -moz-animation: animando_skype 1.5s infinite;
          animation: animando_skype 1.5s infinite;

}

@-webkit-keyframes animando_skype {
  0%, 50% { background-image: url('../img/09-skype.svg'); }
  50.01%, 100% { background-image: url('../img/10-skype-animado.svg'); }
}
@-moz-keyframes animando_skype {
  0%, 50% { background-image: url('../img/10-skype.svg'); }
  50.01%, 100% { background-image: url('../img/10-skype-animado.svg'); }
}
@keyframes animando_skype {
  0%, 50% { background-image: url('../img/10-skype.svg'); }
  50.01%, 100% { background-image: url('../img/10-skype-animado.svg'); }
}


/* Animando whatsapp */
.app#whatsapp.animando {
   -webkit-animation: animando_whatsapp 1.5s infinite;
     -moz-animation: animando_whatsapp 1.5s infinite;
          animation: animando_whatsapp 1.5s infinite;

}

@-webkit-keyframes animando_whatsapp {
  0%, 50% { background-image: url('../img/12-whatsapp.svg'); }
  50.01%, 100% { background-image: url('../img/12-whatsapp-animado.svg'); }
}
@-moz-keyframes animando_whatsapp {
  0%, 50% { background-image: url('../img/12-whatsapp.svg'); }
  50.01%, 100% { background-image: url('../img/12-whatsapp-animado.svg'); }
}
@keyframes animando_whatsapp {
  0%, 50% { background-image: url('../img/12-whatsapp.svg'); }
  50.01%, 100% { background-image: url('../img/12-whatsapp-animado.svg'); }
}


/* Animando instagram */
.app#instagram.animando {
   -webkit-animation: animando_instagram 1.5s infinite;
     -moz-animation: animando_instagram 1.5s infinite;
          animation: animando_instagram 1.5s infinite;

}

@-webkit-keyframes animando_instagram {
  0%, 50% { background-image: url('../img/13-instagram.svg'); }
  50.01%, 100% { background-image: url('../img/13-instagram-animado.svg'); }
}
@-moz-keyframes animando_instagram {
  0%, 50% { background-image: url('../img/13-instagram.svg'); }
  50.01%, 100% { background-image: url('../img/13-instagram-animado.svg'); }
}
@keyframes animando_instagram {
  0%, 50% { background-image: url('../img/13-instagram.svg'); }
  50.01%, 100% { background-image: url('../img/13-instagram-animado.svg'); }
}


/* Animando uber */
.app#uber.animando {
   -webkit-animation: animando_uber 1.5s infinite;
     -moz-animation: animando_uber 1.5s infinite;
          animation: animando_uber 1.5s infinite;

}

@-webkit-keyframes animando_uber {
  0%, 50% { background-image: url('../img/15-uber.svg'); }
  50.01%, 100% { background-image: url('../img/15-uber-animado.svg'); }
}
@-moz-keyframes animando_uber {
  0%, 50% { background-image: url('../img/15-uber.svg'); }
  50.01%, 100% { background-image: url('../img/15-uber-animado.svg'); }
}
@keyframes animando_uber {
  0%, 50% { background-image: url('../img/15-uber.svg'); }
  50.01%, 100% { background-image: url('../img/15-uber-animado.svg'); }
}


/* Animando netflix */
.app#netflix.animando {
   -webkit-animation: animando_netflix 1.5s infinite;
     -moz-animation: animando_netflix 1.5s infinite;
          animation: animando_netflix 1.5s infinite;

}

@-webkit-keyframes animando_netflix {
  0%, 50% { background-image: url('../img/16-netflix.svg'); }
  50.01%, 100% { background-image: url('../img/16-netflix-animado.svg'); }
}
@-moz-keyframes animando_netflix {
  0%, 50% { background-image: url('../img/16-netflix.svg'); }
  50.01%, 100% { background-image: url('../img/16-netflix-animado.svg'); }
}
@keyframes animando_netflix {
  0%, 50% { background-image: url('../img/16-netflix.svg'); }
  50.01%, 100% { background-image: url('../img/16-netflix-animado.svg'); }
}


/* Animando deliveroo */
.app#deliveroo.animando {
   -webkit-animation: animando_deliveroo 1.5s infinite;
     -moz-animation: animando_deliveroo 1.5s infinite;
          animation: animando_deliveroo 1.5s infinite;

}

@-webkit-keyframes animando_deliveroo {
  0%, 50% { background-image: url('../img/17-deliveroo.svg'); }
  50.01%, 100% { background-image: url('../img/17-deliveroo-animado.svg'); }
}
@-moz-keyframes animando_deliveroo {
  0%, 50% { background-image: url('../img/17-deliveroo.svg'); }
  50.01%, 100% { background-image: url('../img/17-deliveroo-animado.svg'); }
}
@keyframes animando_deliveroo {
  0%, 50% { background-image: url('../img/17-deliveroo.svg'); }
  50.01%, 100% { background-image: url('../img/17-deliveroo-animado.svg'); }
}


/* Animando tinder */
.app#tinder.animando {
   -webkit-animation: animando_tinder 1.5s infinite;
     -moz-animation: animando_tinder 1.5s infinite;
          animation: animando_tinder 1.5s infinite;

}

@-webkit-keyframes animando_tinder {
  0%, 50% { background-image: url('../img/18-tinder.svg'); }
  50.01%, 100% { background-image: url('../img/18-tinder-animado.svg'); }
}
@-moz-keyframes animando_tinder {
  0%, 50% { background-image: url('../img/18-tinder.svg'); }
  50.01%, 100% { background-image: url('../img/18-tinder-animado.svg'); }
}
@keyframes animando_tinder {
  0%, 50% { background-image: url('../img/18-tinder.svg'); }
  50.01%, 100% { background-image: url('../img/18-tinder-animado.svg'); }
}


/* Animando oveja fin */
.app#fin.animando {
   -webkit-animation: animando_fin 1.5s infinite;
     -moz-animation: animando_fin 1.5s infinite;
          animation: animando_fin 1.5s infinite;

}

@-webkit-keyframes animando_fin {
  0%, 50% { background-image: url('../img/19-final.svg'); }
  50.01%, 100% { background-image: url('../img/19-final-animado.svg'); }
}
@-moz-keyframes animando_fin {
  0%, 50% { background-image: url('../img/19-final.png'); }
  50.01%, 100% { background-image: url('../img/19-final-animado.png'); }
}
@keyframes animando_fin {
  0%, 50% { background-image: url('../img/19-final.png'); }
  50.01%, 100% { background-image: url('../img/19-final-animado.png'); }
}



#tonin-img.bajarse {
  background: transparent url(../img/tonin-parado.svg) no-repeat;
  background-size: 190px auto;
  background-position: 0 0 !important;
}




/* TABLET */
@media screen and (min-width: 768px){
  
  body {
    background-size: 260px auto;
  }
  
  .intro .contenedor {
    max-width: 440px;
  }
  
  .intro h2 {
    font-size: 34px;
    line-height: 110%;
  }

  .intro p {
    font-size: 16px;
    line-height: 120%;
  }
  
  .intro .tonin {
    width: 190px;
    height: 330px;
    float: none;
    background-size: auto;
    margin: 0 auto;
    -webkit-animation: rodando 1.5s steps(4) infinite;
       -moz-animation: rodando 1.5s steps(4) infinite;
            animation: rodando 1.5s steps(4) infinite;
  }

  @-webkit-keyframes rodando {
    100% { background-position: -766px; }
  }
  @-moz-keyframes rodando {
    100% { background-position: -766px; }
  }
  @keyframes rodando {
    100% { background-position: -766px; }
  }
  
  .intro .boton {
    float: none;
    font-size: 16px;
  }

  #escenario:before {
    right: 142px;
    width: 12px;
    height: calc(25% + 298px);
  }
  
  #tonin {
    right: 50px;
    -ms-transform: translate3d(0,0,0) scale(.8);
    -webkit-transform: translate3d(0,0,0) scale(.8);
    transform: translate3d(0,0,0) scale(.8);
  }

  #pueblo .app:not(#spotify) {
    width: calc(100vw - 290px);
    height: 230px;
    right: 290px;
  }
  
  #pueblo .app:before {
    left: 100%;
    height: 15px;
    width: 30px;
  }
  
  .app#spotify {
    -ms-transform: translate3d(0,0,0) scale(1);
    -webkit-transform: translate3d(0,0,0) scale(1);
    transform: translate3d(0,0,0) scale(1);
  }

  #pueblo .app#fin {height: 110px;}

}


/* DESKTOP */

@media screen and (min-width: 1024px){
  
  body {
    background-position: center top;
    background-size: auto;
  }
  
  #tonin {
    right: 50%;
    margin-right: -95px;
    -ms-transform: translate3d(0,0,0) scale(1);
    -webkit-transform: translate3d(0,0,0) scale(1);
    transform: translate3d(0,0,0) scale(1);
  }
  
  #escenario:before {
    right: 50%;
    width: 14px;
    margin-right: -5px;
  }
  
  #pueblo .app:not(#spotify) {
    width: calc(50vw - 165px);
    height: 250px;
    right: 0;
    left: auto;
    background-position: left top;
  }

  #pueblo .app:nth-child(even):not(#spotify){
    right: auto;
    left: 0;
    background-position: right top !important;
  }
  
  .app:before {
    bottom: auto;
    top: 80%;
    height: 7px;
    width: calc(2vw + 16px);
  }
  
  #pueblo .app:not(#spotify):nth-child(odd):before {
    left: auto;
    right: 100%;
  }

  .app#spotify {
    z-index: 19;
  }


  
  #bocadillo,
  #bocadillo.google,
  #bocadillo.gmail,
  #bocadillo.wallapop,
  #bocadillo.skype,
  #bocadillo.instagram,
  #bocadillo.googlemaps,
  #bocadillo.candycrush,
  #bocadillo.youtube,
  #bocadillo.whatsapp,
  #bocadillo.netflix,
  #bocadillo.deliveroo,
  #bocadillo.tinder {
    font-size: 20px;
  }

}

@media screen and (min-width: 1200px){ 

  #pueblo .app:not(#spotify) {
    height: 280px;
  }

  #pueblo .app#fin {
    height: 180px;
}

}

@media screen and (max-width: 767px) and (orientation:landscape) {

  .info-movil {

    display: block;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: #00B584;
    color: #fff;
    left: 0;
    top: 0;
    overflow: hidden;
    z-index: 22;

  }

  .info-movil p {
    font-weight: 800;
    font-style: normal;
    font-size: 24px;
    line-height: 110%;
    color: white;
    text-align: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    margin: 0;

    padding-bottom: 100px;
    background: url(../img/icono-movil.svg) no-repeat center bottom;
    background-size: auto 80px;

  }

}


/* tamaños ilustraciones */

/* desktop */
@media screen and (min-width: 1200px){

  #pueblo #wallapop.app { height: 300px;}
  #pueblo #twitter.app { height: 330px;}
  #pueblo #facebook.app { height: 310px;}
  #pueblo #pinterest.app { height: 330px;}
  #pueblo #candycrush.app { height: 320px;}
  #pueblo #whatsapp.app { height: 320px;}
  #pueblo #netflix.app { height: 320px;}
  #pueblo #tinder.app { height: 320px;}
  #pueblo #uber.app { height: 320px;}
}



/* para ipad horizontal */
@media screen and (max-width: 1024px){

  #pueblo #wallapop.app { /*height: 300px;*/}
  #pueblo #twitter.app { /*height: 330px;*/}
  #pueblo #facebook.app { /*height: 310px;*/}

}


@media screen and (max-width: 767px){

.app#google { top: 400px; }

.app#gmail { top: 700px; }

.app#wallapop { top: 1000px; }

.app#googlemaps { top: 1300px; }

.app#twitter { top: 1600px; }

.app#facebook { top: 1900px; }

.app#pinterest { top: 2200px; }

.app#youtube { top: 2500px; }

.app#candycrush { top: 2800px; }

.app#skype { top: 3100px; }

.app#whatsapp { top: 3400px; }

.app#instagram { top: 3700px; }

.app#spotify { 
  top: 3900px;
  height: 240px;
}

.app#uber { top: 4300px; }

.app#netflix { top: 4700px; }

.app#deliveroo { top: 5000px; }

.app#tinder { top: 5300px; }

.app#fin { top: 5510px; }

#pueblo { height: 6100px; }

#tonin-img.bajarse {
  background-size: 190px auto;
}

}
