table, th, td {
    border: 5px solid black;
    font-weight: bold;
}

h1, h2 {
    font-weight: bold;
}

hr {
    border-top: 3px solid black;
}

.container-fluid {
    margin-bottom: 10%;
}

#timer, #timer button {
    font-size: 1.75rem;
}

#instructions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

#instructions p {
    margin: 0;
}

.board {
    width: 100%;
}

.board h1 {
    text-align: center;
}

.mat-area {
    height: 21em;
}

.ling-mat-area td {
    height: 4em;
}

.board .goal {
    height: 5em;
    vertical-align: bottom;
}

.board .goal h1 {
    text-align: right;
}

.resources {
    display: inline-block;
}

#movable-cube {
    position: absolute;
}

#cubes {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.cube {
    border: 1px solid black;
    border-radius: 0.5em;
    height: 3em;
    width: 3em;
    vertical-align: middle;
    text-align: center;
    align-items: center;
    justify-content: center;
    cursor: move;
    margin: 14px;
}

.cube p {
    font-size: 2em;
    font-weight: bold;
    color: white;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

.variation {
    border: 1px solid black;
    border-radius: 0.25em;
    display: inline-block;
    margin: 5px;
    padding: 5px;
}

.variation p {
    margin: 0;
    display: inline-block;
}

.variation form {
    display: inline-block;
}

.variation input {
    width: 2em;
}

#variations p {
    margin: 0;
}

.active p {
    background-color: lightgreen;
}

#cubes .os p {
    color: black;
    font-weight: normal;
    font-size: 1.8em;
}

.os-card {
    border: 1px solid black;
    border-radius: 0.5em;
    width: 3%;
    min-width: 60px;
    display: inline-block;
    margin: 5px;

}

.os-card p {
    margin: 0;
    text-align: center;
}

#ling_demand_list input {
    width: 100%;
    font-size: 1.3em;
}

.form-control {
    padding: 0;
}

.form-group {
    margin: 0;
}
