@import url('https://fonts.googleapis.com/css2?family=Alegreya+SC:ital,wght@0,400;0,500;0,700;0,800;0,900;1,400;1,500;1,700;1,800;1,900&family=Lugrasimo&family=Michroma&family=Prosto+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Akronim&family=Alegreya+SC:ital,wght@0,400;0,500;0,700;0,800;0,900;1,400;1,500;1,700;1,800;1,900&family=Lugrasimo&family=Michroma&family=Prosto+One&display=swap');

*{
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

body{
    opacity: 1;
    animation: entrada .4s ease-in forwards;
    background: linear-gradient(90deg,#250055,#5200a3,#6600ff,#3e00b3,#070055);
}





.puerta-contenedor {
      position: fixed;
      width: 100vw;
      height: 100vh;
      top: 0;
      left: 0;
      z-index: 2;
      overflow: hidden;
      display: flex;
    }


    .puerta {
      width: 50%;
      height: 100%;
      background-image: linear-gradient(rgba(0, 0, 0, 0.623), rgba(255, 255, 255, 0), rgb(0, 0, 0)), url(imagenes/inicioL.webp);
      background-size: cover;
      transition: transform 3s ease;
    }

    .puerta.right {
      background-image:linear-gradient(rgba(0, 0, 0, 0.623), rgba(255, 255, 255, 0), rgb(0, 0, 0)), url(imagenes/inicioR.webp);
      background-size: cover;
    }

    .puerta-contenedor.abierto .left {
      transform: translateX(-100%);
    }

    .puerta-contenedor.abierto .right {
      transform: translateX(100%);
    }

    .puerta-contenedor.abierto ~ .contenido {
      opacity: 1;
    }




.nav{
    display: flex;
    align-items: center;
    justify-content: right;
    background-color: rgb(2, 8, 94);
    height: 48px;
    z-index: 2;
    animation: entrada 7s ease-in forwards;
}

.nav a{
    text-decoration: none;
    color: #fff;
    z-index: 3;
    cursor: pointer;
    background:linear-gradient(45deg,rgb(49, 85, 245), rgba(1, 1, 119, 0.671), rgba(1, 1, 119, 0));
    border-radius: 20px 0px 0px 0px;
    width: 320px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: left;
    padding-left: 15px;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


.fa-location-dot{
    margin-right: 10px;
    color: rgb(247, 231, 14);
}

.fa-phone{
    color: rgb(236, 241, 241);
    margin-right: 10px;
}

.fa-envelope{
    margin-right: 10px;
    color: #ffffff;
}

.fa-clock{
    margin-right: 10px;
    color: #ffffff;
}

li{
    list-style: none;
    font-size: 1.1rem;
    color: #ffffff;
}

.correo:hover{
    color: rgb(255, 196, 0);
}

.telefono:hover{
    color: rgb(255, 196, 0);
}

.direccion:hover{
   color: rgb(255, 196, 0);
}

.reloj:hover{
  color: rgb(255, 196, 0);
}

.busqueda{
  position: relative;
  display: flex;
  align-items: center;
}

#barraBusqueda{
  width: 0;
  padding: 8px;
  font-size: 16px;
  border-radius: 5px;
  transition: width 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

#barraBusqueda.mostrar{
  width: 200px;
  opacity: 1;
  pointer-events: all;
}



.bi-search{
  color: white;
  font-size: 1.5rem;
  transition: transform .4s ease;
}

.bi-search:hover{
  transform: scale(1.1);
  cursor: pointer;
  transform: scale(1.3) rotate(-45deg);
}





.inicio{
  transition: top 1s ease;
  position: fixed;
  z-index: 1;
  width: 100%;
}

.navbar{
  position: relative;
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgb(34, 12, 94);
    z-index: 1;
    opacity: 0;
    animation: entrada 3s ease-in forwards;
    border-top: 1px solid rgba(167, 167, 167, 0.192);
}

.navbar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 7px; 
  width: 100%;
  background: linear-gradient(to right, #00d5ff,rgb(23, 23, 241), #c4021b, #e23307);
  margin-top: 20px;
}

.primero{
  width: 75%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}


.primero img{
  width: 16rem;
  margin-top: -20px;
}


.segundo{
  width: 20rem;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.linea{
  width: 1px;
  height: 40px;
  background-color: #bebebea2;
}

.logo{
    width: 330px;
    margin-bottom: 35px;
    transition: transform 0.3s ease;
    z-index: 2;
    margin-left: 20px;
}

.logo h1{
  color: #ffffff;
  font-family: "Michroma";
  font-size: 2.5rem;
  font-weight: 900;
  text-shadow: 2px 2px 2px #c4021b;
}

.logo h2{
  color: #c4021b;
  font-family: "Prosto One";
  text-transform: uppercase;
  text-shadow: 0px 0px 10px #f72b2b; 
}


.logos{
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.logos i{
  color: rgb(255, 196, 0);
  font-size: 1.5rem;
  transition: .3s ease;
}

.logos i:hover{
  color: #fff;

}




.menu{
    display: flex;
    width: 600px;
    align-items: center;
    justify-content: space-between;
}

.menu-list{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.menu-list a{
  text-transform: uppercase;
    font-size: 1.3rem;
    font-family: "Alegreya SC";
    text-decoration: none;
    color: rgb(255, 255, 255);
    transition: 0.5s;
}

.menu a:hover{
  text-decoration: 3px underline rgb(255, 196, 0);
}


.menu-list:hover a:not(:hover){
    opacity: .5;
}





.cabeza{
    width: 100%;
    height: 100vh;
    background: linear-gradient(to right, rgb(0, 0, 0), rgba(0, 0, 0, 0.733), rgba(255, 0, 0, 0)), url(imagenes/fondoServicios.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: left;
    animation: entrada 2s ease-in forwards;
}


.titulo{
    width: 80%;
    height: 600px;
    margin-top: 100px;
    color: rgb(255, 196, 0);
    opacity: 0;
    animation: entrada 4s ease-in forwards;
    padding: 50px;
}

.titulo p{
    font-family: "Michroma";
    margin-top: 50px;
    color: #ffffff;
}

.titulo h1{
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-top: 30px;
    font-family: "Michroma";
}

.titulo h2{
    font-size: 1.5rem;
    margin-top: 50px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 100;
    color: #ffffff;
}

.botones{
  width: 500px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-left: 100px;
}

.titulo button{
  width: 220px;
  height: 60px;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(135deg, #f72828, #ff534d);
  /* border: none; */
  border-radius: 25px 0px 25px 0px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  margin-top: 30px;
}

.titulo button::before{
    content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: skewX(-30deg);
  transition: left 0.5s ease;
}

.titulo button:hover::before {
  left: 130%;
}


.titulo button:hover {
  transform: scale(1.05);
}



@keyframes entrada{
    to{
        opacity: 1;
    }
}

/* Inicio del GRID, seccion de productos */






.servicios2{
  width: 100%;
  height: 550px;
  display: flex;
  justify-content: space-evenly;
  padding: 30px;
}

.servicios2 div{
  width: 30%;
  height: 500px;
  position: relative;
  padding: 50px;
  border-radius: 30px;
  box-shadow: 0px 10px 30px;
}

.servicios2 h2{
  color: #fff;
  font-size: 2.5rem;
  font-family: "Michroma";
  border-top: 5px solid rgb(255, 196, 0);
  position: absolute;
  transition: transform 0.4s ease;
}

.servicios2 button{
  width: 200px;
  height: 50px;
  font-size: 1.4rem;
  font-family: "Alegreya SC";
  border-radius: 10px;
  border-style: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.servicios2 div:hover h2{
  transform: translateY(-50px);
}

.servicios2 div:hover button{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.servicios2 button:hover{
  background-color: rgb(212, 163, 0);
  color: #fff;
}


.residenciales{
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.600), rgb(0, 0, 0)),url(imagenes/residencial.jpg);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
}


.industrial{
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.600), rgb(0, 0, 0)),url(imagenes/industrial.jpg);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
}

.comercial{
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.600), rgb(0, 0, 0)),url(imagenes/comercial.jpg);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
}


.servicios-extra{
  width: 100%;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 50px;
}

.servicios-extra a{
  text-decoration: none;
  color: #fff;
}

.servicios-extra div{
  width: 22%;
  height: 250px;
  color: #fff;
  box-shadow: 0px 0px 50px black;
  border-radius: 10px;
}

.servicios-extra h2{
  font-size: 2rem;
  font-weight: 100;
  font-family: "Michroma";
}

.servicios-extra h3{
  font-size: 1.5rem;
  font-family: "Alegreya SC";
  padding: 20px;
}

.servicios-extra h3:hover{
  cursor: pointer;
  color: rgb(212, 163, 0);
}

.servicios-extra p{
  border: 1px solid #fff;
  width: 50px;
}


.venta{
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.700), rgba(0, 0, 0, 0)),url(imagenes/venta.png);
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.instalacion{
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.700), rgba(0, 0, 0, 0)),url(imagenes/instalacion2.png);
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.reparacion{
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.700), rgba(0, 0, 0, 0)),url(imagenes/reparacion.png);
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mantenimiento{
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.700), rgba(0, 0, 0, 0)),url(imagenes/mantenimiento.png);
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}



