/* SLIDER (AJUSTES GENERALES)*/
.content{
    display: flex;
}
.slider-content {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    flex-shrink: 0;
    width: 100%;
}

/* AJUSTES PRIMER SLIDER (SELECCION DE MOTOS) */
.prototipos{
    color: white;
    align-items: center;
}
.prototipos h2{
    text-align: center;
    margin-top: 100px;
    margin-bottom: 100px;
    font-size: 5em;
    font-weight: 800;
    font-family: 'Gemunu Libre', sans-serif;
}
.prototipos p{
    font-size: 1.5rem;
}
.contenedor-video {
    height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
}
.header-content-video {
   display: flex;
   flex-direction: column;
   align-items: center;
}
.header-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.header-video video {
  min-width: 100%;
  min-height: 100%;
}
.header-overlay {
  height: 100vh;
  width: 100vw;
  position: absolute;
  top: 0;
  left: 0;
  background: #303952;
  z-index: 1;
  opacity: .2;
}
.header-content-video {
  z-index: 2;
}
.header-content-video h2 {
  font-size: 5rem;
  margin-top: 150px;
}
  
.header-content-video p {
  font-size: 25px;
  margin-bottom:12%;
}
/* BOTONES DEL PRIMER SLIDER (SELECCION DE MOTO) */
.botones{
    width: 1000px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-around;
}
.animated-button1 {
  font-family: 'Dongle', sans-serif;
  font-size: 3em;
    background:#001a30;
    padding: 20px 40px;
    margin: 12px;
    display: inline-block;
    -webkit-transform: translate(0%, 0%);
            transform: translate(0%, 0%);
    overflow: hidden;
    color: white;
    font-size: 20px;
    letter-spacing: 2.5px;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    -webkit-box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
  
  .animated-button1::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #ad8585;
    opacity: 0;
    -webkit-transition: .2s opacity ease-in-out;
    transition: .2s opacity ease-in-out;
  }
  
  .animated-button1:hover::before {
    opacity: 0.2;
  }
  
  .animated-button1 span {
    position: absolute;
  }
  
  .animated-button1 span:nth-child(1) {
    top: 0px;
    left: 0px;
    width: 100%;
    height: 2px;
    background: -webkit-gradient(linear, right top, left top, from(rgba(43, 8, 8, 0)), to(rgba(54,192,254,1)));
    background: linear-gradient(to left, rgba(43, 8, 8, 0), rgba(54,192,254,1));
    -webkit-animation: 2s animateTop linear infinite;
            animation: 2s animateTop linear infinite;
  }
  
  @keyframes animateTop {
    0% {
      -webkit-transform: translateX(100%);
              transform: translateX(100%);
    }
    100% {
      -webkit-transform: translateX(-100%);
              transform: translateX(-100%);
    }
  }
  
  .animated-button1 span:nth-child(2) {
    top: 0px;
    right: 0px;
    height: 100%;
    width: 2px;
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(43, 8, 8, 0)), to(rgba(54,192,254,1)));
    background: linear-gradient(to top, rgba(43, 8, 8, 0), rgba(54,192,254,1));
    -webkit-animation: 2s animateRight linear -1s infinite;
            animation: 2s animateRight linear -1s infinite;
  }
  
  @keyframes animateRight {
    0% {
      -webkit-transform: translateY(100%);
              transform: translateY(100%);
    }
    100% {
      -webkit-transform: translateY(-100%);
              transform: translateY(-100%);
    }
  }
  
  .animated-button1 span:nth-child(3) {
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 2px;
    background: -webkit-gradient(linear, left top, right top, from(rgba(43, 8, 8, 0)), to(rgba(54,192,254,1)));
    background: linear-gradient(to right, rgba(43, 8, 8, 0), rgba(54,192,254,1));
    -webkit-animation: 2s animateBottom linear infinite;
            animation: 2s animateBottom linear infinite;
  }
  
  @keyframes animateBottom {
    0% {
      -webkit-transform: translateX(-100%);
              transform: translateX(-100%);
    }
    100% {
      -webkit-transform: translateX(100%);
              transform: translateX(100%);
    }
  }
  
  .animated-button1 span:nth-child(4) {
    top: 0px;
    left: 0px;
    height: 100%;
    width: 2px;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(43, 8, 8, 0)), to(rgba(54,192,254,1)));
    background: linear-gradient(to bottom, rgba(43, 8, 8, 0), rgba(54,192,254,1));
    -webkit-animation: 2s animateLeft linear -1s infinite;
            animation: 2s animateLeft linear -1s infinite;
  } 
  @keyframes animateLeft {
    0% {
      -webkit-transform: translateY(-100%);
              transform: translateY(-100%);
    }
    100% {
      -webkit-transform: translateY(100%);
              transform: translateY(100%);
    }
  }



