/* CSS Trabaja por selectores*/

body{
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: gray;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
}

#title_main {
    color:rgb(42, 235, 42);
    font-family:'Times New Roman',cursive;
    font-style: 'italic';
    font-size:260%;
    overflow: hidden;

}

#header_principal {
    height: auto;
    overflow: hidden;
}




/* nota para la cabecera con botones  */


/* Estilos para el encabezado */
#header_principal {
    background-color: #333;
    color: white;
    padding: 10px 0;
    font-family: Arial, sans-serif;
    overflow: hidden;

    
}

.logo-container {
    display: flex;
    align-items: center;
}

#title_main {
    font-size: 24px;
    margin: 0;
    color: yellow;
}

.highlight {
    color: yellow;
}

/* Estilos para el menú */
.main-menu {
    text-align: right;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    display: inline-block;
    margin-left: 20px;
}

.nav-button {
    padding: 10px 20px;
    border: none;
    background-color: transparent;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.nav-button:hover {
    background-color: yellow;
    color: #333;
}

/* Consulta de medios para dispositivos móviles */
@media (max-width: 768px) {
    .nav-list {
        text-align:center; /* Centrar los botones en dispositivos móviles */
    }
    .nav-item {
        display: block;
        margin: 10px 0; /* Espacio entre los botones en dispositivos móviles */
    }
    .nav-button {
        width: auto; /* Ajustar el ancho automáticamente */
        padding: 10px 20px; /* Volver al padding original */
    }
}






/* Estilos para el menú */
.main-menu {
    text-align: right;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    display: inline-block;
    margin-left: 20px;
}

.nav-link {
    text-decoration: none;
    color: white;
    transition: color 0.3s;
}

.nav-link:hover {
    color: yellow;
}


/* FIN DE NOTAS para la cabecera con botones */


















.fondoimagenprincipal {
    height: auto;
    min-height: 500px; /* Altura mínima para pantallas más pequeñas */ /*AUTOAJUSTAR EN MOVIL-->300px Y COMPUTADORA--->800px */
    background-image: url("img/coche-portada.gif");
    color: white;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;  
    background-color: rgba(0,0,0,.5);
    background-blend-mode: darken;
    overflow: hidden;
    padding: 40px; /* Agrega un poco de espacio alrededor del contenido */
}


/* Estilos específicos para pantallas más pequeñas (móviles) */
@media (max-width: 767px) {
    .fondoimagenprincipal {
        /*agrega condiciones que necesites en modo movil*/
        background-attachment: scroll; /* Cambia a scroll en dispositivos móviles */
        background-size: 100% auto; /* Ajusta el tamaño de la imagen para cubrir el ancho completo en dispositivos móviles */
        min-height: 150px;
    }
    .fondoimagenprincipal h3 {
        text-align: center; /* Ajusta el texto al centro en dispositivos móviles si es necesario */
    }
    
}







#introduction_123 {
    color:rgb(255, 255, 255);
    font-family: 'Times New Roman',cursive;
    
    font-size: 100%;
    overflow: hidden;

}

#li_container1 {
    color:rgb(255, 255, 255);
    font-family: 'Arial';
    
    font-size: 100%;
    overflow: hidden;

}



#electr0n_fondo{
    color:rgb(255, 255, 255);
    font-family: 'Arial';
    
    font-size: 390%;
    overflow: hidden;
    
}



.subcabecera {
    height: auto;
    background-color: rgba(254, 255, 255, 0.945);
    overflow: hidden;
    white-space: nowrap; /* Evita que el contenido se desplace a una nueva línea */
    animation: slideLeftRight 15s linear infinite;  /* Ajusta el valor de 20s para cambiar la velocidad */
    overflow: hidden;
    
  }
  
  /* Animación para mover toda la subcabecera */
  @keyframes slideLeftRight {
    0% {
      transform: translateX(100%); /* Inicia fuera de la pantalla a la derecha */
    }
    100% {
      transform: translateX(-100%); /* Termina fuera de la pantalla a la izquierda */
    }
    
  }
  
  





.class_cards {
    height: auto; /* 450px*/
    padding: 4%;
    background-color: rgb(65, 101, 218);
    overflow: hidden;
}

.card{
    border: 0 !important;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06); /* sombras son 2*/
    padding:  0.1%;
    overflow: hidden;
    
   
}


.container mt-2 mb-2  {
    background-color: aqua;
    overflow: hidden;
}







#parrafo_container2 {

    /* color:rgb(42, 235, 42);  */
    /* font-family:'Times New Roman',cursive;  */
    font-style: 'italic';
    font-size:120%;
    overflow: hidden;

}



#li_container2 {
    /* color:rgb(42, 235, 42);  */
    /* font-family:'Times New Roman',cursive;  */
    font-style: 'italic';
    font-size:100;
    overflow: hidden;
    
    
    

}

#contenedor_01  {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: white;
    overflow: hidden;
}




#title_container2 {
    /* color:rgb(42, 235, 42);  */
    font-family:'Arial'; 
    font-style: 'normal';
    font-size:220%;
    overflow: hidden;
    color: black;

}

#contenedor_2  {
    margin: 0;
    padding: 20px;
    height: 100%;
    background-color: black;
    overflow: hidden;
}




.mosaic-item {
    max-width: 100%;
    margin: 10px; /* Márgenes entre las imágenes */
    position: relative; /* Posición relativa para alinear el texto */
    
}

.mosaic-item img {
    max-width: 100%;
    height: 100%;
}

.mosaic-item .image-description {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    opacity: 0%; /* El texto está oculto inicialmente */
    transition: opacity 0.3s ease-in-out;
}

.mosaic-item:hover .image-description {
    opacity: 1; /* Mostrar el texto cuando se coloca el puntero sobre la imagen */
}


#text_medium_voltage {
    /* color:rgb(42, 235, 42);  */
    /* font-family:'Times New Roman',cursive;  */
    text-align: justify;
    /* color:rgb(42, 235, 42);  */
    /* font-family:'Times New Roman',cursive;  */
    font-style: 'italic';
    font-size:120%;
    overflow: hidden;

}


#baja_tension_parrafo {
    text-align: justify;
    overflow: hidden;
}

#media_tension_parrafo {
    text-align: justify;
    overflow: hidden;
}

#contenedor_3 {
    background-color: #fff;
    overflow: hidden;
}



.contenedor_x_parrafo {
    font-family:'Arial'; 
    font-style: 'normal';
    font-size:150%;
    overflow: hidden;
    color: black;

}








#estacion_carga {

    height:600px; /* 400px*/
    
    
    background-image: url("img/evnex-ltd-DqkqZkS3wdc-unsplash.jpg");
  
    color: white;
    background-size:cover;
    background-position:center;
    background-color: rgba(0,0,0,.5);
    background-blend-mode: darken;
    overflow: hidden;

}



/* footer */

footer {
	background-color:#1A1A1A;
	height: 50%;
  color: white;
  padding: 15px;
  overflow: hidden;
}

.main1 { 
  display:flex;
  margin:0 auto;
  overflow: hidden;
}

a img:hover {
    color: #fff;
    overflow: hidden;
}