.motores{
  width: 100%;
  height: 110vh;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}





.motores h1{
  color: rgb(255, 196, 0);
  font-size: 2.5rem;
  text-align: center;
  padding-top: 50px;
  font-family: "Michroma";
  text-shadow: 0px 20px 12px rgba(255, 196, 0, 0.507);
}

.motores h2{
  color: #fff;
  text-align: center;
  font-size: 1.5rem;
  font-family: Arial, Helvetica, sans-serif;
  padding: 20px;
}

.motores button{
  width: 200px;
  height: 50px;
  font-family: "Michroma";
  font-size: 1.2rem;
  background-color: #ff534d;
  color: #fff;
  border-radius: 10px;
  border-style: none;
}

.motores button:hover{
  background-color: #ff1d15;
  cursor: pointer;
}

.corredizos:hover, .cadena:hover, .industriales:hover, .electromecanicos:hover, .hidraulicos:hover, .accesorios:hover{
  background-size: 110%;
  filter: brightness(1.2);
}


.corredizos{
  background-image: url(imagenes/motorCorredizo.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
  width: 450px;
  height: 500px;
  grid-area: 1 / 1 ;
  box-shadow: 30px 30px 30px;
  transition: background-size 10s ease-in-out;
}



.info-corredizos{
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient( #000000, rgba(0, 0, 0, 0.678));
  box-shadow: 30px 10px 30px;
  width: 450px;
  height: 200px;
  grid-area: 2 / 1 ;
}

.cadena{
  background-image: url(imagenes/motorCadena.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
  width: 450px;
  height: 500px;
  grid-area: 1 / 2 ;
  box-shadow: 0px 0px 100px;
  transition: background-size 10s ease-in-out;
}

.info-cadena{
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient( #000000, rgba(0, 0, 0, 0.678));
  box-shadow: 0px 0px 50px;
  width: 450px;
  height: 200px;
  grid-area: 2 / 2 ;
}

.industriales{
  background-image: url(imagenes/motorIndustrial.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
  width: 450px;
  height: 500px;
  grid-area: 1 / 3 ;
  box-shadow: -30px 30px 30px;
  transition: background-size 10s ease-in-out;
}

.info-industriales{
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient( #000000, rgba(0, 0, 0, 0.678));
  box-shadow: 0px 0px 50px;
  width: 450px;
  height: 200px;
  grid-area: 2 / 3 ;
  box-shadow: -30px 10px 30px;
}

.electromecanicos{
  background-image: url(imagenes/pistonesElectromecanicos.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
  width: 450px;
  height: 500px;
  grid-area: 3 / 1 ;
  box-shadow: 30px 30px 30px;
  transition: background-size 10s ease-in-out;
}

.info-electromecanicos{
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient( #000000, rgba(0, 0, 0, 0.678));
  box-shadow: 0px 0px 50px;
  width: 450px;
  height: 200px;
  box-shadow: 30px 10px 30px;
  grid-area: 4 / 1 ;
}

.hidraulicos{
  background-image: url(imagenes/pistonesHidraulicos.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
  width: 450px;
  height: 500px;
  grid-area: 3 / 2 ;
  box-shadow: 0px 0px 100px;
  transition: background-size 10s ease-in-out;
}

.info-hidraulicos{
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient( #000000, rgba(0, 0, 0, 0.678));
  box-shadow: 0px 0px 50px;
  width: 450px;
  height: 200px;
  height: 200px;
  grid-area: 4 / 2 ;
}

.accesorios{
  background-image: url(imagenes/accesorios.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
  width: 450px;
  height: 500px;
  grid-area: 3 / 3 ;
  box-shadow: -30px 30px 30px;
  transition: background-size 10s ease-in-out;
}

.info-accesorios{
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient( #000000, rgba(0, 0, 0, 0.678));
  box-shadow: -30px 10px 30px;
  width: 450px;
  height: 200px;
  height: 200px;
  grid-area: 4 / 3 ;
}
/* Fin del GRID, seccion de productos */

.testimonios {
  text-align: center;
  padding: 50px 20px;
  background: #f8f9fa;
}

.testimonios h2 {
  font-size: 3rem;
  font-family: "Michroma";
  margin-bottom: 30px;
  color: #1396ca;
}

.contenedor-testimonios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.tarjeta {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.tarjeta:hover {
  transform: translateY(-5px);
}

.tarjeta img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.tarjeta h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #333;
}

.tarjeta span {
  font-size: 0.9rem;
  color: #777;
  display: block;
  margin-bottom: 10px;
}

.tarjeta p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
}



.mapa{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

iframe{
  width: 80%;
  height: 50vh;
  border-radius: 20px;
}









.marcas {
  overflow: hidden;
  width: 100%;
  height: 11vh;
  display: flex;
  align-items: center;
}

.carrusel {
  display: flex;
  width: 200%; 
  animation: mover 20s linear infinite;
}

.track {
  display: flex;
  width: 50%;
  justify-content: space-around;
}

.carrusel img {
  height: 70px;
  object-fit: cover;
  margin: 0 30px;
  /* box-shadow: 0px 0px 30px; */
  background-color: #fff;
}


@keyframes mover {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}




  






h2 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}


  footer{
    width: 100%;
    height: 60vh;
    background-color: rgba(0, 0, 0, 0.329);
    display: flex;
    justify-content: center;
    color: #fff;
    font-family: "Prosto One";
    flex-wrap: wrap;
    box-sizing: border-box;
  }

  .lista{
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .lista a{
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 15px;
    transition: 1s ease-in-out;
  }

  .lista a:hover{
    color: #ffd000;
    text-decoration:underline;
  }


  .centro{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .centro p{
    color: #d8d8d8;
    margin: 10px;
  }

  .mail:hover{
    color: #fff;
    cursor: pointer;
  }

  .age:hover{
    color: #fff;
    cursor: pointer;
  }


  .centro img{
    width: 150px;
    margin-bottom: 20px;
  }

  .centro a{
    text-decoration: none;
  }

  .centro span{
    color: #ffd000;
    font-family: "Akronim";
    font-size: 1.5rem;
  }

  .centro span:hover{
    color: #f01616;
    cursor: pointer;
  }

  .redess{
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .redess a{
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 15px;
    transition: 1s ease-in-out;
  }

  .redess a:hover{
    color: #ffd000;
    text-decoration:underline;
  }



.abrir-menu{
  display: none;
}

.cerrar-menu{
  display: none;
}

.redes-menu{
  display: none;
}




@media  (min-width: 0px) and (max-width: 500px){

  body{
    width: 100%;
    background: linear-gradient(#250055,#5200a3,#6600ff,#3e00b3,#070055);
  }
  .puerta-contenedor{
    width: 100%;
    height: 100%;
  }

  .puerta.left{
    background-position: right;
  }

  .puerta.right{
    background-position: left;
  }

  .nav a{
    display: none;
  }

  .inicio{
    width: 100%;
  }

  .navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .primero{
    width: 100%;
    display: flex;
    justify-content: space-between;
    img{
      width: 60%;
    }
  }

  

  .segundo{
    display: none;
  }

  .abrir-menu, .cerrar-menu, .redes-menu{
    display: block;
    border: 0;
    font-size: 3.5rem;
    background-color: transparent;
    cursor: pointer;
    color: #fff;
  }

  .redes-menu i{
    font-size: 3rem;
    color: #ffd000;
  }

  .cerrar-menu{
    font-size: 2rem;
    
  }


  .menu{
    opacity: 0;
    visibility: hidden;

    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    box-shadow: 0 0 0 100vmax rgba(2, 8, 94, 0.685);
    padding: 2rem;
  }

  .menu.visible{
    opacity: 1;
    visibility: visible;
  }

  .menu-list{
    width: 100%;
    margin-top: 50px;
    gap: 2rem;
    flex-direction: column;
    align-items: center;
    color: #fff;
    background: linear-gradient(#250055,#5200a3,#6600ff,#3e00b3,#070055);

div{
      display: flex;
      width: 100%;
      justify-content: space-evenly;
    }
  }



  .menu-list li a{
    color: #fff;
    font-size: 2rem;
  }


  .logos{
    display: none;    
  }



  .cabeza{
    width: 100%;
    height: 800px;
    background-attachment: scroll;
    background-position: center;
  }

  .titulo{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 0;
    padding: 0;
    h1{
      font-size: 2rem;
      font-weight: 900;
    }

    h2{
      width: 70%;
      font-size: 1rem;
      font-weight: 500;
    }

    p{
      margin-top: 0;
      font-size: 1rem;
    }
  }

  .botones{
    width: 100%;
    margin-left: 0;
    justify-content: space-evenly;

    button{
      width: 150px;
      border-radius: 30px;
      border: none;
    }
  }


  .servicios2{
    height: 100%;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 0;
    margin-bottom: 3rem;
    div{
      width: 90%;
      h2{
        font-size: 2rem;
      }
    }
  }

  .servicios-extra{
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    div{
      width: 80%;
      border-radius: 30px;
    }
  }

  .motores{
    width: 100%;
    height: 100%;
    display: flex; 
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 1rem;
  }


  .motores1{
    width: 100%;

    div{
      box-shadow: 0px 0px 30px;
      width: 100%;
    }
  }

 

  .info-corredizos, .info-cadena, .info-industriales, .info-electromecanicos, .info-hidraulicos, .info-accesorios{
    height: 100%;
  }

  



  .marcas{
    display: none;
  }

  .mapa{
    width: 100%;
    margin-top: 2rem;
    height: 100%;
  }

  iframe{
    width: 90%;
  }

  .footer{
    flex-direction: column;
    align-items: center;
    min-height: auto;
    width: 100%;
    height: 100%;
  }

  .lista{
    width: 100%;
    margin-top: 10px;
  }

  .centro{
    width: 100%;
    order: 3;
  }


  .redess{
    width: 100%;
    margin-top: 10px;
  }

}




/* para tablets */

@media (min-width: 501px) and (max-width: 1024px) {
  body{
    width: 100%;
    background: linear-gradient(#250055,#5200a3,#6600ff,#3e00b3,#070055);
  }

  .puerta-contenedor{
    width: 100%;
    height: 100%;
  }

  .puerta.left{
    background-position: right;
  }

  .puerta.right{
    background-position: left;
  }

  .nav a{
    display: none;
  }

  .inicio{
    position: absolute;
    width: 100%;
  }

  .navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    width: 100%;
  }

  .primero{
    width: 100%;
    position: absolute;
    display: flex;
    justify-content: space-evenly;

    img{
      width: 20rem;
    }
  }

  .segundo{
    display: none;
  }

  .abrir-menu, .cerrar-menu, .redes-menu{
    display: block;
    border: 0;
    font-size: 3.5rem;
    background-color: transparent;
    cursor: pointer;
    color: #fff;
  }

  .redes-menu i{
    font-size: 3rem;
    color: #ffd000;
  }

  .cerrar-menu{
    font-size: 2rem;
  }


  .menu{
    opacity: 0;
    visibility: hidden;

    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: end;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    box-shadow: 0 0 0 100vmax rgba(2, 8, 94, 0.685);
    padding: 2rem;
  }

  .menu.visible{
    opacity: 1;
    visibility: visible;
  }

  .menu-list{
    width: 100%;
    margin-top: 50px;
    gap: 2rem;
    flex-direction: column;
    align-items: center;
    color: #fff;
    background: linear-gradient(#250055,#5200a3,#6600ff,#3e00b3,#070055);

    div{
      display: flex;
      width: 50%;
      justify-content: space-evenly;
    }
  }


  .menu-list li a{
    color: #fff;
    font-size: 2rem;
  }

  .logos{
    display: none;    
  }

  .cabeza{
    width: 100%;
    height: 80vh;
    background-attachment: scroll;
    background-position: center;
    /* mask-image: linear-gradient( black 95%, transparent); */
  }

  .titulo{
    width: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;

    h2{
      font-weight: 600;
    }

    p{
      font-weight: 900;
    }
  }

  .botones{
    width: 100%;
    margin: 0;
    justify-content: space-evenly;
  }

  .servicios2{
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    gap: 5rem;

    div{
      width: 80%;
    }
  }

  .servicios-extra{
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 10px;
    padding: 10px;
    div{
      width: 100%;
    }
  }

  .motores{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    gap: 3rem;
    padding: 0;
    margin-bottom: 3rem;
  }

  .motores1{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .motores div {
    width: 85%; 
  }

  .corredizos, .info-corredizos,
  .cadena, .info-cadena,
  .industriales, .info-industriales,
  .electromecanicos, .info-electromecanicos,
  .hidraulicos, .info-hidraulicos,
  .accesorios, .info-accesorios {
    box-shadow: 0px 30px 30px black;
  }

  .footer{
    flex-direction: column;
    align-items: center;
    min-height: auto;
    width: 100%;
    height: 100%;
  }

  .lista{
    width: 100%;
    margin-top: 10px;
  }

  .centro{
    order: 3;
  }


  .redess{
    width: 100%;
    margin-top: 10px;
  }

  .marcas{
    display: none;
  }
}