/* ESTILOS DEL BOTON DE SIGUIENTE */
.wrapper{
    transform: translate(-50%, -50%);
    margin-left: 50%;
    margin-top: 5%;
}
  
  .link_wrapper{
    position: relative;
  }
  
  .boton-siguiente{
    display: block;
    width: 250px;
    height: 50px;
    line-height: 50px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 3px solid rgba(54,192,254,1);
    transition: all .35s;
  }
  
  .icon{
    width: 50px;
    height: 50px;
    border: 3px solid transparent;
    position: absolute;
    transform: rotate(45deg);
    right: 0;
    top: 0;
    z-index: -1;
    transition: all .35s;
  }
  
  .icon svg{
    width: 30px;
    position: absolute;
    top: calc(50% - 15px);
    left: calc(50% - 15px);
    transform: rotate(-45deg);
    fill: rgba(54,192,254,1);
    transition: all .35s;
  }
  
  .boton-siguiente:hover{
    width: 200px;
    border: 3px solid rgba(54,192,254,1);
    background: transparent;
    color: rgba(54,192,254,1);
  }
  
  .boton-siguiente:hover + .icon{
    border: 3px solid rgba(54,192,254,1);
    right: -25%;
  }

/* AJUSTES CUADRO TEXTO */

.cuadro-texto {
  font-family: 'Varela Round', sans-serif;
  max-width: 50%;
    padding: 3px;
    margin: 12px;
    display: inline-block;
    -webkit-transform: translate(0%, 0%);
            transform: translate(0%, 0%);
    overflow: hidden;
    color: black;
    font-size: 20px;
    -webkit-box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.cuadro-texto__inner{
  background-color: #001a3075;
  padding: 20px;
  color:white;
}
.cuadro-texto__inner p{
  text-align: justify;
  line-height: 1.4;
  margin-bottom: 5px;
}
.cuadro-texto h2{
  margin-bottom: 20px;
  font-size: 30px;
  font-family: 'Baloo Da 2', cursive;
  text-transform: uppercase;
}
  .cuadro-texto span {
    position: absolute;
  }
  
  .cuadro-texto span:nth-child(1) {
    top: 0px;
    left: 0px;
    width: 100%;
    height: 2px;
    background: -webkit-gradient(linear, right top, left top, from(rgba(43, 8, 8, 0)), to(rgba(54,192,254,1)));
    background: linear-gradient(to left, rgba(43, 8, 8, 0), rgba(54,192,254,1));
    -webkit-animation: 2s animateTop linear infinite;
            animation: 2s animateTop linear infinite;
  }
  
  @keyframes animateTop {
    0% {
      -webkit-transform: translateX(100%);
              transform: translateX(100%);
    }
    100% {
      -webkit-transform: translateX(-100%);
              transform: translateX(-100%);
    }
  }
  
  .cuadro-texto span:nth-child(2) {
    top: 0px;
    right: 0px;
    height: 100%;
    width: 2px;
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(43, 8, 8, 0)), to(rgba(54,192,254,1)));
    background: linear-gradient(to top, rgba(43, 8, 8, 0), rgba(54,192,254,1));
    -webkit-animation: 2s animateRight linear -1s infinite;
            animation: 2s animateRight linear -1s infinite;
  }
  
  @keyframes animateRight {
    0% {
      -webkit-transform: translateY(100%);
              transform: translateY(100%);
    }
    100% {
      -webkit-transform: translateY(-100%);
              transform: translateY(-100%);
    }
  }
  
  .cuadro-texto span:nth-child(3) {
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 2px;
    background: -webkit-gradient(linear, left top, right top, from(rgba(43, 8, 8, 0)), to(rgba(54,192,254,1)));
    background: linear-gradient(to right, rgba(43, 8, 8, 0), rgba(54,192,254,1));
    -webkit-animation: 2s animateBottom linear infinite;
            animation: 2s animateBottom linear infinite;
  }
  
  @keyframes animateBottom {
    0% {
      -webkit-transform: translateX(-100%);
              transform: translateX(-100%);
    }
    100% {
      -webkit-transform: translateX(100%);
              transform: translateX(100%);
    }
  }
  
  .cuadro-texto span:nth-child(4) {
    top: 0px;
    left: 0px;
    height: 100%;
    width: 2px;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(43, 8, 8, 0)), to(rgba(54,192,254,1)));
    background: linear-gradient(to bottom, rgba(43, 8, 8, 0), rgba(54,192,254,1));
    -webkit-animation: 2s animateLeft linear -1s infinite;
            animation: 2s animateLeft linear -1s infinite;
  }
  
  @keyframes animateLeft {
    0% {
      -webkit-transform: translateY(-100%);
              transform: translateY(-100%);
    }
    100% {
      -webkit-transform: translateY(100%);
              transform: translateY(100%);
    }
  }

  .stats{
    display:flex;
    justify-content: space-around;
  }
  .stats div{
    height: 150px;
    width: 30%;
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    text-align: center;
  }
  .stats div h3{
    margin-bottom: 15px;
  }
