html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

h1 {
    margin: 0;
}

#gridControls {
    margin-top: 18px;
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
}

button {
    padding: 8px 12px;
    height: 44px;
    width: 150px;
    border-radius: 4px;
    cursor: pointer;
}

#newGridButton {
    background-color: gold;
}

.editingOff {
    background-color: maroon;
    color: white;
}

.editingOn {
    background-color: green;
    color: white;
}

#gridContainer {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: 650px;
    width: 650px;
    border: 5px groove gold;
}

.gridRow {
    flex: 1 1 0;
    display: flex;
}

.gridSquare {
    flex: 1 1 0;
}