body {
    font-family: "Roboto", sans-serif;
    color: #ffffff;
    margin: 0;
    padding: 1cm;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1; /*Asegura que el contenido esté por encima del video*/
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1; /* Asegura que el video esté detrás del contenido */
}

#background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #333232;
    color: #ffbb00;
    font-weight: bold;
    padding: 1em 0;
    width: 100%;
}

.desarrimg {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
}
.responsive-image {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto; /* Centra la imagen horizontalmente */
    }

    @media (max-width: 768px) {
        .responsive-image {
            width: 100%;
        }
    }

#img1 {
    filter: drop-shadow(2px 8px 10px #1c7007);
}

#img2 {
    filter: drop-shadow(1px 2px 4px #8b7474);
}


.bold {
    color: #32c514dc;
    font-weight: bold;
}

.bold1 {
    color: #1150a1;
    font-weight: bold;
}

h1, h2 {
    font-family: "Black Ops One", system-ui;
    letter-spacing: 2px;
}

p {
    text-align: center;
}

html {
    scroll-behavior: smooth;
}

header { /* Barra de menú en general */
    background-color: #000000; /* Fondo del header en negro */
    color: #32c514dc; /* Color del título grande en naranja */
    padding: 1em 0;
    text-align: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    text-shadow: 2px 2px 4px #ffffff;
}

header h1 {
    margin: 0;
}

nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    margin: 0;
}

nav ul li {
    margin: 0 1em;
}

nav ul li a {
    color: #26A639; /* Color de las opciones de la barra de menú en amarillo */
    text-decoration: none;
    padding-bottom: 5px;
    position: relative;
    transition: color 0.3s;
}

nav ul li a::after { /* Barras que aparecen y desaparecen en barra de menú configuración general */
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #F2F2F2, #26A639);
    transition: width 0.3s, left 0.3s;
}

.button-container {
    display: flex;
    justify-content: center; /* Centra el botón horizontalmente */
    align-items: center; /* Centra el botón verticalmente */
    height: 10px; /* Altura completa de la ventana del navegador */
}

button {
    background-color: #2f9754;
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
    display: flex; /* Usa flexbox para alinear el contenido */
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s; /* Transiciones suaves */
    color: white;
    font-size: 16px;
}

button:hover {
    transform: scale(1.05); /* Aumenta ligeramente el tamaño del botón */
}

a {
    color: #15750d;
}

a:hover {
    color: #32c514dc;
}

nav ul li a:hover::after {
    width: 100%;
    left: 0;
}

nav ul li a.active {
    color: #26A639;
}

nav ul li a.active::after {
    width: 100%;
    left: 0;
}

main {
    padding: 7em 1em 2em;
    width: 100%;
    max-width: 1200px;
}



/* Responsividad para dispositivos móviles */
@media (max-width: 768px) {

    nav ul {
        display: none; /* Ocultar el menú por defecto */
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #000; /* Color de fondo del menú */
        padding: 1em 0; /* Espaciado interno del menú */
    }

    nav ul.active {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 0.5em 0;
        text-align: center;
    }
}

/* Estilos para el menú de hamburguesa */
.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5em;
    color: #205934; /* Color del menú de hamburguesa en naranja */
    cursor: pointer;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        position: absolute;
        top: 10px;
        right: 10px;
    }

    nav ul {
        display: none; /* Ocultar el menú por defecto */
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #000; /* Color de fondo del menú */
        padding: 1em 0; /* Espaciado interno del menú */
    }

    nav ul.active {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 0.5em 0;
        text-align: center;
    }
}

/* Efecto de despliegue al bajar por la página */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilos generales de la sección */
section {
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 1.5s, transform 2s;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

section.slide {
    animation: slideDown 0.6s ease forwards;
}

/* Tarjetitas de proyectos en medio (PIES DESCALZOS) */
.resume-wrap-pies-descalzos .agenda {
    font-weight: 900;
    font-size: 26px;
    color: #21b40d;
}

.resume-wrap-pies-descalzos h2 {
    font-size: 26px;
    color: #32c514dc;
    text-shadow: 2px 2px 4px #000000;
}

.resume-wrap-pies-descalzos .position {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffffff;
}

.mt-4-pies-descalzos {
    display: block;
    margin: 20px auto; /* Centra la imagen */
    width: 80%;
    max-width: 250px; /* Tamaño máximo de la imagen */
    height: auto; /* Mantiene la proporción de la imagen */
    border-radius: 10px;
    object-fit: cover; /* Asegura que la imagen cubra el área disponible sin distorsión */
}

/* Estilos para las tarjetas */
.card {
    background-color: #4f8d43; /* Color de las tarjetas fondo de cada sección en negro */
    padding: 1em;
    border-radius: 8px;
    margin: 1em 0;
    max-width: 1900px;
    width: 100%;
    padding-bottom: 2em;
}

/* Estilos para las imágenes dentro de las tarjetas */
.card img {
    width: 50%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin: 1em auto; /* Espaciado superior e inferior */
    transition: transform 0.3s, box-shadow 0.3s;
}

.card img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgb(3, 78, 16);
}

/* Estilos para los párrafos dentro de las tarjetas */
.card p {
    text-align: justify;
    text-align-last: center; /* Centra las últimas líneas de los párrafos */
    margin-bottom: 1em;
}

/* Estilos de la sección */
section {
    margin-bottom: 2em;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.content-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #ffffff, #00ff00);
}

/* Estilos para los elementos clickables */
.donation-button {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px auto;
    padding: 15px;
    width: 80%;
    max-width: 476px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.donation-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

/* Estilos para las imágenes dentro de los botones de donación */
.donation-button img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
