/* Importar fuentes */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/* Estilos globales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: rgb(245,245,245);
}

/* Contenedor */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Encabezado */
.header {
    background-color: rgb(245,245,245);
    background-image: url(../images/bg.png);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.menu {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    padding: 20px;
}

.logo img {
    width: 50px;
    height: 50px;
    vertical-align: middle;
}

.menu .navbar {
    display: flex;
    align-items: center;
    margin: 0;
}

.menu .navbar ul {
    display: flex;
    align-items: center;
    margin: 0;
}

.menu .navbar ul li {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.menu .navbar ul li a {
    display: inline-block;
    font-size: 18px;
    padding: 20px;
    color: #fffdfc;
    font-weight: 600;
    line-height: 25px;
}

#menu {
    display: none;
}

.menu-icono {
    width: 25px;
}

.menu label {
    cursor: pointer;
    display: none;
}

.header-txt {
    text-align: center;
}

.btn-1 {
    display: inline-block;
    padding: 12px 45px;
    border: 1px solid #fffdfc;
    color: #fffdfc;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    box-shadow: 2px 2px 10px rgb(0,0,0,0.5);
}

.btn-1:hover {
    color: #1B293A;
    background-color: #fffdfc;
    box-shadow: 2px 2px 10px rgb(0,0,0,0.5);
}

/* Sección "Sobre Nosotros" */
.about-us {
    padding: 50px 20px;
    background-color: rgb(245,245,245);
}

.about-us .container {
    text-align: center;
}

.about-us h2 {
    font-size: 3em;
    margin-bottom: 20px;
    color: #1B293A;
}

.about-us p {
    font-size: 1.25em;
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Estilo para botones */
button {
    font-size: 1.25em;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 10px;
    border: 2px solid rgb(0,0,0,0.5);
    box-shadow: 2px 2px 10px rgb(0,0,0,0.5);
    color: white;
    background-color: rgb(30, 54, 83);
}

button:hover {
    background-color: rgb(19, 40, 65);
}

.donate-section {
    text-align: center;
    padding: 20px;
    background-color: #f4f4f4;
}

.donate-section h2 {
    margin-bottom: 10px;
}

.donate-section p {
    margin-bottom: 20px;
}


/* Pie de página */
.footer {
    background-color: rgb(245,245,245);
    padding: 150px 0 100px 0;
    background-image: url(../images/footer.png);
    background-size: cover;
    background-position: center center;
    text-align: center;
}

.footer ul {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.footer ul li {
    margin: 0 10px; /* Espacio entre cada elemento li */
}

.footer ul li:last-child {
    margin-right: 0; /* Elimina el margen derecho del último elemento li */
}

.footer ul li a {
    color: #1B293A;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: #31527a;
}

.footer-txt {
    margin-top: 100px;
    border-top: 1px solid #B4B4B47E;
    padding: 20px 0;
    color: #1B293A;
    font-size: 16px;
}

.footer-txt p {
    color: #1B293A;
    font-size: 16px;
}

/* Media Queries para Responsividad */
@media(max-width: 991px) {
    .menu {
        padding: 20px;
    }

    .menu label {
        display: initial;
    }

    .menu .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(255, 255, 255, 0.782);
        backdrop-filter: (10px);
        box-shadow: 0px 2px 20px 10px rgba(222, 222, 222, .25);
        display: none;
        flex-direction: column;
        align-items: center;
        border-radius: 5px;
        z-index: 100;
        padding: 0; /* Agregar margen a los lados */
    }

    .menu .navbar ul li {
        width: 100%;
        padding: 10px 0; /* Ajuste del padding para evitar desbordamientos */
        text-align: center; /* Centrar el texto */
    }

    .menu .navbar ul li a {
        color: #1b293a; /* Cambia el color del texto de los enlaces a blanco */
        padding: 10px; /* Ajuste del padding */
        width: 100%;
        display: block;
        font-size: 16px; /* Reducir el tamaño de fuente */
    }    

    #menu:checked ~ .navbar {
        display: flex;
    }

    .header {
        min-height: auto;
    }

    .header-content {
        padding: 100px 30px;
    }

    .header-txt h1 {
        font-size: 50px;
    }

    .header-txt p {
        padding: 0;
    }

    .about-us {
        padding: 30px 20px;
    }

    .about-us h2 {
        font-size: 2em;
    }

    .about-us p {
        font-size: 1em;
    }

    .footer {
        padding: 20px 0;
        margin-top: -140px;
    }
}

@media(max-width:700px) {
    .header-txt h1 {
        font-size: 40px;
    }

    .btn-1 {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media(max-width:500px) {
    .header-txt h1 {
        font-size: 30px;
    }

    .btn-1 {
        padding: 8px 15px;
        font-size: 12px;
    }
}
