body{
    background-color: white;
    overflow-x: hidden; /*para que no se vea la barra de scrolleo de los laterales y para que no se pueda scrollear para los laterales*/
    overflow-y: auto;  
    width: 100%;
    font-family: "Poppins", sans-serif;
}

:root{
    --ColorPrincipal: #070d24;/*Color principal temporal, cambienlo si ven otro fondo mejor*/
    --white: black;
}
h1{
    text-align: center;
    justify-content: center;
    color: black;
}

h2{
    font-size: 2rem;
    color: black;
}
p{
    text-align: justify;
    font-size: 1.2rem;
    color: black;
}

.align-rigth{
  justify-content: right;
  text-align: right;
}

/* Botones */ 
.button {      /*Boton Verde */
    padding: 1.3em 3em;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 500;
    color: #E0E0E0;
    background-color: rgb(94, 94, 94);
    border: none;
    border-radius: 45px;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease 0s;
    cursor: pointer;
    outline: none;
    text-decoration: none;
  }
  
  .button:hover {
    background-color: #23c483;
    box-shadow: 0px 15px 20px rgba(46, 229, 157, 0.4);
    color: #fff;
    transform: translateY(-7px);
  }
  
  .button:active {
    transform: translateY(-1px);
  }


  /* Boton Amarillo */
/* From Uiverse.io by joe-watson-sbf */ 
.btn {
    font-size: 17px;
    background: transparent;
    border: none;
    padding: 1em 1.5em;
    color: #ffedd3;
    text-transform: uppercase;
    position: relative;
    transition: 0.5s ease;
    cursor: pointer;
  }
  
  .btn::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background-color: #ffc506;
    transition: 0.5s ease;
  }
  
  .btn:hover {
    color: #1e1e2b;
    transition-delay: 0.5s;
  }
  
  .btn:hover::before {
    width: 100%;
  }
  
  .btn::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 0;
    width: 100%;
    background-color: #ffc506;
    transition: 0.4s ease;
    z-index: -1;
  }
  
  .btn:hover::after {
    height: 100%;
    transition-delay: 0.4s;
    color: aliceblue;
  }
  /*Estilo de Switch*/
  .switch{
    width: 55px;
    height: 30px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    border-radius: 100px;
    border: #333  solid 2px;
    background-color: gray;
  }
  .switch i{
    margin-top: 5px;
    font-size: 1rem;
    color: #ffc506;
  }
  .switch::before{
    content: "";
    position: absolute;
    height: 30px;
    width: 32px;
    border-radius: 100px;
    background-color: white;
    left: .5px;
    right: unset;

  }
  .switch.active::before {
    background-color: #070d24;
    right: .5px;
    left:unset;
  }
  /* fin de los botones ------------------------------------------------------------ */ 




