hx {
    color: red !important;
    display: block !important;
    visibility: visible !important;
}

/*popover del menu estàtico*/
/* Estilos personalizados para el popover del menú */

.popover-content-container {
    display: flex;
    align-items: center;
}

.popover-image {
    width: 125px;
    height: 141px;
    margin-right: 10px;
    border-radius: 5px;
}

.list-group {
    margin: 0;
    padding: 0;
    list-style: none;
}

.list-group-item {
    padding: 5px 10px;
    border: none;
    background: none;
    font-size: 14px;
}

.list-group-item a {
    text-decoration: none;
    color: #000;
    transition: color 0.3s ease;
}

.list-group-item a:hover {
    color: #007bff;
}

.popover {
    max-width: 450px;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.popover-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.popover-arrow {
    display: none;
}

/*modificas del botòn menu*/
.popover-button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
}

[data-bs-toggle="popover"] {
    width: 110px;
    height: 80px;
    border-radius: 0; /* Hacer que el botón sea cuadrado*/ 
}

/*new code*/
@media (max-width: 768px) {
    .popover {
        max-width: 300px !important;
    }

    .popover-content-container {
        flex-direction: column;
    }

    .popover-image {
        width: 100px;
        height: auto;
        margin-bottom: 10px;
        margin-right: 0;
    }

    .list-group {
        width: 100%;
    }
}

/* Assicurarsi che il bottone sia sempre centrato */
.popover-button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    position: relative;
    z-index: 1;
}

/* Stili per garantire la visibilità del popover */
.popover {
    z-index: 1060 !important;
}

/* Assicurarsi che il bottone sia sempre visibile */
[data-bs-toggle="popover"] {
    opacity: 1 !important;
    visibility: visible !important;
}

/*Fonts families*/
.font-poppins {
    font-family: 'Poppins', sans-serif;
}

