/* CSS Trabaja por selectores*/
body{
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: rgb(56, 54, 54);
    font-family: Arial, sans-serif;
}

/* 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;
}



/* nota para la cabecera con botones  */

/* Estilos para el encabezado */

/* 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: 790px; /* Altura mínima para pantallas más pequeñas */ /*AUTOAJUSTAR EN MOVIL-->300px Y COMPUTADORA--->800px */
    background-image: url(img/202403241805.gif);
    color: white;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;  
    background-color: white;
    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: 200px;
    }
    .fondoimagenprincipal h3 {
        text-align: center; /* Ajusta el texto al centro en dispositivos móviles si es necesario */
    }
}









#contenedor_4_imagen {
    height: 45vh;
    /* background-image: url(img/video1_AdobeExpress.gif); */

    /*background-image: url("https://img.freepik.com/vector-gratis/descarga-electrica-que-pasa-aire-dos-piezas-cables-desnudos_33099-961.jpg"); */
    background-image: url("img/cambio-climatico.gif"); 

    color: white;
    /*background-size:50%;*/
    background-repeat:space;
    background-position:center;
    background-color: rgb(255, 252, 252);
    background-blend-mode: darken;
    overflow: hidden;
    background-repeat: no-repeat;
    opacity: 99;
    display: block;
}








/* footer */

footer {
	background-color:#1A1A1A;
	height: 50%;
  color: white;
  padding: 15px;
}

.main1 { 
  display:flex;
  margin:0 auto;
}

a img:hover {
    color: #fff;
}

