html {
    margin: 0;
    padding: 0;
    background-color: rgba(0, 0, 0, 0.212);
    height: 100%;
    width: 100%;
}

body {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.6%;
}

.controls {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    width: 800px;
    padding: 10px;
    border: solid 5px #313131;
    border-radius: 12px;
    box-shadow: 0px 0px 6px 1px #313131;
}

/* to remove ugly lines on color picker */
#colorSelector::-webkit-color-swatch-wrapper {
    padding: 0;
    border-radius: 50%;
}
#colorSelector::-webkit-color-swatch {
    border: none;
    border-radius: 50%;
}
#colorSelector {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
}

input,
label {
    /* padding: 4px 13px; */
    border-radius: 4px;
    margin: 4px 15px;
}

input,
label,
span {
    font-size: x-large;
}

.button {
    padding: 6px 13px;
    border-width: 2px;
    border-radius: 6px;
    box-shadow: 0px 0px 6px 1px #313131;
}

.button:hover {
    border-radius: 6px;
    background-color: #d3d3d3;
    box-shadow: 0px 0px 12px 1px #313131;
}

.button:active {
    border-radius: 9px;
    background-color: #bebebe;
}

#board {
    display: flex;
    flex-direction: column;
    /* gap: 0.6%; */
    width: 800px;
    height: 800px;
}

.row {
    display: flex;
    flex-direction: row;
    /* gap: 0.6%; */
    flex: 1;
}

.cell {
    background-color: gray;
    /* border: solid 1px purple; */
    flex: 1;
}

.cell:hover {
    background-color: darkgray;
    border-radius: 5px;
}

/* .cell:active { */
/* border-radius: 8px; */
/* background-color: black; */
/* } */

.cell_marked {
    background-color: black;
}
