.playersSelection {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 10px;
}

.gameContainer {
    flex-direction: column;
    align-items: center;
}

.board {
    position: relative;
    height: 25vh;
    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;
    box-sizing: border-box;
}

.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;
}

.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;
}

.face {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: white;
    border: 1px solid black;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: black;
    border-radius: 5px;
}

.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);
}

.selectionArea {
    display: flex;
    gap: 2px;
    margin: 20px 5px 20px 5px;
    min-height: 80px;
    min-width: 250px;
    align-items: center;
    flex-wrap: wrap;
}

.turnInfo {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.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: 60px;
    font-size: 1rem;
}

.divPointsTableHeaderCell.currentPlayer {
    font-weight: bold;
    color: white;
    background-color: orange;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    font-size: 1rem;
}

.divPointsTableHeaderCellGame {
    color: black;
    background-color: lightgray;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    font-size: 1rem;
}

.controlPanel {
    padding: 5px;
    margin: 5px;
    height: 5vh;
    font-size: 1rem;
    font-weight: bold;
    display: flex;
    flex-direction: column;
}

.pointsTable {
    flex-grow: 1;
}

.pointsTableRow {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.pointsTableRowGameCell {
    background-color: black;
    color: white;
    font-weight: bold;
    width: 120px;
    text-align: left;
    font-size: 1rem;
    padding-left: 2px;
}

.pointsTableRowPlayerCell {
    background-color: lightgrey;
    width: 60px;
    font-size: 1rem;
}

.tablePointsCellHighlight {
    background-color: honeydew !important;
    font-weight: bold;
}

.possibleGame {
    background-color: yellow;
    color: red;
    cursor: pointer;
}

.point {
    width: 10px;
    height: 10px;
    background-color: black;
    border-radius: 50%;
}

.point .one {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
}

.two {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.face-2 .point:nth-child(1) {
    align-self: flex-start;
    margin: 5px;
}

.face-2 .point:nth-child(2) {
    align-self: flex-end;
    margin: 5px;
}

.three {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.face-3 .point:nth-child(1) {
    margin-top: 5px;
    align-self: flex-start;
}

.face-3 .point:nth-child(2) {
    align-self: center;
}

.face-3 .point:nth-child(3) {
    align-self: flex-end;
    margin-bottom: 5px;
}

.face.face-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2px;
}

.point.four {
    margin: 7px;
}

.face.face-5 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2px;
}

.point.five {
    margin: 7px;
}

.face-5 .point:nth-child(4) {
    position: absolute;
    left: 25%;
    top: 27%;
}

.face.face-6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 3px;
}

.face-6 .point:nth-child(1) {
    margin-left: 3px;
}

.face-6 .point:nth-child(2) {
    margin-left: 2px;
}

.face-6 .point:nth-child(4) {
    margin-left: 3px;
}

.face-6 .point:nth-child(5) {
    margin-left: 2px;
}

.pointsMarked {
    font-weight: bold;
    background-color: lemonchiffon;
}

.pointsRowLabel {
    background-color: red;
    color: white;
    font-weight: bold;
    width: 120px;
    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: 60px;
    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
    }
}