.navigation-bar{
    transform: translateY(0);
    transition: transform 0.3s ease-in-out;
    position: fixed;
    z-index: 1000;  /*para que quede adelante de los demas elementos*/
    width: 100%;
    height: 5%;
    padding: 20px 0;
    top: 0;
    left: 0;
    justify-content: space-between;
    align-items: center;
    display: flex;
    background-color: #676d77;
    margin:0;
    
}
.options-bar{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.options-bar a{
    user-select: none;/*Para que el usuario no pueda seleccionar esa parte*/
    text-decoration: none; /*para que no se vea morado por que se le pico*/
    font-size: 17px;
    color: black;

    position: relative;
}
.options-bar img{
    height: 100px;
    margin-right: 300px;
    margin-left: 20px;
}

@media(max-width: 1066px) {
  .navigation-bar a{
    font-size: 0.5rem;
  }

  .options-bar img{
    display: none;
  }

  .options-bar .links {
    display: flex;
    justify-content: space-between;
    width: 100%;
  };

  .options-bar a { 
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin: auto;
  }
}


body.active h1{
  color: white;
}
body.active h2{
  color:  #eee;
}
body.active p{
  color: #eee;
}
body.active .desc{
  color: black;
}
body.active .navigation-bar{
  background-color: rgb(19, 18, 18);
}
body.active .options-bar a{
  color: white;
}
body.active{
  background-color: #222121;
  width: 100%;
}
body.active .contenedor2{
  display: flex;
  background: linear-gradient(to top,#222121, #333 );
  width: 100%;
  height: 100vh;
  margin-bottom: 2rem;
  justify-content: center;
  align-items: center;
}
body.active .contenedor2-img h2{
  /*padding-top: 317px; Cambio cuestion de gusto------------------------------------------------------------------------------------------------------------------------------*/
  color: black;
}
/*Parte de la animacion de la barra de opciones*/


.hidden{
    transform: translateY(-100%);
}
/*Finaliza la parte de la animacion de la barra de opciones*/
.contenedor{
    background-image: url(/img/vehiculos2.jpgw);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100vh;
}


.text-one{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url(/img/indexBackgroundAux.png);/*-----------------------------------------------------------------------------------------------------------------------*/
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.text-one h2{
    font-size: 2rem;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.4);

    color: whitesmoke;
}
.text-one p{
    border-radius: 0%;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.4);
    color: rgb(214, 214, 214);
}

.info {
    margin-top: 100px;
    display: flex;
    justify-content: center;
    margin-bottom: 100px;
}
body.active .apartado h2{
  color: whitesmoke
}
.apartado {
    width: 50%;
    text-align: center;
    justify-content: center;
}
.apartado p{
    margin: 5rem;
}
body.active .apartado p{
  color: rgb(214, 214, 214)
}
.apartado-img{
    display: flex;
    justify-content: center; 
    align-items: center;
    width: 50%;
}
.apartado-img img {
    height: 350px;
    width: 500px; 
    border-radius: 10%;
}

@media(max-width: 1066px) {

    .info{
      width: 100%;
      flex-direction: column;
    }
    .textoAuxUno{
     text-align: center !important;
    }
    .apartado{
      width: 100%;
      display: block;
    }

    .apartado-img{
      width: 100%;
      height: auto;
    }

    .apartado-img img{
      width: 90%;
      height: auto;
      margin: auto;
      margin-top: 2rem;
    }

    .apartado p{
      margin: 1rem;
    }

    .red-buttons4{
      display: none;
    }

}
.servicio{
    border-top: solid 3px #50535a;
}
.serv{
    display: flex;
    justify-content: center;
    text-align: center;
    border-bottom: solid 3px #50535a;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columnas */
    gap: 30px; /* Espacio entre celdas */
    width: 50%; /* Ajusta el ancho según sea necesario */
}

.grid-item {
  background-color: #4e545c;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 50px;
}
.grid-item:hover{
  background-color: #55668f;
  box-shadow: 0px 15px 20px #507687;
  color: #fff;
  transform: translateY(-7px);
}
body.active .grid-item:hover{
  background-color: #3b4252;
  box-shadow: 0px 15px 20px #507687;
  color: #fff;
  transform: translateY(-7px);
}

.grid-item img {
    max-width: 50px;
    margin-bottom: 10px;
}

.grid-item p {
    font-size: 1.3rem;
    color:black;
}

.grid-item h3{
  font-size: 1.6rem;
  color: black;
}

@media(max-width: 1066px) {
    .grid-container{
      grid-template-columns: repeat(1, 1fr);
      width: 90%;
    }
}


.contenedor_servicios {
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center; 
    text-align: center;
    width: 100%; 
    margin-top: 100px;
}

.contenedor_servicios h3{
  color: black;
  font-size: 1.6rem;
}

@media(max-width: 1066px) {
    .contenedor{
      width: 100%;

    }

    .text-one{
      width: 100%;

    }
}



.tipo_servicios{
    width: 80%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 1rem;
    
}
@media(max-width: 1066px) {
    .tipo_servicios{
      width: 100%;
      grid-template-columns: repeat(1,1fr);
    }
}


.tipo{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
}
.tipo:hover{
  background-color: whitesmoke;
  box-shadow: 0px 15px 20px #494949;
  color: #fff;
  transform: translateY(-7px);
}
body.active .tipo:hover{
  background-color: #3b4252;
  box-shadow: 0px 15px 20px #494949;
  color: #fff;
  transform: translateY(-7px);
}
body.active .tipo h3{
  color: #ccc;
}
.tipo p{
    line-height: 2;
    text-align: center;
    font-size: 1.3rem;
}
.tipo .icono{
  height: 10rem;
  width: 10rem;
  background-color: #818d9e;
  border-radius: 50%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}




/*   ------------------------------   Espacio de la pagina About us .html --------------------------------------------------------------------------------------------------- */

.contenedor2{
    display: flex;
    height: 100vh;
    width: 100%;
    margin-bottom: 2rem;
}
.contenedor2-img{
  height: 100%;
  width: 100%;
  background-image: url(/img/aboutus-backgroundAux.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position:top;
  display: flex;
  justify-content: center;
  
}

body.active .contenedor2-img{
  height: 100%;
  width: 100%;
  background-image: url(/img/aboutus-backgroundAux.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position:top;
  display: flex;
  justify-content: center;
}


.contenedor2-img h2{
    padding: 19rem;
    font-size: 4rem;
}

@media(max-width: 1066px) {

    .contenedor2-img{
      text-align: center;
      justify-content: center;
      align-items: center;
    }

    .contenedor2-img h2{
      padding: 1rem;
    }
}

.contenidos{
    width: 80%;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.contenidos h3{
  font-size: 2rem;
  color: black;
}

.contenidos .align-rigth h3{ 
  font-size: 2rem;
  color: black;
  text-align: end;
}

.elemento-about{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color:gainsboro;
  width: auto;
  border-radius: 2%;
  margin: 2rem;
  padding: 1rem;
}

body.active .elemento-about{
  background-color: #333;
}

.inside{
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.inside p{
  width: 50%;
  font-size: 1.6rem;
}

.inside img{
  width: 30%;
  border-radius: 5%;
  margin: 1rem;
  height: 60vh;
}


 body.active .contenidos h3{
    font-size: 2rem;
    color: white;
 }

 @media(max-width: 1066px ) {
     .contenidos{
      width: 100%;
     }

     .inside{
      flex-direction: column;
      
     }

     .inside p{
      width: 100%;
     }

     .inside img{
      width: 100%;
      height: 25vh;
     }
 }

 .cards{
  margin-top: 4rem;
  display: flex;
  justify-content: space-around;
 }

 .card {
  max-width: 300px;
  border-radius: 0.5rem;
  background-color: #fff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid transparent;
}

.card a {
  text-decoration: none
}

.content {
  padding: 1.1rem;
}

.image {
  object-fit: cover;
  width: 100%;
  height: 150px;
  background-image: url(/img/empresario.png); /*Cambiar por imagenes los fondos */ 
  background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 100%;
}

.image2 {
  object-fit: cover;
  width: 100%;
  height: 150px;
  background-image: url(/img/familia.png);
  background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 100%;
}

.image3 {
  object-fit: cover;
  width: 100%;
  height: 150px;
  background-image: url(/img/concierto.png);
  background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 100%;
}

.title {
  color: #111827;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
}

.desc {
  margin-top: 0.5rem;
  color: #6B7280;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.action {
  display: inline-flex;
  margin-top: 1rem;
  color: #ffffff;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  align-items: center;
  gap: 0.25rem;
  background-color: #2563EB;
  padding: 4px 8px;
  border-radius: 4px;
}

@media(max-width: 1066px) {
    .cards{
      display: block;
      justify-content: center;
    }
  .card{
      margin: auto;
      margin-top: 1rem;
      width: 100%;
  }

}
.action span {
  transition: .3s ease;
}

.action:hover span {
  transform: translateX(4px);
}

 /*  ============================================ Bloque de contacto --------------------------------------------------------------------------------------- */

 .contacto{
    width: 100%;
    margin-top: 5rem;
    text-align: center;
    margin-bottom: 5rem;
    justify-content: center;
    align-items: center;
 }
 .contenedor

 .contacto h2{
    
    font-size: 2.5rem;
    color: black;
 }

 .contacto p{
  text-align: center;
 }

 .form-container {
    max-width: 400px; /* Ancho máximo del formulario */
    margin-top: 2rem;
    margin-left: auto;
    margin-right: auto;
    padding: 20px; /* Espaciado interno */
    border: 1px solid #ccc; /* Borde del formulario */
    border-radius: 10px; /* Bordes redondeados */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Sombra suave */
    background-color: #f9f9f9; /* Color de fondo */
    font-family: 'Arial', sans-serif; /* Fuente */
  }
  
  /* Estilo de las etiquetas */
  .form-container label {
    display: block; /* Para que cada etiqueta ocupe toda la línea */
    margin-bottom: 8px; /* Espaciado debajo de las etiquetas */
    font-weight: bold; /* Negrita para las etiquetas */
  }
  
  /* Estilo de los campos de entrada */
  .form-container input[type="text"],
  .form-container input[type="email"],
  .form-container input[type="tel"],
  .form-container select,
  .form-container textarea {
    width: 95%; /* Ocupa todo el ancho del contenedor */
    padding: 10px; /* Espaciado interno */
    margin-bottom: 15px; /* Espaciado debajo de cada campo */
    border: 2px solid #ccc; /* Borde de los campos */
    border-radius: 5px; /* Bordes redondeados */
    transition: border-color 0.3s; /* Transición para el cambio de color del borde */
  }
  
  /* Efecto al enfocar los campos */
  .form-container input:focus,
  .form-container select:focus,
  .form-container textarea:focus {
    border-color: #66afe9; /* Color del borde al enfocar */
    outline: none; /* Quitar el contorno predeterminado */
  }
  
  /* Estilo del botón de envío */
  .form-container button {
    background-color: #5cb85c; /* Color de fondo del botón */
    color: white
    ; /* Color del texto */
    padding: 10px; /* Espaciado interno */
    border: none; /* Sin borde */
    border-radius: 5px; /* Bordes redondeados */
    cursor: pointer; /* Cambia el cursor al pasar sobre el botón */
    transition: background-color 0.3s; /* Transición para el cambio de color */
  }
  
  /* Efecto al pasar el mouse sobre el botón */
  .form-container button:hover {
    background-color: #4cae4c; /* Color más oscuro al pasar el mouse */
  }

  .contenedor-contacto{
    display: flex;
    display: block;
  }

  .red{
    display: flex;
    flex-direction: row;
    padding: 1rem;
    text-align: center;
    align-items: center;
    justify-content: center;
  }
  .icon svg {
    stroke: black; /* Cambia el color de la línea */
  }
  body.active .icon svg{
    stroke: white;
  }
  .contenedor-contacto a{
    text-decoration: none;
    color: black;
    font-size: 2rem;
    margin: 1rem;
  }
  body.active .contenedor-contacto a{
    color: white;
  }

  body.active .contenedor-contacto h2{
    color: white;
  }

  @media(max-width: 1066px) {
      .correoC{
        display: none;
      }
  }






  /* ------------------------ vehiculos ------------------------------------------------- */ 

  .contenidosV{
    margin-top: 5rem;
    justify-content: center;
  }

  .contenidosV h2{
    text-align: center;
    justify-content: center;
    font-size: 2.5rem;
    color: black;
  }

  .elementoV{
    display: block;
    margin-bottom: 3rem;
    justify-content: center;
    text-align: center;
    
  }

  .elementoV .vehiculos{
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    
  }

  .elementoV .vehiculos img{
    align-items: center;
    border-radius: 15%;
    width: 65%;
    margin: auto;
    margin-bottom: 1rem;
  }

  .vehiculos p{
    width: 90%;
    margin: auto;
  }

  @media(min-width: 1066px) {
      .contenidosV{
        display: none;
      }
  }


  body.active .elementoV h3{
    color: white;
  }


/*Botones redes ------------------------------------------ */

  .red-buttons{
    flex-direction: row;
    width: 80px;
    height: 80px;
    border: none;
    display: flex;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    overflow: hidden;
    background-color: transparent;
    position: absolute;
    position: fixed;
    top: 90%;
    left: 95.5%;
}
.red-buttons img{
    margin-left:-16px ;
    margin-top: -13px;
    width: 148%;
    height: auto;
    object-fit: cover;
}
.red-buttons2{
    width: 80px;
    height: 80px;
    border: none;
    display: flex;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    overflow: hidden;
    background-color: transparent;
    position: absolute;
    position: fixed;
    top: 80%;
    left: 95.5%;
}
.red-buttons2 img{
    margin-left:-5.3px ;
    margin-top: -2.6px;
    width: 117%;
    height: auto;
    object-fit: cover;
}
.red-buttons3{
    width: 80px;
    height: 80px;
    border: none;
    display: flex;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    overflow: hidden;
    background-color: transparent;
    position: absolute;
    position: fixed;
    top: 70%;
    left: 95.5%;
}
.red-buttons3 img{
    margin-left:-6px ;
    margin-top: -4px;
    width: 120%;
    height: auto;
    object-fit: cover;
}


@media(max-width: 1066px) {
    .red-buttons{
      display: none;
    }

    .red-buttons2{
      display: none;
    }

    .red-buttons3{
      display: none;
    }
}
/* Footer*/

.footer {
  border-top: solid 3px white;
  background-color: #676d77;
  color: #222121;
  padding:20px 20px;
}
body.active .footer{
  background-color: #222121;
}
.footer-logo-section {
  min-width: 150px;
  padding: 20px;
  margin-left: 135px; 
}

.footer-logo {
  max-width: 150px;
}


.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

.footer-column {
  flex: 1;
  min-width: 150px;
}

.footer-column a{
  line-height: 1.6;
  color: #222121;
  font-size: 18px;
  text-decoration: none;
}
body.active .footer-column a{
  color: #bbbaba;
}
.footer-column h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #2563EB;
}
body.active .footer-column h3 {
  color: #2563EB;
}
.footer-column p {
  line-height: 1.6;
  font-size: 18px;
  color: #222222;
}
body.active .footer-column p {
  color: #726e6e;
}
.footer-column a:hover{
  color: #FFD700;
}

/*----------------------------Parte del carrusel-----------------------------------------*/
.swiper {
  display: flex;
  align-items: center;
  margin-top: 6rem;
  margin-bottom: 10rem;
  width: 100%;
  padding: 0 0 50px 0;
  overflow: visible;
  min-width: 100%;
  min-height: 100%;
}
body.active .swiper {
  display: flex;
  align-items: center;
  margin-top: 6rem;
  margin-bottom: 10rem;
  width: 100%;
  padding: 0 0 50px 0;
  overflow: visible;
  min-width: 100%;
  min-height: 100%;
}
.swiper-slide {
  background-color: #676d77;
  border-radius: 5%;
  box-shadow: 0 0 20px rgba(235, 231, 231, 0.822);
  padding: 30px;
  text-align: center;
  align-items: center;
}
body.active .swiper-slide {
  background-color: #181717;
  border-radius: 5%;
  border: solid 5px ;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  padding: 30px;
  text-align: center;
  align-items: center;
}

.product-content {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.product-txt {
  flex-basis: 50%;
  text-align: left;
  margin-left: 30px;
}

.product-txt h3 {
  font-size: 25px;
  color: white;
  text-transform: uppercase;
  margin-left: 200px;
}

.product-txt p {
  font-size: 20px;
  color: #c4c4c4;
  
}

.product-img {
  flex-basis: 50%;
  text-align: center;
  align-items: center;
  width: 100%;
  height: auto;
}
.swiper-slide h3{
  color: white;
  font-size: 25px;
}

.swiper-slide p{
  color: white;
  font-size: 18px;

}


.swiper-button-prev, .swiper-button-next{
  background-color: white;
  border: none;
  border-radius: 5px;
  padding: 10px 15px;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.swiper-button-prev{
  left: 10px;
  color: black !important;
}

.swiper-button-next{
  right: 10px;
  color: black !important;
} 


@media (max-width: 1066px) {
  .swiper,
  .swiper-slide,
  .product-content,
  .product-txt,
  .product-txt h3,
  .product-txt p,
  .product-img,
  .swiper-slide h3,
  .swiper-slide p,
  .swiper-button-prev,
  .swiper-button-next {
    display: none !important;
  }
}
