/*Ajustes generales*/
body {
    background-color: white;
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
    font-style: normal;
}
body, ul, li, a {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
}

.menu-btn {
    display: none; /* Ocultar el botón por defecto */
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 20001;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
}

.sidebar {
    display: none; /* Ocultar la barra lateral por defecto */
}
/*Estilos de la barra de navegación*/
.navbar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10px 1px;
    background-color: white; /*Cambia según el diseño */
    position: fixed;
    width: 100%;
    height: 50px;
    z-index: 20000;
}

.navbar2{
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 10px 1px;
    background-color: white; /*Cambia según el diseño */
    position: fixed;
    width: 100%;
    height: 50px;
    z-index: 20000;
}
.Logo2{
    margin-left: 20px;
    margin-right: 50px;
}

.logo-img2{
    width: 150px;
}

.donar-btn2 {
    flex-grow: 1;  /* Hace que el botón ocupe espacio disponible */
    display: flex;
    justify-content: center; /* Alinea el botón a la izquierda */
    margin-left: 20px; /* Reduce el margen para mejor ajuste */
}

.donar-btn2 a.btn {
    background-color: #0049ac;
    color: white;
    font-weight: bold;
    padding: 10px 5vw; /* Hace que el botón se adapte al ancho de la pantalla */
    border-radius: 20px;
    transition: background-color 0.3s ease;
    text-align: center;
    white-space: nowrap; /* Evita que el texto se divida en varias líneas */
}

.donar-btn2 a.btn:hover{

    background-color: #0c65e0;
}

/* 1*/
.Logo{
    margin-left: 20px;
}
.nav-links {
    margin-left: 30px;
    display: flex;
    gap: 40px;
}
.nav-links li a {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
    padding: 10px 20px;
    transition: color 0.3s ease;
}
.nav-links li a:hover {
    color: #0049ac;
    border-bottom: 4px solid #0049ac;
}

.logo-img{
    width: 150px;
}
.donar-btn a.btn {
    background-color: #0049ac;
    color: white;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 20px;
    transition: background-color 0.3s ease;
    margin-left: 40px;
}

.donar-btn a.btn:hover{
    transform: scale(0.2);
    background-color: #0c65e0;
}

/*Estilos de la sección principal*/
.principal {
background-image: url(img/image.png);
height: 600px;
background-size: cover;
background-position: center;
color: white;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
font-size: 2rem;
margin-bottom: 30px;
}

.Principal .btn {
background-color: #004aac;
color: white;
text-align: center;
padding: 10px;
text-decoration: none;
border-radius: 10px;
font-weight:500;
transition: background-color 0.3s ease;
}

.Principal .btn:hover {
background-color: #0c65e0;
}



h1 {
color: white;
}

.principal p{
    text-size-adjust: bold;
}



/*seccion IMPACTO */

.impacto {
position: relative;
background-image: url(img/imgCharla.jpg);
background-size: cover;
background-position: center;
padding: 0;
/*border: 5px solid red;*/
box-sizing: border-box;
height: 600px;
width: 100%;
color: white;
z-index: -2;
margin-bottom: 50px;
color: white;
text-align: center;
padding: 150px;
font-size: 40px;
font-family: Arial, Helvetica, sans-serif;
}

.impacto span {
font-size: 40px;
font-weight: bold;
}
.capaOscura {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.68);
z-index: -1;

}

.contenedor-impacto {
display: flex;
justify-content: space-around;
align-items: center;
flex-wrap: nowrap;
margin-top: 60px;
margin-bottom: 200px;
z-index: 3;
}

.cifra {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
flex: 1;
min-width: 200;
margin: 10px;

}

.cifra h2 {
font-size: 60px;
font-weight: bold;

}

.cifra p {
font-size: 30px;
margin: 5px 0;
}

.video {
display: flex;
justify-content: space-around;
align-items: center;
flex-wrap: wrap;
margin-bottom: 80px;
}

.contenedor-texto {
width: 500px;
height: 200px;  

}

#barrita {
background-color: #004aac;
width: 150px;
height: 5px;
box-sizing: border-box;
border: 1px solid #004aac;
border-radius: 20%;
}

/* seccion TESTIMONIOS*/

.testimonios {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
/*border: 3px solid black;*/
margin-left: 40px;
margin-right: 30px;
padding-top: 0px;
padding-bottom: 0px;
border: 0px;
gap: 15px;
}


.testimonios div {
/*border: 3px solid red;*/
text-align: center;
}

.testimonios div:first-child {
grid-column-start: 1;
grid-column-end: 4;
text-align: center;
font-size: 30px;
text-decoration: none;
padding: 0px;
}
.testimonios div h2{
margin: 5px 0
}

.testimonios div:nth-child(2) {
grid-column-start: 1;
grid-column-end: 4;
justify-self: center;
padding-bottom: 0px;
margin-bottom: 40px;
}

/*seccion CHARLAS DE ESTE AÑO 2024*/

.proyectos-destacados{
margin-bottom: 30px;
}
.proyectos-destacados h2{
font-size: 30px;
text-align: center;
}
.carrusel-container{
position: relative;
width: 60%; /* Ajusta el ancho según tu diseño */
margin: 0 auto;
overflow: hidden;
}

