/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BACKGROUND GRADIENT ANIMATIONS ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.bg1 {
    animation-name: bg1;
    animation-duration: 10s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-play-state: running;

    -webkit-animation-name: bg1-webkit;
    -webkit-animation-duration: 10s;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-play-state: running;

    -moz-animation-name: bg1-moz;
    -moz-animation-duration: 10s;
    -moz-animation-timing-function: ease-in-out;
    -moz-animation-iteration-count: infinite;
    -moz-animation-play-state: running;
}
@keyframes bg1 {
    0% {background-color: #00d2ff}
    50% {background-color: #3a7bd5}
    100% {background-color: #00d2ff}
}
@-webkit-keyframes bg1-webkit {
    0% {background-color: #00d2ff}
    50% {background-color: #3a7bd5}
    100% {background-color: #00d2ff}
}
@-moz-keyframes bg1-moz {
    0% {background-color: #00d2ff}
    50% {background-color: #3a7bd5}
    100% {background-color: #00d2ff}
}
.bg1 h1 {
    color: #ffffff;
}



.bg2 {
    animation-name: bg2;
    animation-duration: 10s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-play-state: running;

    -webkit-animation-name: bg2-webkit;
    -webkit-animation-duration: 10s;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-play-state: running;

    -moz-animation-name: bg2-moz;
    -moz-animation-duration: 10s;
    -moz-animation-timing-function: ease-in-out;
    -moz-animation-iteration-count: infinite;
    -moz-animation-play-state: running;
}
@keyframes bg2 {
    0% {background-color: #780206}
    50% {background-color: #061161}
    100% {background-color: #780206}
}
@-webkit-keyframes bg2-webkit {
    0% {background-color: #780206}
    50% {background-color: #061161}
    100% {background-color: #780206}
}
@-moz-keyframes bg2-moz {
    0% {background-color: #780206}
    50% {background-color: #061161}
    100% {background-color: #780206}
}
.bg2 h1 {
    color: #ffffff;
}



.bg3 {
    animation-name: bg3;
    animation-duration: 10s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-play-state: running;

    -webkit-animation-name: bg3-webkit;
    -webkit-animation-duration: 10s;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-play-state: running;

    -moz-animation-name: bg3-moz;
    -moz-animation-duration: 10s;
    -moz-animation-timing-function: ease-in-out;
    -moz-animation-iteration-count: infinite;
    -moz-animation-play-state: running;
}
@keyframes bg3 {
    0% {background-color: #52c234}
    50% {background-color: #061700}
    100% {background-color: #52c234}
}
@-webkit-keyframes bg3-webkit {
    0% {background-color: #52c234}
    50% {background-color: #061700}
    100% {background-color: #52c234}
}
@-moz-keyframes bg3-moz {
    0% {background-color: #52c234}
    50% {background-color: #061700}
    100% {background-color: #52c234}
}
.bg3 h1 {
    color: #ffffff;
}



.bg4 {
    animation-name: bg4;
    animation-duration: 10s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-play-state: running;

    -webkit-animation-name: bg4-webkit;
    -webkit-animation-duration: 10s;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-play-state: running;

    -moz-animation-name: bg4-moz;
    -moz-animation-duration: 10s;
    -moz-animation-timing-function: ease-in-out;
    -moz-animation-iteration-count: infinite;
    -moz-animation-play-state: running;
}
@keyframes bg4 {
    0% {background-color: #c21500}
    50% {background-color: #ffc500}
    100% {background-color: #c21500}
}
@-webkit-keyframes bg4-webkit {
    0% {background-color: #c21500}
    50% {background-color: #ffc500}
    100% {background-color: #c21500}
}
@-moz-keyframes bg4-moz {
    0% {background-color: #c21500}
    50% {background-color: #ffc500}
    100% {background-color: #c21500}
}
.bg4 h1 {
    color: #ffffff;
}


/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ END OF BACKGROUND GRADIENT ANIMATIONS ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */



html {
    width: 100%;
}
body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    font-family: 'Roboto', 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
}
.wrapper {
    height: 100%;
    padding: 0 15px;
    max-width: 800px;
    margin: auto;
}
.wrapper h1 {
    text-align: center;
}
.button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.button-wrapper button {
    width: 100px;
    height: 100px;
    margin: 5px;
    font-size: 45px;
    display: inline-block;
    float: left;
    cursor: pointer;
    background: #eee;
    border: 0;
}
.button-wrapper button[disabled="disabled"] {
    opacity: 0.65;
    cursor: not-allowed;
}
.button-wrapper button:nth-child(3n + 1) {
    clear: both;
}
.menu {
    padding: 0 0 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    flex-direction: column;
}
.results {
    display: block;
    color: white;
    width: 300px;
    height: 20px;
    padding: 5px 10px 10px;
    font-weight: bold;
}
.menu-wrapper {
    width: 300px;
    background: rgba(255,255,255,0.6);
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.menu label {
    display: flex;
    justify-content: center;
    height: 50px;
    align-items: center;
}
.menu .new-game {
    margin: 0 15px;
    background: transparent;
    border: 0;
    font-size: 16px;
    height: 50px;
}

@media (max-width: 500px) {
    .menu .new-game {
        margin: 0 5px;
    }
    .button-wrapper button {
        width: 75px;
        height: 75px;
        margin: 5px;
        font-size: 30px;
    }
}
