/* Estilos base para móviles (mobile first) */
header {
    background-color: #CA1684;
    width: 100%;
    padding: 5px 10px; /* Aumentar padding base */
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

header > div {
    display: flex;
    align-items: center;
}

#menu-button {
    background-color: #243A79;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 25px; /* Aumentar padding del botón */
    font-size: 18px; /* Aumentar tamaño de fuente base */
    cursor: pointer;
    position: relative;
    margin-right: 15px; /* Aumentar espacio entre botón y logo */
}

#tooltip {
    position: absolute;
    top: -35px; /* Ajustar posición del tooltip */
    left: 50%;
    transform: translateX(-50%);
    background-color: #243A79;
    color: white;
    padding: 7px 12px; /* Ajustar padding del tooltip */
    border-radius: 3px;
    font-size: 14px; /* Aumentar tamaño de fuente del tooltip */
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
}

#menu-button:hover #tooltip {
    opacity: 0.9;
    visibility: visible;
}

#menu-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 1;
}

#menu-dropdown li a {
    display: block;
    padding: 12px 25px; /* Aumentar padding de los enlaces del menú */
    text-decoration: none;
    color: #333;
    font-size: 16px; /* Aumentar tamaño de fuente de los enlaces del menú */
}

#menu-dropdown li a:hover {
    background-color: #eee;
}

header img {
    height: 50px; /* Aumentar altura base del logo */
    vertical-align: middle;
}

/* Adaptaciones para tabletas (ejemplo, min-width: 768px) */
@media (min-width: 768px) {
    header {
        padding: 15px 20px; /* Mantener o ajustar según sea necesario */
    }

    #menu-button {
        font-size: 18px; /* Mantener o ajustar según sea necesario */
    }

    header img {
        height: 50px; /* Mantener o ajustar según sea necesario */
    }
}

/* Adaptaciones para escritorios (ejemplo, min-width: 1024px) */
@media (min-width: 1024px) {
    header {
        padding: 20px 30px;
    }

    #menu-button {
        font-size: 20px;
    }

    header img {
        height: 55px;
        margin-right: 20px;
    }
}