.carrusel{
display: flex;
transition: transform 0.5s ease-in-out;
}

.carrusel-item{
min-width: 100%; /* Cada ítem ocupa el 100% del contenedor */
text-align: center;

}

.carrusel-item img{
width: 100%;
height: 400px;
object-fit: cover;
border-radius: 10px;
}
.carrusel-item h3, .carrusel-item p {
margin: 10px 0;
color: #333;
}
button.prev {
left: 10px;
}

button.next {
right: 10px;
}

button.prev:hover, button.next:hover {
background-color: rgba(0, 0, 0, 0.8);
}

button.prev, button.next {
position: absolute;
top: 60%;
transform: translateY(-50%);
background-color: rgba(0, 0, 0, 0.5);
color: white;
border: none;
padding: 10px 20px;
cursor: pointer;
z-index: 1000;
}

/*seccion FOOTER*/
footer {
height: 420px;
background-color: #051d40;
color: white;

}
.footer-contenedor{
padding: 30px 40px;
}

.footer-cuadricula{
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 20px;
align-items: center;
align-content: center;
}

.footer-cuadricula div{
/*border: 3px solid red;*/
align-items: center;
align-content: center;
color: white;
text-align: center;
}
.footer-cuadricula-item3 a{
color: white;
font-size: 14px;
font-weight: normal;
text-decoration: none;
letter-spacing: 0.8px;
}

.enlaces-footer{
text-decoration: none;
color: white;
}

.footer-cuadricula-item4{
text-align: center;
align-content: center;
justify-content: center;
color: white;
}
.footer-cuadricula-item4{
margin-bottom: 10px;
}

.social-icons {
display: flex;
gap: 15px; /* Espacio entre los íconos */
padding-left: 80px;
}

.social-icons .icon {
display: flex;
align-items: center;
justify-content: center;
width: 50px;
height: 50px;
background-color: #fff;
border-radius: 50%;
color: #333;
font-size: 24px;
text-decoration: none;
transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.social-icons .icon:hover {
transform: translateY(-10px); /* Hace que "salte" hacia arriba */
background-color: #004aac; /* Cambia el color de fondo a azul */
color: #fff; /* Cambia el color del ícono a blanco */
}
hr {
border: 1px solid white;
margin: 20px 10px;
}
footer p{
margin-left: 10px;
}

 /*   @media (min-width:800px) and (max-width: 1024px) {
       .menu-btn{
        display: block;
       }

        .sidebar {
            display: block; 
        }

        .navbar{
            display: none;
        }

       .navbar2{
        display: flex;
       }

       .sidebar {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 250px;
        height: 100%;
        background-color: white;
        z-index: 20000;
        padding: 20px;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .menu-btn.active{
        color: #333;
    }
    .sidebar.active {
        transform: translateX(0);
    }

    .sidebar .close-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        font-size: 24px;
        cursor: pointer;
    }

    .sidebar ul {
        margin-top: 50px;
        list-style: none;
        padding: 0;
    }

    .sidebar ul li {
        margin: 20px 0;
    }

    .sidebar ul li a {
        color: #333;
        text-decoration: none;
        font-size: 18px;
        font-weight: 500;
    }
    footer{
        color:yellow;
    }
    }*/

    @media (max-width: 1024px) {
        .navbar {
            display: none;
        }

        .menu-btn {
            display: block; /* Mostrar el botón en pantallas pequeñas */
        }

        .navbar2{
            display: flex;

        }

        .sidebar {
            display: block;
            position: fixed;
            top: 0;
            left: 0;
            width: 250px;
            height: 100%;
            background-color: white;
            z-index: 20000;
            padding: 20px;
            box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
            transform: translateX(-100%);
            transition: transform 0.3s ease;
        }

        .menu-btn.active{
            color: #333;
        }
        .sidebar.active {
            transform: translateX(0);
        }

        .sidebar .close-btn {
            position: absolute;
            top: 65px;
            right: 20px;
            font-size: 30px;
            cursor: pointer;
        }

        .sidebar ul {
            margin-top: 50px;
            list-style: none;
            padding: 0;
        }

        .sidebar ul li {
            margin: 20px 0;
        }

        .sidebar ul li a {
            color: #333;
            text-decoration: none;
            font-size: 18px;
            font-weight: 500;
        }

        .contenedor-texto{
            margin-bottom: 50px
        }
        /*Estilos de la seccion impacto*/

        .impacto{
            height: 1000px;
            padding: 0;
            padding-top: 100px;
        }
        .contenedor-impacto{
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            margin-top: 60px;
            margin-bottom: 200px;
            padding: 0px;
        }

        .impacto span {
            font-size: 30px;
            font-weight: bold;
        }

        /*Estilos del video*/
        iframe{
            width: 360px;
            height: 315px;
            margin-bottom: 50px;
        }

        /*Estilos del footer*/

        footer{
            height: 750px;
        }
        .footer-cuadricula{
            display: flex;
            flex-direction: column;
            
        }

        .social-icons{
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 20px;
            text-align: center;
            padding-left: 0px;

        }
        footer{
            background-color: black;
        }
    }

    @media (max-width: 800px) {
        .navbar2{
            margin-right: 0px;
        }

    }

