*{
    box-sizing: border-box;
    color: #000000;
    /* font-weight: bold; */
    font-size: 16px;
    font-family: RobotoLight;
}
@font-face {
    font-family: RobotoRegular;
    src: url(fonts/Roboto-Regular.ttf);
}
@font-face {
    font-family: RobotoMedium;
    src: url(fonts/Roboto-Medium.ttf);
}
@font-face {
    font-family: RobotoLight;
    src: url(fonts/Roboto-Light.ttf);
}
@font-face {
    font-family: RobotoBold;
    src: url(fonts/Roboto-Bold.ttf);
}
@font-face {
    font-family: RobotoThin;
    src: url(fonts/Roboto-Thin.ttf);
}
body{
    background: linear-gradient(to top left,rgba(0, 6, 182, 0.5),rgba(196, 0, 0, 0.5));
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.center-el{
    margin: auto;
    text-align: center;
}
.game{
    margin-top: 40px;
    display: flex;
    height: 80%;
    border: 1px solid black;
    box-shadow: 0px 5px 30px 0px rgba(0, 0, 0, 0.8);
    flex-direction: column;
    width: 500px;
    background-color: rgba(31, 229, 255, 0.2);
}
.game > ul{
    padding: 0;
    height: 50px;
    width: 100%;
    display: flex;
    list-style: none;
    justify-content: center;
}
.game li{
    padding: 14px 0px;
    border: 1px solid black;
    width: 30px;
    height: 100%;
    cursor: pointer;
}
.game .penalties li{
    flex-grow: 1;
}
#penaltiesLabel{
    flex-grow: 4;
}

.game .penalties{
    display: flex;
    align-content: center;
    justify-content: center;
}
.game .penalties{
    padding-left: 20px;
    padding-right: 20px;
    padding-top: auto;
    padding-bottom: auto;
}


.game .red{
    background-color: rgba(255, 66, 66, 0.7);
}
.game .red li{
    background-color: rgba(255, 122, 122, 0.7);
}
.game .yellow{
    background-color: rgba(247, 247, 82, 0.7);
}
.game .yellow li{
    background-color: rgba(255, 255, 148, 0.7);
}
.game .green{
    background-color: rgb(89, 255, 89, 0.7);
}
.game .green li{
    background-color: rgba(143, 255, 143, 0.7);
}
.game .blue{
    background-color: rgb(74, 74, 252, 0.7);
}
.game .blue li{
    background-color: rgba(133, 133, 255, 0.7);
}

.game li{
    /* background: url(/Qwixx/diagonal-cross.svg); */
    background-blend-mode:luminosity;
    background-repeat:no-repeat;
    background-position:center center;
    background-size: 150% 150%, auto;
    user-select: none;
}
#penaltiesLabel{
    cursor: default;
}
.game .penalties li{
    background-blend-mode:darken;
}
.game li:not(#penaltiesLabel):hover{
    border-width: 3px;
}

.score{
    border: 1px solid black;
    margin:auto;
    width: 400px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.8);
}
.score > p:first-child{
    margin: auto 7px;
}
.score > p:last-child{
    margin-right: 20px;
}

.score .score{
    width: 40px;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.score .red{
    background-color: rgba(255, 122, 122, 0.7);

}
.score .yellow{
    background-color: rgba(255, 255, 148, 0.7);
}
.score .green{
    background-color: rgba(143, 255, 143, 0.7);
}
.score .blue{
    background-color: rgba(133, 133, 255, 0.7);
}

#dice{
    max-width: 700px;
    margin: auto;
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
}
#dice .cube{
    border: 3px solid black;
    border-radius: 10%;
    width: 75px;
    padding-bottom: 3px;
}
.cube-element{
    font-size: 18px;
}
.cube-line{
    margin: auto;
    width: 65px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    /* max-width: 100%; */
}
.cube-line *:not(.one):not(.nine){
    visibility: hidden;
}

#dice .cube{
    background-color: rgba(255, 255, 255, 0.9);
}

#dice .cube.red{
    background-color: rgba(255, 122, 122, 0.9);

}
#dice .cube.yellow{
    background-color: rgba(255, 255, 148, 0.9);

}
#dice .cube.green{
    background-color: rgba(143, 255, 143, 0.9);

}
#dice .cube.blue{
    background-color: rgba(133, 133, 255, 0.9);

}

.roll-cube{
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1px;
}
.roll-cube p{
    margin: 10px 0px;
}
.roll-cube p:first-of-type{
    margin-top: 20px;
}
.roll-cube button{
    width: 60px;
    border: 1px solid rgba(0, 76, 255, 0.8);
    color: whitesmoke;
    font-weight: bold;
    text-transform: uppercase;
    background-color: rgba(0, 76, 255, 0.8);
    cursor: pointer;
    padding: 10px;
}
.roll-cube button:hover{
    transition: 0.3s;
    background-color:coral;
    border: 1px solid coral;
    color: whitesmoke;
}

/* later we will select all games except for the first one :not(...) */
#player-1-panel{
    display: block;
}
#player-2-panel{
    display: none;
}

.buttons{
    margin-top: 40px;
}
#currentPlayer{
    margin-top: 20px;
}
#btn{
    box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px,rgba(45, 35, 66, 0.3) 0 7px 13px -3px,#D6D6E7 0 -3px 0 inset;
}
