.playersSelection {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 5px;
}

.gameContainer {
    flex-direction: column;
    align-items: center;
}

.board {
    padding: 10px;
    position: relative;
    background-color: green;
    border-radius: 5px;
    margin: 5px 5px 5px 5px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    height: 200px;
}

.cubePosition {
    height: 50px;
    width: 50px;
    border: 1px solid black;
    position: relative;
    margin: 2px;
    padding: 2px;
}

.boardCube {
    padding: 5px;
    position: relative;
    background-color: yellow;
    border-radius: 5px;
    margin: 5px 5px 5px 5px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    height: 240px;
    width: 240px;
    border: 10px solid #5c3d2e;
}

.boardsContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.boardBorder {
    border: 5px solid #3e2723;
    border-radius: 8px;
}

.boardTable {
    background-color: #5c3d2e;
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
    padding: 20px;
    flex-grow: 1;
    min-width: 250px;
}

.divBreakerAndSelectedDices {
    display: flex;
    flex-wrap: wrap;
    margin: 5px 0px 5px 0px;
}

.dice-container {
    position: absolute;
    width: 50px;
    height: 50px;
    perspective: 300px;
    cursor: pointer;
}

.dice {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
}

.result {
    flex-direction: column;
    text-align: center;
    margin: 10px;
}

.letter {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: lightgoldenrodyellow;
    border: 2px solid black;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    border-radius: 4px;
}

.vowel {
    color: blue;
}

.consonant {
    color: purple;
}

.face-1 { transform: rotateY(0deg) translateZ(25px); }
.face-2 { transform: rotateX(90deg) translateZ(25px); }
.face-3 { transform: rotateY(90deg) translateZ(25px); }
.face-4 { transform: rotateY(180deg) translateZ(25px); }
.face-5 { transform: rotateX(-90deg) translateZ(25px); }
.face-6 { transform: rotateY(-90deg) translateZ(25px); }

.timeSelection {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 5px;   
}

.selectionArea {
    display: flex;
    gap: 2px;
    margin: 20px 5px 20px 35px;
    min-height: 80px;
    min-width: 100%;
    align-items: center;
    flex-wrap: wrap;
}

.turnInfo {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 10px;
}

.infoPanel {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.imgBeaker {
    width: 80px;
    user-select: none;
    touch-action: none;
    margin: 5px 20px 5px 20px;
    pointer-events: none;
}

.imgBeaker.dragging {
    cursor: grabbing;
}

.divPointsTableHeader {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.divPointsTableHeaderCell {
    color: black;
    background-color: lightgray;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    font-size: 1rem;
}

.currentPoints {
    font-size: 1rem;
}

.divPointsTableHeaderCell.currentPlayer {
    font-weight: bold;
    color: white;
    background-color: orange;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    font-size: 1rem;
}

.divPointsTableHeaderCellGame{
    color: black;
    background-color: lightgray;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    font-size: 1rem;
}

.controlPanel {
    padding: 5px;
    margin: 5px;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    flex-direction: row;
}

.pointsTable {
    flex-grow: 1;
}

.pointsTableRow{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.currentRound {
    color: yellow !important;
}

.pointsTableRowGameCell{
    background-color: black;
    color: white;
    font-weight: bold;
    width: 100px;
    text-align: left;
    font-size: 1rem;
    padding-left: 2px;
}

.pointsTableRowPlayerCell{
    background-color: lightgrey;
    width: 40px;
    font-size: 1rem;
}

.tablePointsCellHighlight {
    background-color: honeydew !important;
    font-weight: bold;
}

.possibleGame {
    background-color: yellow;
    color: red;
    cursor: pointer;
}

.pointsRowLabel {
    background-color: red;
    color: white;
    font-weight: bold;
    width: 100px;
    text-align: left;
    font-size: 1rem;
}

.pointsRow {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;   
}

.pointsRowPlayer {
    background-color: red;
    color: white;
    font-weight: bold;
    width: 40px;
    text-align: center;
    font-size: 1rem;
}

.boardContainer {
    display: flex;
    flex-wrap: wrap;
}

.playContainer {
    flex-grow: 1;
}

.breakerMsg {
    font-style: italic;
    font-size: 0.7rem;
}

.beakerContainer {
    position: absolute;
    user-select: none;
    left: 45%;
}

.beakerAIShake {
    animation: beakerShake 0.2s infinite alternate;
}

@keyframes beakerShake {
    0% { transform: translateX(0px); }
    100% { transform: translateX(30px); }
}

.blinkMark {
    animation: blinking 0.5s infinite alternate;
}

@keyframes blinking {
    from { background-color: red; }
    to { background-color: yellow }
}

.btnAddWord {
    width: 100%;
}

.btnRollDices {
    width: 80px;
    height: 30px;
}

.btnNewGame {
    width: 200px;
}

.selectionMessage {
    padding: 2px;
    margin: 5px;
    flex-direction: column;
    min-height: 50px;
}

.timer {
    font-size: 3rem;
    margin: 10px;
    border: 1px solid red;
    border-radius: 5px;
    background-color: red;
    color: white;
    padding: 5px;
    font-weight: bolder;
    min-width: 150px;
}

.info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    align-items: center;
}