/* Straight6 dev_Straight6.css v.1.0.1.0. */

@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;
}

/* element selectors */
h1 {
    text-align: center;
}

body {
    font: 400 14px Roboto, sans-serif;
    background: #f0f0f5;
    -webkit-font-smoothing: antialiased;
    <h1 style="text-align:center">Straight6</h1>
}

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

button {
    cursor: pointer;
}

#button {
    text-align: center;
}

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

.ad1 {
    width: min-content;
    margin: 32px auto 0;
    border: 10px solid red;
    border-radius: 6px;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.ad2 {
    width: min-content;
    margin: 32px auto 0;
    border: 10px solid red;
    border-radius: 6px;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.board {
    width: min-content;
    margin: 32px auto 0;
    border: 10px solid red;
    border-radius: 6px;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

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

/* Indent the odd columns. */
.column:nth-child(odd) {
    position: relative;
    top: 31px;
}

.square {
    width: 55px;
    height: 55px;
    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 */
}

