/* =======================================================
   FIND THE 20
   Viandanti di Ruolo
======================================================= */

.find20-game{

    background:#f8f5eb;
    border:3px solid #7b5a2b;
    border-radius:20px;
    padding:20px;
    margin-bottom:30px;
    box-shadow:0 0 25px rgba(0,0,0,.25);

}

.find20-board{

    display:grid;

    grid-template-columns:repeat(10,80px);

    justify-content:center;
    justify-items:center;
    align-items:center;

    gap:2px;

    margin-top:-10px;
    margin-bottom:20px;

}

.dice-box{

    position:relative;
    width:80px;
    height:80px;

    display:flex;
    justify-content:center;
    align-items:center;

}

.dice{

    width:80px;
    height:80px;

    cursor:pointer;
    transition:transform .20s ease;
    user-select:none;

}

.dice:hover{

    transform:scale(1.08);

}

.dice-number{

    position:absolute;

    top:50%;
    left:50%;

    transform:translate(-50%,-50%);

    font-size:1.35rem;
    font-weight:bold;

    color:#222;

    pointer-events:none;
    user-select:none;

}

.counter{

    font-size:1.2rem;
    font-weight:bold;

    margin-bottom:5px;

}

.result-box{

    min-height:170px;

}

.correct{

    filter:drop-shadow(0 0 12px #00aa00);

}

.wrong{

    filter:grayscale(100%);
    opacity:.45;

}

/* =======================================================
   TABLET E CELLULARE
======================================================= */

@media (max-width:991px){

    .find20-board{

        grid-template-columns:repeat(5,80px);

    }

}