@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,500;0,700;1,400&display=swap');

* {
    padding: 0;
    margin: 0;
    outline: 0;
    box-sizing: border-box;
}

div.ad0 {
    float: left; width: 100px; height: 400px;
}

body {
    font: 400 14px Roboto, sans-serif;
    background: #f0f0f5;
    -webkit-font-smoothing: antialiased;
}

div.ad1 {
    float: right; width: 100px; height: 400px;
}

input, button, textarea {
    font: 400 18px Roboto, sans-serif;
}

button {
    padding: 7px;
    border: double;
    border-radius: 14px;
    cursor: pointer;
}

/* class selectors */
.message {
    text-align: center;
}

.boards {
    display: inline;
    text-align: center;
}

.ad0 {
    position: fixed; /* Or fixed */
    top: 0;         /* Adjust as needed for top margin */
    left: 0;        /* Adjust as needed for left margin */
    width: 200px; /* Adjust as needed */
    height: 100px; /* Adjust as needed */
    background-color: lightblue; /* For visibility */
    z-index: 1000;  /* Ensure it's above other content */

    text-align: left;
    float: left;
    width: 100px;
    height: 400px;
}

.boardp1 {
    border: 10px solid red;
    border-radius: 6px;
    text-align: left;
    float: left;
}

.board {
    width: min-content;
    margin: 32px auto 0;
    border: 10px solid red;
    border-radius: 6px;
    background: #ffe5b4; /* peach */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.ad1 {
    text-align: right;
    float: right;
    width: 100px;
    height: 400px;
}

.boardp2 {
    border: 10px solid red;
    border-radius: 6px;
    text-align: left;
    float: right;
}

.column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Indent the odd column elements. Element indices are 1-based. */
.column:nth-child( odd ) {
    position: relative;
    top: 31px;
}

.squareBg {
    filter: drop-shadow(1px 1px grey)
            drop-shadow(1px -1px grey)
            drop-shadow(-1px 1px grey)
            drop-shadow(-1px -1px grey);
}

.square {
    width: 50px;
    height: 50px;
    background: red;
    position: relative;
    
    display: flex;
    justify-content: center;
    align-items: center;

    /* Flat Hexagon */
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);

    margin-top: 7px;
    margin-bottom: 7px;
    /* margin-left: 5px;
    margin-right: 5px; */

}

.piece {
    width: 50px;
    height: 50px;
}

.black {
    background: #646970; /* Gray 50 */
}

.grey {
    background: #8c8f94; /* Gray 30 */
}

.white {
    background: #c3c4c7; /* Gray 10 */
}

