:root{
    --casella: 80;
}

.logopeque {
    display: none;
}

.noMostra {
    display: none;
}

.homeBtn {
    position: fixed;
    border-radius:50%;
    border-width:0px;
    height:60px;
    width:60px;
    margin-top:20px;
    margin-left: 20px;
}

.homeBtnK {
    border-radius:50%;
    border-width:0px;
    height:40px;
    width:40px;
}


.opcionsJoc {
    margin-top: 10px;
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 10px;
    padding: 3px
}

.imatgeBoto {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.botoSopa { 
    margin-top: 10px;
}

.imatgeTria {
    margin-top: 10px;
}

.tauler {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(8, 1fr);
    grid-column-gap: 5px;
    grid-row-gap: 5px;
    padding: 3px
}

.taulerSDD{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(6, 1fr);
    grid-column-gap: 5px;
    grid-row-gap: 5px;
    justify-items: center;
    padding: 3px
}


.taulerSDDmed{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    grid-column-gap: 5px;
    grid-row-gap: 5px;
    justify-items: center;
    padding: 3px
}

.taulerSDDeasy{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 5px;
    grid-row-gap: 5px;
    justify-items: center;
    padding: 3px
}


.taulerSDDahir{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(6, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    justify-items: center;
    align-items: center;
    padding: 3px
}

.taulerSDDahireasy{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    justify-items: center;
    align-items: center;
    padding: 3px
}

.taulerSDDahirmed{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    justify-items: center;
    align-items: center;
    padding: 3px
}

.taulerEqual {
    width: 510px;
    margin: auto;
    padding-top: 10px;
    padding-bottom: 10px;
}

.taulerEqualmed {
    width: 425px;
    margin: auto;
    padding-top: 10px;
    padding-bottom: 10px;
}

.taulerEqualeasy {
    width: 345px;
    margin: auto;
    padding-top: 10px;
    padding-bottom: 10px;
}

.medaller {
    display: grid;
    grid-template-columns: repeat(13, 1fr);
    grid-template-rows: repeat(1, 1fr);
    grid-column-gap: 5px;
    grid-row-gap: 5px;
    margin-bottom: 5px;
}

.medalla{
    height: 45px;
    width: 45px;
}

.nowin{
    opacity: 0.25;
}

.win {
    opacity: 1;
}

.mort {
    opacity: 0;
}

.wrapper {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center; /* adjusted */
  }

.casella{
    position: relative;
    width: 80px;
    height: 80px;
    user-select: none;
}
.imatge{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    opacity: 1; 
}

.casellaBoto {
    position: relative;
    width: 120px;
    height: 70px;
    text-align: center;
}

.botonsBotonera {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
}

.infoBotons {
    position: absolute;
    z-index: 20;
}

.lock{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    opacity: 1; 
    z-index: 20;
}

.lletra{
    margin-top: 15px;
    text-align: center;
    z-index: 9;
    font-size: 35px;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
}


.lletra2{
    width: 100%;
    height: 100%; 
    padding-top: 15px;
    text-align: center;
    z-index: 9;
    font-size: 35px;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
}

.llocParaula2{
    height: 50px;
    margin-bottom: 5px;
    margin-right: 5px;
    margin-left:5px;
    background-color:#E6E9F7;
}


.llocParaula{
    height: 40px;
    margin-bottom: 5px;
    margin-right: 5px;
    margin-left:5px;
    background-color: white;
    border: 2px solid;
    border-color: black;
    border-radius: 5px;
}

.comptador{
    font-size: 24px;
    font-weight: 500;
}

.box{
    padding-top: 0.25rem!important;
    padding-bottom: 0.25rem!important;
}

.paraula{
    text-align: center;
    z-index: 9;
    font-size: 25px;
    font-family: Arial, Helvetica, sans-serif;
    color: black;
}


.botonera {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(1, 1fr);
    grid-column-gap: 5px;
    grid-row-gap: 5px;
    padding: 3px;
    margin-top: 1px;
    margin-bottom: 1px;
}


.textInfoLocks{
    margin-left: 85px;
    margin-top: 5px;
    font-weight: 600;
    color: white;
}

.textInfoJockers{
    margin-left: 85px;
    margin-top: 5px;
    font-weight: 600;
    color:#4C4225;
}


.btnAccio{
    width: 100px;
    height: 65px;
}

.casellaLocked {
    opacity: 0.50;
}

.casellaUsada {
    opacity: 0.30;
}

.casellesVivesMots {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-around;
}


.mot0{
    background-color: cornflowerblue;
    color: black;
}

.mot1{
    background-color:crimson;
    color: white;
}

.mot2{
    background-color:darkseagreen;
    color: black;
}

.mot3{
    background-color:goldenrod;
    color: black;
}

.mot4{
    background-color:lightslategray;
    color: white;
}

.mot5{
    background-color:pink;
    color: black;
}

.mot6{
    background-color:black;
    color: white;
}

.mot7{
    background-color:mediumblue;
    color: white;
}

.mot8{
    background-color:mediumpurple;
    color: white;
}

.mot9{
    background-color:sienna;
    color: white;
}

.mot10{
    background-color:seagreen;
    color: white;
}

.mot11{
    background-color:navy;
    color: white;
}


.level1 {
    background-color: #3EC487;
    color: white;
}

.level2 {
    background-color:#FFDC7D;
    color: white;
}

.level3 {
    background-color: #F03A5F;
    color: white;
}

.pressed {
    background-color: #3488CE;
    color: white;
}

.fonsCasella {
    background-color: #E6E9F7;
}

.capçalera {
    width:100%;
    display:grid;
    grid-template-columns: 1fr 4fr 1fr;
    grid-template-rows: repeat(1, 1fr);
 
}