body, html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-size: 10px;
    font-family: sans-serif;
}
body {
    display: flex;
    align-items: center;
    overflow: hidden;
    flex-direction: column;
    padding: 3rem 1rem 1rem 1rem;
    box-sizing: border-box;
}
#gameboard {
    width: 100vw;
    height: 100vw;
    max-width: 700px;
    max-height: 700px;
    text-align: center;
    box-shadow: 1px 1px 3px 3px #ccc;
}

.row {
  display: flex;
}
.col {
    vertical-align: middle;
    line-height: 100%;
    font-family: sans-serif;
    font-size: 24px;
    font-weight: bold;
}

#controls {
    width: 100%;
    max-width: 700px;
    margin-bottom: 1rem;
}

.control {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.control * +  * {
    margin-left: 1rem;
}

.control label {
    font-size: 1.8rem;
    width: 11rem;
    text-transform: uppercase;
    color: #555;
}

select {
    width: 22rem;
    font-size: 1.4rem;
    background-color: #fff;
    border: solid 1px #999;
    padding: 7px 15px;
    cursor: pointer;
    text-transform: uppercase;
}

select:hover {
    cursor: pointer;
    box-shadow: 1px 1px 5px #666;
}

select[disabled] {
    color: grey;
    border-color: grey;
    cursor: not-allowed;
}


.button {
    position: relative;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    border: solid 1px #999;
    padding: 7px 15px;
    cursor: pointer;
    text-transform: uppercase;
    width: 8rem;
}

.button[disabled] {
    color: grey;
    border-color: grey;
    cursor: not-allowed;
}

.button:hover {
    box-shadow: 1px 1px 5px #666;
}

.button .progress {
    content: ' ';
    position: absolute;
    background-color: #59ec59;
    opacity: 0.5;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

.buttonRow {
    display: flex;
    margin-bottom: 1rem;
}

.button + .button {
    margin-left: 1rem;
}

.games {
    font-size: 1.2rem;
    margin: 0 1rem;
}
