.container-header > * {
    box-shadow: rgba(6, 24, 44, 0.4) 0px 0px 0px 2px, rgba(6, 24, 44, 0.65) 0px 4px 6px -1px, rgba(255, 255, 255, 0.08) 0px 1px 0px inset;
    padding: 10px;
}

.container-header {
    display: grid;
    gap: 5px;
    color: white;
    grid-template-columns: 1fr;
    grid-template-rows: 50px 150px 50px;
    grid-template-areas:
        "user user" 
        "imagen imagen"
        "buscar buscar";
}

/* Primera capa */
.imagen-header {
    padding: 0px 15px;
    margin: 0;
    background-color: #F2EEED;
    grid-area: imagen;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%; /* Ajusta según el tamaño deseado del contenedor */
}

.img-funeraria {
    display: block;
    max-width: 100%;
    max-height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}


/* Segunda capa */
.user-header {
    padding: 0px 20px;
    margin: 0px;
    grid-area: user;
    background-color: #BE1035;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: end;
    align-items: center;
    width: 100%; /* Ajusta según el tamaño deseado del contenedor */
}

.user-identidad {
    padding: 0px;
    margin: 0px 5px;
}

.img-user {
    padding: 0;
    margin: 0;
    display: block;
    max-width: 100%;
    max-height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

#id-nav > li > a {
    color: white;
}

#id-nav > li > a:hover {
    text-decoration: none;
}


/* Terecera capa */
.buscar-header {
    grid-area: buscar;
    background-color: blue;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.buscar-global {
    padding: 0px;
    margin: 0px;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap:90px;
}

.buscar-global > .busqueda-info > #id-busqueda-global {
    width: 140%;
}

.buscar-global-item > p {
    padding: 0px;
    margin: auto;
    align-items: center;
}


/* Reglas para la variable container */
/* div wrap-inicio */
.wrap-inicio {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
    width: 100%;
}

/* fin de las reglas para div wrap-inicio */

/* Reglas para el menu principal */
.container-menu {
    padding: 0px;
    margin: 0px;
    display: grid;
    width: 100%;
    padding-top:10px;
    padding-left: 5px;
    grid-template-columns: 0.6fr 1fr;
    column-gap: 15px;
}
/* Fin de reglas para el menu principal */

@media screen and (max-width: 760px) {
    .container-header {
        display: grid;
        gap: 5px;
        color: white;
        grid-template-columns: 1fr;
        grid-template-rows: 50px 120px 50px;
        grid-template-areas:
            "user" 
            "imagen"
            "buscar";
    }

    .imagen-header {
        padding: 0px;
        margin: 0;
        grid-area: imagen;
        display: flex;
        gap: 15px;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content:center;
        width: 100%; /* Ajusta según el tamaño deseado del contenedor */
    }

    .img-funeraria {
        display: block;
        max-width: 100%;
        max-height: 100%;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    #id-go {
        display: none;
    }

    .buscar-header {
        grid-area: buscar;
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .buscar-global {
        padding: 0px;
    }

    .buscar-global-item > p {
        display: none; 
    }

    #id-busqueda-global {
        width: 100%;
    }

    .container-menu {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

}


/* #id-nav > li > a:hover {
    background-color: transparent;
} */

#id-nav > li > a:hover,
#w1 > a:hover,
#w1 > a:focus {
    background-color: transparent;
}