.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%; /* Asegura que el div ocupe el 100% de la altura de su contenedor padre */
}



/* Reseteo básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

hr {
    border: 3px;
    border-top: 3px solid #007200; /* Verde dinero */
    margin: 20px 0;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: #333;
    color: white;
    z-index: 1100;
    padding: 10px 20px;
    height: 80px;
    /* padding-top: 5%; */
}

.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
}

.menu {
    display: none;
}

.menu a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-size: 18px;
}

/* Banner */
.banner {
    position: fixed;
    top: 60px; /* Ajusta este valor según la altura del header */
    width: 100%;
    z-index: 900;
    overflow: hidden;
    max-height: 250px;

}

.banner img {
    width: 100%;
    height: auto;
}

/* Contenido */
.content {
    margin-top: 400px; /* Ajusta para que el contenido no se superponga con el banner */
    /* padding: 20px; */
    background-color: #f4f4f4;
    /* padding-left: 25%;
    padding-right: 25%; */
    text-align: center;
    z-index: 1000; /* Asegúrate de que sea mayor que el del banner */
    position: relative; /* Añade esta línea para que el z-index funcione */
}

/* Estilos para desktop */
@media (min-width: 768px) {
    .menu {
        display: flex;
    }

    .logo {
        order: 1;
    }

    .menu {
        order: 2;
    }

    .btn-left, .btn-right {
        display: none;
    }

    .content {
        padding-left: 25%;
        padding-right: 25%;
    }

    header {
        padding-top: 0.15%;
        /* padding-top: 5%; */
    }

    .logo img {
        max-height: 15%; /* La imagen ocupará el 90% de la altura del div */
        max-width: 15%; /* Esto asegurará que la imagen no se deforme si es más ancha que alta */
    }
}

/* Estilos para móvil */
@media (max-width: 767px) {
    .logo {
        margin: 0 auto;
        text-align: center;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .btn-left img, .btn-right img {
        width: 30px;
        height: 30px;
    }

    .btn-left {
        position: absolute;
        left: 10px;
    }

    .btn-right {
        position: absolute;
        right: 10px;
    }

    .content {
        padding-left: 7px;
        padding-right: 7px;
    }

    header {
        /* padding-top: 25px; */
        padding-top: 12%;
    }

    .logo img {
        padding-top: 8%;
        max-height: 63%; /* La imagen ocupará el 90% de la altura del div */
        max-width: 63%; /* Esto asegurará que la imagen no se deforme si es más ancha que alta */
    }
}

h1 {
    text-align: center;
    background-color: #4CAF50; /* Verde dinero */
    color: white;
    padding: 20px;
    font-family: 'Georgia', serif; /* Fuente con un toque elegante */
    font-size: 36px;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* Sombra suave */
    border-radius: 10px; /* Bordes redondeados para un toque más elegante */
    margin: 20px auto;
    max-width: 80%; /* Ajusta el ancho máximo para darle espacio a los lados */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Sombra del bloque */
}

h2 {
    font-family: 'Georgia', serif;
    font-size: 28px;
    color: #4CAF50; /* Verde dinero */
    margin-top: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

p {
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
}

