body,
html {
    background-color: #232323;
    margin: 0;
    font-family: "Montserrat", "Avenir";
    padding-bottom: 20px;
    color: white;
}

h1 {
    margin: 0;
    font-weight: normal;
    line-height: 1.4;
    padding: 20px 0;
}

.square {
    width: 30%;
    padding-bottom: 30%;
    float: left;
    margin: 1.66%;
    border-radius: 15%;
    transition: transform 0.5s, background 0.3s;
    -moz-transition: transform 0.5s, background 0.3s;
    -webkit-transition: transform 0.5s, background 0.3s;
}

#controlbar {
    background: white;
    height: 30px;
    text-align: center;
}

#controlbar-content-wrapper {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: space-around;
    margin: 0 auto;
    width: 80%;
}

#message {
    color: white;
    font-weight: normal;
    margin: 20px auto 0;
    text-align: center;
    text-transform: uppercase;
}

#gameboard {
    margin: 20px auto;
    max-width: 600px;
}

#correctcolor {
    font-size: 200%;
    text-transform: uppercase;
}

#titlebar {
    background: steelblue;
    text-align: center;
    margin: 0;
    transition: background 0.2s;
    -moz-transition: background 0.2s;
    -webkit-transition: background 0.2s;
}

.selected {
    background: steelblue;
    color: white;
}

button {
    border: none;
    background: none;
    text-transform: uppercase;
    height: 100%;
    font-weight: 700;
    color: steelblue;
    letter-spacing: 1px;
    font-size: inherit;
    transition: all 0.2s;
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    margin-left: -2px;
    margin-right: -2px;
    padding-left: 8px;
    padding-right: 8px;
}

#mode-button-wrapper {
    height: 30px;
}

button:hover {
    color: white;
    background: steelblue;
}

@media only screen and (max-width: 415px) {
    #controlbar {
        height: 40px;
    }

    #controlbar-content-wrapper {
        width: 100%;
    }

    #gameboard {
        margin-top: 10px;
    }

    #correctcolor {
        font-size: 130%;
    }
}