/* style.css */

html {
    max-width: 940px;
    margin: auto;
    box-sizing: border-box;
    font-size: 24px;
    font-weight: bold;
    font-family: 'Barlow', 'Roboto', sans-serif; 
    line-height: 1.4;
    color: cadetblue;
}

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

h1 {
    font-size: 2rem;
    margin: 0 0.5rem;
}    

button {
    text-align: center;
    padding: 5px 20px;
    color: cadetblue;
    font-weight: bold;
    background-color: mistyrose;
    border: 2px solid cadetblue;
    border-radius: 5px;
    font-size: 20px;
    margin: 0.5rem;
}

button:hover {
    background-color: cadetblue;
    color: mistyrose;
    border: 2px solid mistyrose;
}

.row {
    flex: 1;
    display: flex;
    flex-direction: row;
}

.cell {
    flex: 1;
    background-color: white;
    border: 1px solid mistyrose;
}

.text {
    font-size: x-large;
    font-weight: bold;
    color: cadetblue;
    text-align: center;
    padding: 20px;
}

.nongrid {
    text-align: center;
    padding: 20px;
}

#grid {
    display: flex;
    flex-direction: column;    
    min-height: 960px;
    min-width: 960px;
}