*{margin:0;padding:0;box-sizing:border-box;color:#eee}.game{text-align:center;background-color:#4e4e53;height:100vh}.game h1{padding:20px 0}.buttonRestart{padding:8px 12px;background:transparent;border:2px solid #eee;width:100px;border-radius:5px;transition:.2s;font-weight:700;cursor:pointer}.buttonRestart:hover{background:#eee;color:#222}.game .board{display:grid;grid-template-columns:repeat(6,70px);grid-gap:8px;margin:20px auto;width:max-content}.players{display:flex;justify-content:center;margin:0 auto;width:fit-content;position:relative;border-radius:10px}.winner-menu{position:absolute;width:100vw;height:100vh;top:0;left:0;display:grid;place-items:center;background-color:#0a0a0ab3}.winner-menu .text{background:#111;height:300px;width:320px;border:2px solid #eee;color:#eee;border-radius:10px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:30px}.winner-menu .winner{margin:0 auto;font-size:2em}.score,.active{width:50px;height:50px;display:flex;align-items:center;justify-content:center;background-color:#b4b6b5;border-radius:10px;margin:0 10px;font-weight:700;font-size:2em;border:2px solid #ebe5e5;color:#000}.active{background-color:#62ad62}.card{position:relative}.card,.imgCard{width:70px;height:90px}.imgCard{border-radius:10px}.imgCard-back{width:50px;height:70px;border-radius:10px}.card-inner{position:absolute;width:100%;height:100%;transition:transform .6s;transform:rotateY(0);display:flex;align-items:center;justify-content:center;border:2px solid #918f8f;border-radius:10px}.card-inner.flipped{transform:rotateY(180deg) scale(1.1);border:none}.card-btn{position:absolute;width:100%;height:100%;border:none;background:transparent;cursor:pointer;padding:0}.card-front,.card-back{height:100%;backface-visibility:hidden;border-radius:12px}.card-front{display:flex;align-items:center;justify-content:center;font-size:1.5em;background-color:#000}.card-back{transform:rotateY(180deg)}
