/* For personal use only.  Not licensed. */

/* Style parameters for the Nim web page. */

:root {
    --light-bg: #FFF4E3;
    --dark-bg: #FFEDCF;
    --sel-bg: #98FB98;
}

* {
    touch-action: manipulation;
}

body {
    background-color: #FFFFF8;
    font-size: 20px;
    height: 100vh;  /* Ensure the body fills the viewport */
    padding: 0;
    margin: 0;
}

h1 {
    font-size: 32px;
}

button {
    font-size: 18px;
}

/* div for entire web page */
.page {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0 0 0 0;
    margin: 0 20px 0 20px;  /* top right bottom left */
}

.heading {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
}

/* div containing the stones and buttons */
.content {
    /* flex-grow: 1; */
    display: grid;
    grid-template-columns: repeat(3, 120px);
    grid-template-rows: repeat(10, 50px);
    justify-content: center;
    column-gap: 30px;
}

.content > div:nth-child(even) {
    background-color: var(--light-bg);
}

.content > div:nth-child(odd) {
    background-color: var(--dark-bg);
}

.content > div.removable {
    background-color: var(--sel-bg);
}

.buttonholder {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 40px;
    margin-top: 20px;
}

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0 20px 0;
}

dialog::backdrop {
    backdrop-filter: blur(3px);
}

.dialog-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    font-weight: bold;
}

.aligned-radio {
    display: flex;
    align-items: center;
    column-gap: 15px;
    margin-top: 20px;
}

.dlg-buttonholder {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 40px;
    margin-top: 20px;
}


