body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
}


/* h1 {
    font-weight: 700;
    font-size: 3.5em;
    line-height: 1.1em;
    margin-bottom: 0.2em;
    color: #fff;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
} */
h2 {
    font-weight: 700;
    font-size: 2.5em;
    line-height: 1.1em;
    margin-bottom: 0.2em;
    color: #fff;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
}
p {
    font-weight: 400;
    font-size: 1.4em;
    line-height: 1.1em;
    margin-bottom: 0.2em;
    color: #fff;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
}
a {
    color: #fff;
    text-decoration: none;
}


/* POPUP */

.popup-news {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); 
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

.popup-news .wrapper {
    z-index: 1001;
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    max-width: 900px;  
    width: 100%; 
    overflow: hidden; 
    text-align: center; 
}

.popup-news .wrapper > div {
    height: 500px;
}

.popup-news .popup-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 500;
    cursor: pointer;
}

.popup-news img {
    max-width: 100%;
    height: auto; 
    display: block;
    margin: 0 auto; 
}

.popup-news a#closePopupNews {
    height: 20px;
    width: 20px;
    background: url(../images/cerrar.png) no-repeat; 
    background-size: contain; 
    position: absolute;
    top: 10px; 
    right: 10px; 
    cursor: pointer;
    z-index: 1002;
    text-indent: -9999px; 
}
/*ORGANIZACION*/
main {
    margin: 0;
    padding: 0;
}
.txt-fondo-blanco {
    background-color: #fff; 
    align-items: center; 
    justify-content: center; 
    color: #000; 
    padding: 20px; 
    text-align: center; 
    box-sizing: border-box;
    min-height: 300px; 
    max-width: 1200px; 
    margin: 0 auto; 
}
.txt-fondo-blanco > div:first-child {
    margin-top: 40px; 
}
.txt-fondo-blanco h1 {
    font-family: 'Open Sans', sans-serif;
    font-size: 2em;
    color: #000;
    font-weight: bolder;
    line-height: 1.1;
}
.txt-fondo-blanco h2 {
    font-weight: 500;
    font-size: 2em;
    line-height: 1.1em;
    margin-bottom: 1.1em;
    color: #000;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
}
.txt-fondo-blanco p {
    background-color: #5A7DBE;
    border-radius: 10px 0 10px 0px; 
    padding: 40px;
    color: #ffffff;
    line-height: 1.4;
    font-size: 24px;
}

.logos-fondo-negro {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url('../images/org-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 150px 0;
    min-height: 600px;
    width: 100%; 
    margin: 0 auto; 
}

.logos-fondo-negro .imagenes {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Cambiar de center a space-between */
    max-width: 1200px;
    width: 100%;
    gap: 30px;
    margin: 0 auto;
}

.logos-fondo-negro .imagenes a {
    width: 48%;
}

.logos-fondo-negro .imagenes img {
    width: 100%;
    height: auto;
    max-width: 250px;
    object-fit: contain;
    margin-bottom: 30px;
}

.logos-fondo-negro .imagenes a:last-child {
    flex-basis: 48%;
}

/* Ajustes para la imagen de los países */
#paises {
    margin-top: 100px;
    width: 80%; 
    display: flex;
    justify-content: center;
}

#paises img {
    width: 100%; 
    max-width: 350px; 
    height: auto; 
}


/* //////////////////// MEDIA QUERIES ////////////////////  */
/* //////////////////// MEDIA QUERIES ////////////////////  */
@media only screen and (max-width: 480px) {
    /* .logos-fondo-negro .imagenes a {
        width: 70%;  
    } */
    .logos-fondo-negro .imagenes {
        justify-content: center; 
    }

    .logos-fondo-negro .imagenes a {
        flex-basis: 100%; 
        text-align: center; 
    }

    .logos-fondo-negro .imagenes img {
        max-width: 180px;  
    }
    .txt-fondo-blanco p {
        padding: 20px;
        font-size: 20px;
    }
    .txt-fondo-blanco h2 {
        font-weight: 500;
        font-size: 1.5em;
        line-height: 1.1em;
        padding-top: 1em;
    }

}

