/**********************************************************************
    Web GUI demo to play with ShallowChessAI online

    Author: Andrea Pavan
    License: MIT
**********************************************************************/


body {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    user-select: none;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

#header {
    top: 0;
    width: 100%;
    padding: 1.5vmin;
    font-size: 2.5vmin;
    color: white;
    background-color: #303438;
    text-align: center;
    border-bottom: 0.5vmin solid black;
}

#header input[type="submit"] {
    background-color: #b3960a;
    color: white;
    padding: 1vmin 2vmin;
    border: none;
    font-size: 2vmin;
    border-radius: 0.5vmin;
    cursor: pointer;
}

#header input[type="submit"]:hover {
    background-color: #7a6707;
}

#content {
    height: 88vmin;
    width: 82vmin;
    margin: auto;
    margin-top: 1vmin;
    font-size: 2vmin;
    text-align: center;
}

#content select {
    font-size: 2vmin;
    border-radius: 0.5vmin;
}

#gameboard {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    height: 80vmin;
    width: 80vmin;
    /*margin: auto;*/
    margin: 0;
    margin-top: 0.5vmin;
    border: 1vmin solid black;
}

.square {
    /*border: 1px solid rgb(190, 190, 190);*/
    display: flex;
    justify-content: center;
    align-items: center;
    height: 10vmin;
    width: 10vmin;
    font-size: 10vmin;
    /*margin: 2px;*/
}

.square-black {
    background-color: #a57c5a;
}

.square-white {
    background-color: #e2cfaf;
}
