.board-container {
    display: inline-block;
    position: relative;

    .caption-files {
        position: absolute;
        bottom: -20px;
        left: 0;
        width: 100%;
        height: 20px;
        z-index: 10;
        pointer-events: none;
    }

    .caption-ranks {
        position: absolute;
        top: 0;
        right: -20px;
        width: 20px;
        height: 100%;
        z-index: 10;
        pointer-events: none;
    }

    .file-label, .rank-label {
        position: absolute;
        font-size: 14px;
        font-weight: bold;
        color: #f6d29d;
        text-align: center;
        z-index: 10;
        text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    }

    .file-label {
        bottom: 0;
        width: 20px;
        height: 20px;
        line-height: 20px;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .rank-label {
        right: 0;
        width: 20px;
        height: 20px;
        line-height: 20px;
        transform: translateY(-50%);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .board {
        position: relative;
        height: 480px;
        width: 480px;
        border: 20px solid transparent;
        border-image: url('../Files/Woods/Wood-002.png') 20;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6);
        margin-bottom: 5px;
    }

    .square {
        float: left;
        width: 55px;
        height: 55px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10;
        position: relative;
    }

    .square.marked {
        box-shadow: inset 0 0 14px 6px rgba(121, 170, 8, 0.859);
    }

    .square.possible-move {
        box-shadow: inset 0 0 14px 5px rgba(182,249,21, 0.5);
    }

    .square.marked.possible-move {
        box-shadow: inset 0 0 14px 6px rgba(182,249,21, 0.65), inset 0 0 14px 5px rgba(0, 255, 65, 0.5);
    }

    .promote_layout {
        float: left;
        width: 110px;
        height: 110px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-size: cover;
        z-index: 20
    }

    .promote {
        position: relative;
        top: 0;
        left: 0;
        width: 55px;
        height: 55px;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        z-index: 999;
    }

    .figuraImage {
        width: 55px;
        height: 55px;
        cursor: grab;
        z-index: 100;
    }

    .field {
        width: 300px;
        height: 300px;
        border: 5px solid black;
        background-color: lightblue;
        display: flex;
        align-items: center;
        justify-content: center
    }
}
