/* CSS Trabaja por selectores*/
body{
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: rgb(0, 0, 0);
    font-family: Arial, sans-serif;
    
}

/* nota  */


/* Estilos para el encabezado */
#header_principal {
    background-color: #333;
    color: white;
    padding: 10px 0;
    font-family: Arial, sans-serif;
    overflow: hidden;
}



#title_main {
    font-family:'Arial';
    font-style: 'normal';
    overflow: hidden;
    font-size: 24px;
    margin: 0;
    color: yellow;
}



/* Estilos para el menú */

.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: 0px 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 */
    }
}


/* FIN DE NOTAS*/



/* Estilos para el encabezado */


.logo-container {
    display: flex;
    align-items: center;
}

.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: 0px;  /*20px*/
}

.nav-link {
    text-decoration: none;
    color: white;
    transition: color 0.3s;
}

.nav-link:hover {
    color: yellow;
}


.single-line {
    white-space: nowrap;
}


/*
.fondoimagenprincipal {
    height: auto;
    min-height: 300px; /* Establece una altura mínima para que no se vuelva demasiado pequeña */ /*
    background-image: url(img/tumblr_n7zukidWwU1qze3hdo1_r2_500.gif);
    color: white;
    background-size: cover;
    background-position: center;
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: darken;
    overflow: hidden;
    padding: 20px; /* Agrega un poco de espacio alrededor del contenido */
/*} */

/* Estilos generales para todas las pantallas */
.fondoimagenprincipal {
    height: auto;
    min-height: 300px; /* Altura mínima para pantallas más pequeñas */
    background-image: url(img/tumblr_n7zukidWwU1qze3hdo1_r2_500.gif);
    color: white;
    background-size: cover;
    background-position: center;

  
    background-repeat: no-repeat;
    
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: darken;
    overflow: hidden;
    padding: 20px; /* Agrega un poco de espacio alrededor del contenido */
}

/* Estilos específicos para pantallas más pequeñas (móviles) */
@media (max-width: 767px) {
    .fondoimagenprincipal {
        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 */
    }
    .fondoimagenprincipal h3 {
        text-align: center; /* Ajusta el texto al centro en dispositivos móviles si es necesario */
    }
}




#admin_1 {
    color: white;
    font-family: 'Arial', sans-serif;
    font-size: 32px;
    text-align: center;
    margin: 0;
}

#electr0n_fondo{
    color:rgb(255, 255, 255);
    font-family: 'Arial';
    font-style: 'normal';
    font-size: 330%    
}

.subcabecera {
    height: autox;
    background-color: rgba(232, 240, 239, 0.945);
    overflow: hidden;
}

.class_cards {
    height: auto; /* 450px*/
    padding: 4%;
    background-color: black;
    
}

.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%;
}


#sec-3-titulo {
    color:rgb(255, 255, 255);
    font-family: 'Arial';
    font-style: 'normal';
    font-size: 130%
} 

#sec-3-info {
    color:rgb(255, 255, 0);
    font-size: 130% 
}


/* inicio de barra de navegación electricidad _1 */

#titulo_barra_1 {
    color: white;
    font-size: 130%;
}
.loader-container {
    width: 99%;
    max-width: 400px; /* Puedes ajustar el máximo ancho según tus necesidades */
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.loader {
    width: 0;
    height: 100%;
    background-color: #35f300;
    text-align: center;
    line-height: 20px;
    color: white;
    font-weight: bold;
    position: absolute;
    top: 0;
    left: 0;
    animation: load 5s ease-in-out infinite; /* Ajuste para repetir la animación infinitamente */
}

.load-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
}

@keyframes load {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .loader-container {
        max-width: 100%;
    }
}


/* fin de barra de navegación   electricidad _1 */


/* inicio de barra de navegación electricidad _2 */

#titulo_barra_2 {
    color: white;
    font-size: 130%;
}
.loader-container_2 {
    width: 100%;
    max-width: 400px; /* Puedes ajustar el máximo ancho según tus necesidades */
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.loader_2 {
    width: 0;
    height: 100%;
    background-color: #f38200;
    text-align: center;
    line-height: 20px;
    color: white;
    font-weight: bold;
    position: absolute;
    top: 0;
    left: 0;
    animation: load_2 10s ease-in-out infinite; /* Ajuste para repetir la animación infinitamente */
}

.load-text_2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
}
/* ESTO ES EL PORCENTAJE DE LLENADO DE LA BARRA DE CARGA */
@keyframes load_2 {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}


/* fin de barra de navegación   electricidad _2 */


/* footer */

footer {
	background-color:#1A1A1A;
	height: 50%;
  color: white;
  padding: 15px;
}

.main1 { 
  display:flex;
  margin:0 auto;
}

a img:hover {
    color: #fff;
}

