 #scroll-down::before {

  -webkit-animation: elasticus 2.4s cubic-bezier(1, 0, 0, 1) infinite;
  /* Safari 4+ */
  -moz-animation: elasticus 2.4s cubic-bezier(1, 0, 0, 1) infinite;
  /* Fx 5+ */
  -o-animation: elasticus 2.4s cubic-bezier(1, 0, 0, 1) infinite;
  /* Opera 12+ */
  animation: elasticus 2.4s cubic-bezier(1, 0, 0, 1) infinite;
  /* IE 10+, Fx 29+ */
  position: absolute;
bottom: 19%;  
left: 50%;
  margin-left: -1px;
  margin-top: 1%;
  margin-bottom: 40px;
  width: 1px;
  height: 82px;
  background: #ffffff;
  content: ' ';
}


 #scroll-down_mobile::before {

  -webkit-animation: elasticus 2.4s cubic-bezier(1, 0, 0, 1) infinite;
  /* Safari 4+ */
  -moz-animation: elasticus 2.4s cubic-bezier(1, 0, 0, 1) infinite;
  /* Fx 5+ */
  -o-animation: elasticus 2.4s cubic-bezier(1, 0, 0, 1) infinite;
  /* Opera 12+ */
  animation: elasticus 2.4s cubic-bezier(1, 0, 0, 1) infinite;
  /* IE 10+, Fx 29+ */
  position: absolute;
bottom: 110px;  
left: 50%;
  margin-left: -1px;
  margin-top: 1%;
  margin-bottom: 40px;
  width: 1px;
  height: 60px;
  background: #ffffff;
  content: ' ';
}

@-webkit-keyframes elasticus {
  0% {
    -webkit-transform-origin: 0% 0%;
    -ms-transform-origin: 0% 0%;
    -moz-transform-origin: 0% 0%;
    -o-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
    -webkit-transform: scale(1, 0);
    -ms-transform: scale(1, 0);
    -moz-transform: scale(1, 0);
    -o-transform: scale(1, 0);
    transform: scale(1, 0);
  }
  50% {
    -webkit-transform-origin: 0% 0%;
    -ms-transform-origin: 0% 0%;
    -moz-transform-origin: 0% 0%;
    -o-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
    -webkit-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -moz-transform: scale(1, 1);
    -o-transform: scale(1, 1);
    transform: scale(1, 1);
  }
  50.1% {
    -webkit-transform-origin: 0% 100%;
    -ms-transform-origin: 0% 100%;
    -moz-transform-origin: 0% 100%;
    -o-transform-origin: 0% 100%;
    transform-origin: 0% 100%;
    -webkit-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -moz-transform: scale(1, 1);
    -o-transform: scale(1, 1);
    transform: scale(1, 1);
  }
  100% {
    -webkit-transform-origin: 0% 100%;
    -ms-transform-origin: 0% 100%;
    -moz-transform-origin: 0% 100%;
    -o-transform-origin: 0% 100%;
    transform-origin: 0% 100%;
    -webkit-transform: scale(1, 0);
    -ms-transform: scale(1, 0);
    -moz-transform: scale(1, 0);
    -o-transform: scale(1, 0);
    transform: scale(1, 0);
  }
}





/* Style for our header texts
	* --------------------------------------- */


	/* Centered texts in each section
	* --------------------------------------- */
	.section{
		text-align:center;
		overflow: hidden;
	}

	#myVideo{
		position: absolute;
		right: 0;
		bottom: 0;
		top:0;
		right:0;
		width: 100%;
		height: 100%;
		background-size: 100% 100%;
 		background-color: black; /* in case the video doesn't fit the whole page*/
  		background-image: /* our video */;
  		background-position: center center;
  		background-size: contain;
   		object-fit: cover; /*cover video background */
   		z-index:3;
	}



	/* Layer with position absolute in order to have it over the video
	* --------------------------------------- */
	#section0 .layer{
		position: absolute;
		z-index: 4;
		width: 100%;
		left: 0;
		top: 15%;
    height: 100%;

		/* 
		* Preventing flicker on some browsers 
		* See http://stackoverflow.com/a/36671466/1081396  or issue #183
		*/
		-webkit-transform: translate3d(0,0,0);
		-ms-transform: translate3d(0,0,0);
		transform: translate3d(0,0,0);
	}

    #section1 .layer{
    position: absolute;
    z-index: 4;
    width: 100%;
    left: 0;
    top: 8%;
    height: 100%;

    /* 
    * Preventing flicker on some browsers 
    * See http://stackoverflow.com/a/36671466/1081396  or issue #183
    */
    -webkit-transform: translate3d(0,0,0);
    -ms-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
  }

    #section2 .layer{
    position: absolute;
    z-index: 4;
    width: 100%;
    left: 0;
    top: 8%;
    height: 100%;

    /* 
    * Preventing flicker on some browsers 
    * See http://stackoverflow.com/a/36671466/1081396  or issue #183
    */
    -webkit-transform: translate3d(0,0,0);
    -ms-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
  }

	/*solves problem with overflowing video in Mac with Chrome */
	#section0 ,  #section1 ,   #section2{
		overflow: hidden;
	}


	/* Bottom menu
	* --------------------------------------- */
	#infoMenu li a {
		color: #fff;
	}


	/* Hiding video controls 
	* See: https://css-tricks.com/custom-controls-in-html5-video-full-screen/
	* --------------------------------------- */
	video::-webkit-media-controls {
	  display:none !important;
	}

  
