.main {
    text-align: center;
}

.board {
    border: 10px solid red;
    display: inline-block;
    margin: 20px;
}

.row {
    position: relative;
}

.square {
    border: 1px solid black;
    position: relative;
    width: 100px;
    height: 100px;
    display: inline-block;
}

.square .number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
}

.square .instr {
    position: absolute;
    bottom: 0px;
    font-size: 12px;
    color: white;
    z-index: 10;
    width: 100%;
    padding: 2px 0px;
}

.checker {
    background: #E2E22A;
}

.arrow {
    font-size: 40px;
    position: absolute;
    top: 70px;
    z-index: 5;
}

.arrow.left-up {
    left: 33px;
}

.arrow.right-up {
    right: 33px;
}

.btn {
    display: inline-block;
    padding: 10px;
    border: 2px solid coral;
    color: coral;
    font-size: 15px;
    user-select: none;
}

.mobile .btn {
    font-size: 30px;
    padding: 20px;
}

.btn-std {
    margin: 7px;
    border-radius: 10px;
    cursor: pointer;
}

.btn-left {
    margin: 7px 0px 7px 7px;
    border-radius: 10px 0px 0px 10px;
    cursor: pointer;
}

.btn-right {
    margin: 7px 7px 7px 0px;
    border-radius: 0px 10px 10px 0px;
    cursor: pointer;
}

.btn-label {
    margin: 7px 0px;
    border-radius: 0px;
}

.controls {
    position: fixed;
    width: 165px;
    border: 2px solid black;
    background: white;
    box-shadow: 0px 0px 10px 5px #6F6F6F;
    padding: 10px;
}

.mobile .controls {
    width: 300px;
}

.desktop .board-controls {
    top: 20px;
    right: 20px;
}

.mobile .board-controls {
    bottom: 20px;
    right: 20px;
}

.desktop .game-controls {
    top: 20px;
    left: 20px;
}

.mobile .game-controls {
    bottom: 20px;
    left: 20px;
}

.die {
    width: 100px;
    height: 100px;
    border: 2px solid black;
    border-radius: 25px;
    position: relative;
    margin: 15px auto;
    cursor: pointer;
    text-align: center;
    font-size: 30px;
}

.dot {
    position: absolute;
    background: black;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    max-width: 20px;
    max-height: 20px;
}

.output {
    color: white;
    padding: 15px;
    margin: 15px;
}

.output2 {
    padding: 15px;
    margin: 15px;
    border: 2px solid #CCC;
    color: #CCC;
}













