/* Tus estilos existentes (mantenerlos tal cual) */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    font-family: "Maven Pro", serif;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f8f8;
    padding: 20px 5%;
    border-bottom: 1px solid #ddd;
}
.navbar a {
    text-decoration: none;
    color: #333;
    margin: 0 15px;
}

.search-bar input {
    width: 100%;
    padding: 10px 30px;
    border: 2px solid #ddd;
    border-radius: 30px;
    text-align: left;
    font-size: 16px;
}

#title {
    font-size: 1.5em;
    font-weight: bold;
}

.menu {
    font-size: large;
    /* Asegúrate de que .menu tenga suficiente espacio para el dropdown */
    /* Si es un flex container, a veces puede afectar el posicionamiento absoluto del dropdown */
    position: relative; /* Añadir esto por si acaso, aunque `.dropdown` ya es relativo */
}

/* Tus estilos de búsqueda, etc. */
#searchContainer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.search-result {
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    width: 70%;
    height: 70%;
}

.search-result input {
    width: 100%;
    font-size: 16px;
    padding: 10px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-color: 1px solid #ddd;
    margin-left: -10px;
}

.search-result input:focus{
    outline: none;
}

.box-results div {
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
    padding: 2px;
}

.box-results div:hover {
    background-color: rgb(206, 206, 206);
    transition: 0.5s;
}


.dropdown {
    position: relative; 
    display: inline-block; 

}


.dropdown .dropbtn {
    text-decoration: none;
    color: #333;
    margin: 0 10px;
    padding: 0;
    display: block;
    font-size: inherit; 
}


.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f8f8f8; 
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 10; 
    border-radius: 5px;
    top: 100%; 
    left: 0; 
    padding: 5px 0; 
}


.dropdown-content a {
    color: #333; 
    padding: 8px 16px; 
    text-decoration: none;
    display: block; 
    text-align: left;
    margin: 0;
    font-size: small; 
}


.dropdown-content a:hover {
    background-color: #e0e0e0; 
    transition: background-color 0.3s ease;
}


.dropdown:hover .dropdown-content {
    display: block; 
}
