body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 98%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 10px 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

header .logo img {
    height: 65px;
}

header nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

header nav ul li {
    margin-right: 20px;
}

header nav ul li a {
    color: #203A4B;
    text-decoration: none;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #00AD8C;
}

header .cta .btn {
    background-color: #00AD8C;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

header .cta .btn:hover {
    background-color: #008f72;
}

/* Estilos para el nuevo header móvil */

.mobile-header {
    display: none; /* Inicialmente oculto */
    position: fixed;
    top: 0;
    left: 0;
    width: 93%;
    background-color: #ffffff;
    padding: 10px 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.mobile-header .logo img {
    height: 40px; /* Ajusta el tamaño del logo según sea necesario */
}

.mobile-header .menu-toggle {
    cursor: pointer;
    margin-top: 2px;
    float: right; /* Alineación a la derecha */
}

.mobile-header .menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #203A4B;
    margin-bottom: 5px;
    transition: transform 0.3s ease;
}

.mobile-header .menu-toggle span:last-child {
    margin-bottom: 0;
}

.mobile-header .menu-toggle span:nth-child(1) {
    transform-origin: left center;
}

.mobile-header .menu-toggle span:nth-child(3) {
    transform-origin: left center;
}

/* Media query para mostrar el nuevo header móvil */
@media (max-width: 768px) {
    header {
        display: none; /* Ocultar header por defecto */
    }
    
    .mobile-header {
        display: flex; /* Mostrar nuevo header móvil */
        justify-content: space-between; /* Ajuste de espaciado */
        align-items: center; /* Alineación vertical */
    }
}


/* Estilos del menú desplegable */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 70%; /* Ancho del menú desplegable */
    max-width: 300px; /* Ancho máximo */
    height: 100%;
    background-color: #ffffff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 900;
    padding: 20px;
    box-sizing: border-box;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
}

.mobile-menu ul li {
    margin-bottom: 15px;
}

.mobile-menu ul li a {
    color: #203A4B;
    text-decoration: none;
    font-size: 1.2em;
    transition: color 0.3s ease;
}

.mobile-menu ul li a:hover {
    color: #00AD8C;
}
.mobile-menu .donate-button {
    margin-top: 200%;
}

.mobile-menu .donate-button .btn {
    display: block;
    background-color: #00AD8C;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.mobile-menu .donate-button .btn:hover {
    background-color: #008f72;
}

.mobile-menu .mobile-logo {
    margin-top: 10px;
}

.mobile-menu .mobile-logo img {
    max-width: 100px; /* Ajusta el tamaño según sea necesario */
    height: auto;
    display: block;
    margin: 0 auto;
} 


/* Banner */
#banner {
    position: relative;
    width: 100%;
    height: 25vh;
    background: url('imagenes/joemia 50 copy.jpg') no-repeat center center/cover;
}

#banner .banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    width: 80%;
    max-width: 600px;
}

#banner .banner-text h1 {
    font-size: 2em;
    margin: 0;
}

#banner .banner-text p {
    font-size: 1em;
    margin: 10px 0;
}

/* Media queries for smaller screens */
@media (max-width: 768px) {
    #banner .banner-text h1 {
        font-size: 1.5em;
    }

    #banner .banner-text p {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    #banner .banner-text h1 {
        font-size: 1.2em;
    }

    #banner .banner-text p {
        font-size: 0.8em;
    }
}

#creadora {
    background-color: #f9f9f9;
    padding: 50px 20px;
}

#creadora .contenido-creadora {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
}

#creadora img {
    border-radius: 50%;
    width: 150px;
    margin-right: 30px;
}

#creadora .texto-creadora {
    flex: 1;
}

#creadora h2 {
    margin-top: 0;
}

#creadora p {
    line-height: 1.6;
}

#contacto {
    padding: 50px 20px;
    background-color: #f9f9f9;
}

#contacto .contenido-contacto {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 2px solid #F79B22; 
}

#contacto .contenido-contacto h2 {
    margin-top: 0;
}

#contacto .contenido-contacto p {
    line-height: 1.6;
}

#contacto .contenido-contacto form {
    margin-top: 20px;
}

#contacto .contenido-contacto .form-group {
    margin-bottom: 15px;
}

#contacto .contenido-contacto label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

#contacto .contenido-contacto input[type="text"],
#contacto .contenido-contacto input[type="email"],
#contacto .contenido-contacto textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
}

#contacto .contenido-contacto textarea {
    resize: vertical;
}

#contacto .contenido-contacto .btn {
    background-color: #00AD8C;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

#contacto .contenido-contacto .btn:hover {
    background-color: #008f72;
}

