#jeuassoc {
    display: flex;
    flex-direction: row;
    gap: 6em;
    justify-content: center;
    align-items: center;
    min-height: 100%;
    height: 100vh;
}

#jeuassoccol1.slide-in-top {
    animation-delay: 0s;
}

#jeuassoccol2.slide-in-top {
    animation-delay: 0.15s;
}

.ongletJeu {
    width: 350px;
    position: relative;
}

.fermerongletasso {
    position: absolute;
    display: none;
    right: 7.2%;
    top: 4.6%;
}

.ongletasso {
    position: absolute;
    width: 100%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 1em;
    justify-content: center;
    align-items: center;
    top: 52%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.imgassoc {
    display: block;
    margin: 0 auto;
    cursor: pointer;
}

.selectedasso {
    box-shadow: 0 0 15px #9A0983;
    outline: 3px solid #9A0983;
    transform: scale(1.05);
}

.brouillon.matched {
    opacity: 0.5;
    pointer-events: none;
    outline: none;
}

.final.matched {
    cursor: pointer;
}

.matched {
    box-shadow: 0 0 15px #a29bfe;
    outline: 3px solid #a29bfe;
}

.wrong {
    animation: shake 0.3s;
    box-shadow: 0 0 15px #d63031;
    outline: 3px solid #d63031;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    50% { transform: translateX(4px); }
    75% { transform: translateX(-4px); }
    100% { transform: translateX(0); }
}