/* AJUSTES CADA SLIDER */

/* PRIMER SLIDER */
.titulo{
  height: 100vh;
  width: 100%;
}
.back{
  color: white;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #000000c7;
}
.pback{
  display: flex;
  justify-content: space-around;
  text-align: center;
  width: 100%;
  padding:20px 0;
  background-color: #00000094;
}
.back h1{
  margin-top: 150px;
  font-size: 90px;
  height: 180px;
  font-family: 'Gemunu Libre', sans-serif;
}
.back p{
  font-size: 25px;
  line-height: 30px;
  width: 100%; 
  padding: 15px 0;
}
.back a{
  margin-top: 50px;
}

/*FOTOS BACKGROUND SLIDERS*/
.slider-0{
  background-image: url("../img/fotos-epr00/epr00-blancoynegro.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}
.slider-1{
  background: url(../img/gallery/1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
}
.slider-2{
  background-image: url("../img/fotos-epr00/epr__00.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}
.slider-3{
  background-image: url("../img/fotos-epr01/epr01-entreno.JPG");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}
.slider-4{
  background-image: url("../img/gallery/9.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}
.slider-5{
  background-image: url("../img/gallery/10.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}
.slider-6{
  background-image: url("../img/fotos-epr02/epr02_financing.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}
.slider-7{
  background-image: url("../img/gallery/37.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}
.slider-8{
  background-image: url("../img/gallery/7.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}
.slider-9{
  background-image: url("../img/gallery/50.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}
.slider-10{
  background-image: url("../img/gallery/51.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}
.slider-11{
  background-image: url("../img/gallery/52.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}


/* AJUSTE CUADROS TEXTO POSICION */
.slider-1 .top-slider-content{
  display: flex;
  justify-content: flex-end;
}
.slider-2 .top-slider-content{
  display: flex;
  justify-content: center;
}

.slider-4 .top-slider-content {
  margin-top: 30px;
  width: 1200px;
}
.slider-5 .top-slider-content{
  display: flex;
  justify-content: center;
}
.slider-7 .top-slider-content{
  margin-top: 40px;
}
.slider-8 .top-slider-content{
  display: flex;
  justify-content: center;
}
.slider-10 .top-slider-content .cuadro-texto{
  margin-left: 50%;
}
.slider-11 .top-slider-content{
  display: flex;
  justify-content: center;
}

@media screen and (max-device-width: 768px) {
  .header-content-video h2 {
    font-size: 4.5rem;
    margin-bottom: 60px;
  }
  .header-content-video p{
   font-size: 17px;
   margin-bottom: 9%;
  }
  .botones {
    flex-direction: column;
    width: auto;
  }
  .cuadro-texto{
    max-width: none;
    margin-top: 60px;
  }
  .cuadro-texto__inner p{
    font-size: 13px;
  }
  .slider-4 .top-slider-content{
    width: auto;
  }

}

@media screen and (max-device-width: 458px) {
  /* VIDEO SETTINGS */

  .header-video video{
    position: absolute;
    left: -100%;
  }

  /* TEXT SETTING */

  .header-content-video p{
    text-align: center;
   }
   .slider-1 {
    background-position-x: center;
   }
   .slider-7{
    background-position-x: 69% !important;
   }
}

