button {
    font-size: 3em;
    color: black;
    background-color: lightgrey ;
    margin: 0.5em;
}

.colonne {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.valider {
    display: flex;
    font-size: 1em;
    display: none;
    z-index: 1;
    margin-top: 40%;
}

.nbErreur {
    display: flex;
    font-size: 4em;
    display: none;
    z-index: 1;
}

.recommencer {
    display: flex;
    font-size: 1em;
    display: none;
    z-index: 1;
    margin-top: 80%;
}


.ligneBoue {
    position: relative; /* Sert de repère pour l'enfant en position absolue */
    display: inline-block;
}

.support, .bouee {
    position: absolute; /* Sort du flux normal pour se placer par rapport au conteneur */
    top: 0%;             /* Ajustez selon l'emplacement souhaité */
    left: 48.5%;
    width: 100%;
    max-width: 4.5%;
    /* z-index: 1; */
    /* display: none; */
}

.lignesSquelettes {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    /* justify-content: center; */
    max-width: 70%;
}

.fullSquelette {
    position: relative; /* Sert de repère pour l'enfant en position absolue */
    display: inline-block;
    /* padding-left: 20%; */
}

.squelette {    
    width: 100%;
    max-width: 45%;
    /* margin: 22.5%; */
    /* margin: auto; */
    /* margin-top: 0%; */
    margin-bottom: -35%;
    /* margin-left: -10%;
    margin-right: -10%; */
    display: block;
    position: relative;
    z-index: 1;
    cursor: pointer;
    

}

.bras {    
    width: 45%;
    /* max-width: 25%; */
    position: absolute; /* Sort du flux normal pour se placer par rapport au conteneur */
    top: 0%;             /* Ajustez selon l'emplacement souhaité */
    left: 0%;
    z-index: 2;

}

.ligne0, .ligne2 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr; /* Deux colonnes égales */
    gap: 30% 0;
    padding-right: 11%;
}

.ligne1, .ligne3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr; /* Deux colonnes égales */
    gap: 30% 0;
    padding-left: 11%;
}

/* .ligne0, .ligne1, .ligne2, .ligne3, .ligne4, .ligne5, .ligne6 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: auto;
    /* margin-left: 40%;
    margin-right: 40%; */
/* } */ 

.carre {
    width: 100%;
    max-width: 5em;
    margin: 0.5em;
}







@keyframes wizzEffect {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-10px, 5px); }
  40% { transform: translate(10px, -5px); }
  60% { transform: translate(-10px, -5px); }
  80% { transform: translate(10px, 5px); }
  100% { transform: translate(0, 0); }
}

.wizz {
  animation: wizzEffect 0.3s ease-in-out;
}


/* img {
    width: 50%;
    max-width: 20%;
    height: auto;
    transform: rotate(0deg);
} */


@media all and (orientation: portrait) {
    .lignesSquelettes {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    /* justify-content: center; */
    max-width: 100%;
}

}
