/* Container principal */
.menu-emblemas-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Grade de emblemas */
.menu-emblemas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    gap: 10px;
    width: 100%;
    max-width: 500px; /* Ajuste para manter proporção em dispositivos móveis */
    margin: 0 auto;
}

/* Cada emblema */
.menu-emblema {
    width: 60px;
    height: 60px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

/* Imagem do emblema */
.menu-emblema img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

/* Texto do código ao passar o mouse */
.menu-emblema-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px; /* Para garantir boa visualização em dispositivos menores */
}

/* Efeito hover */
.menu-emblema:hover {
    background-color: #0073e6; /* Azul no hover */
    color: #fff; /* Texto branco */
}

.menu-emblema:hover .menu-emblema-hover {
    opacity: 1; /* Exibe o código */
}