@font-face
{
  font-family: Font;
  src: url(font/Heebo-Regular.otf);
}

@font-face
{
  font-family: Font_Menu;
  src: url(font/Heebo-Light.ttf);
}


@font-face
{
  font-family: Font_titulo;
  src: url(font/ITCGaramondStd-BdCond.otf);
}

@font-face
{
  font-family: Font_subtitulo;
  src: url(font/AGaramondPro-Regular.otf);
}
@font-face
{
  font-family: Font_texto;
  src: url(font/AGaramondPro-Italic.otf);
}

    /* Fixed header and footer.
  * --------------------------------------- */
  #header, #menu_footer{
    position:fixed;
    height: 50px;
    display:block;
    width: 100%;
    z-index:1;
    text-align:center;
    color: #f2f2f2;
    padding: 20px 0 0 0;
  }

 
  #menu_footer{
    bottom:0px;
    background-color: #f5f6f2;
    height: 40px;

  }

  a.footer:hover{
    text-decoration: underline;
    color: #fff;
  }



  header {
    bottom: 0;
    transition: all .2s ease-in-out;

    
    width: 100%;
    position:fixed;
    height: 50px;
    display:block;
    z-index:10;
    text-align:center;
    color: #f2f2f2;
    padding: 20px 0px 0px 0px;
    background-color: #0724fb;
    height: 40px;
}

.nav-up {
    bottom: -60px;
}

nav {
  margin-top:0px; 
  margin-left:auto;
  margin-right: auto; 
  margin-bottom:1px;
  text-align: center;
   display: inline-block;
    vertical-align: top;
}

nav ul li {
  float: left;
    font-family: Font;
  width: 326px;
  font-size: 19px;
  text-align: center;
  color:#000000;

}






  .top_left{
    float: left;
    margin-left: 3%;
    color: white;
  font-family: Font_texto;
  font-size: 12px;
  }

  .top_right{
    float: right;
    margin-right: 3%;
    text-align: left;

  }


  .Absolute-Center{
    margin:auto;
    position:absolute;
    left:0;
    right:0
}
.Absolute-Center.is-Image{
    height:auto
}


.Absolute-Center.is-Image img{
    width:100%;
    height:auto
}

a{
  text-decoration: none;
  color: black;
}

.titulo{
    margin-top: 200px;

}

.titulo_tres{
    margin-top: -200px;

}

h1{
  color: white;
  font-family: font_titulo;
  font-size: 78px;
  text-align: center;
  line-height: 67px;

}


h2{
  color: white;
  font-family: font_subtitulo;
  font-size: 26px;
  text-align: center;



}



.ver{
  
  margin-top: 50px;
  color: white;
  font-family: Font;
  font-size: 20px;
  text-align: center;
  display: inline-block;
      text-decoration: none;


}

.ver::after {
    content: '';
    display: block;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width .3s;
        margin-top: 1%;

}

.ver:hover::after {
    width: 100%;
    //transition: width .3s;
    margin-top: 1%;

}




.menu_mobile{
  display: none;
}


h2.mobile_hide_1 , h2.mobile_hide_2 , h2.mobile_hide_3{
  margin-top: 1%;

     line-height: 33px;
}

h2.mobile_1 , h1.mobile_2 , h2.mobile_2 , h2.mobile_3{
  display: none;
}


.linea_mobile , .titulo_mobile , .agencia_mobile{
  display: none;
}



@media (max-width: 680px) {

.menu_mobile{
  display: block;
}


.big_menu{
  display: none;
}

}





@media (max-width: 600px) {

.linea_desktop , .titulo_desktop , .agencia{
  display: none;
}

.linea_mobile , .titulo_mobile , .agencia_mobile{
  display: block;
}


.agencia_mobile{
    margin-top: 53%;

}

  .titulo{
    margin-top: 177px;
  }


.scroll_down_home{
  bottom: 222px !important;
}

  h1{
    font-size: 52px;
    line-height: 50px;
    margin-top: -11%;

  }

  h2.mobile_1 , h2.mobile_2 , h2.mobile_3{
  display: block;
    font-size: 21px;
    margin-top: 4%;
}

.ver {
    margin-top: 21px;
}

  h1.mobile_2{
    display: block;
  }

h2.mobile_hide_1 , h1.mobile_hide_2 , h2.mobile_hide_2 , h2.mobile_hide_3{
  display: none;
}

}



