/* styles.css */
body {
    background-color: #ffffff;
}

.navbar {
    background-color: #007bff !important;
}

.navbar a {
    color: white !important;
}

.translation-bar {
    margin-top: 30px;
    text-align: center;
}

/* Conteneur pour afficher les pictogrammes en ligne */
.pictogram-container {
    display: flex;
    flex-wrap: nowrap; /* Tous les pictogrammes sur une seule ligne */
    justify-content: flex-start;
    align-items: center; /* Centré verticalement */
    gap: 100px; /* Espace entre les pictogrammes */
    margin-top: 20px;
    overflow-x: auto; /* Ajouter un défilement horizontal si nécessaire */
}

/* S'assure que Bootstrap ne touche pas aux images */
.pictogram-item {
    text-align: center;
    width: 70px;
}

.pictogram-item img {
    width: 150px !important; /* Force la largeur des pictogrammes */
    height: 150px !important; /* Force la hauteur des pictogrammes */
    object-fit: contain !important; /* Conserve les proportions sans déformer */
    display: block;
    margin: 0 auto;
}

.pictogram-item span {
    font-size: 0.9em;
    margin-top: 5px;
    text-align: center;
}

.phrase-word {
    display: inline-block;
    margin: 5px;
    font-size: 1.2em;
}

.phrase-word button {
    margin-left: 10px;
    background-color: red;
    border: none;
    color: white;
    padding: 5px;
    border-radius: 3px;
    cursor: pointer;
}

.phrase-word button:hover {
    background-color: #cc0000;
}
