body {
    width: 8.5in;
    margin: 0 auto;
    font-family: "Courier New", monospace;
    max-height: 100%;
    display: block;
}

#game {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

#game canvas {
}

#game_start {
    animation: forwards;
    animation-name: start_button_fade;
    animation-duration: 7s;
    cursor: pointer;
    font-size: 10pt;
    background-color: #33AA33;
    color: white;
    border-radius: 50%;
    border-bottom: 3px solid #555;
    border-right: 3px solid #555;
    position: fixed;
    bottom: 60px;
    right: 60px;
    padding: 20px 10px;
}

#game_stop {
    cursor: pointer;
    font-size: 10pt;
    background-color: #AA3333;
    color: white;
    border-radius: 50%;
    border-bottom: 3px solid #555;
    border-right: 3px solid #555;
    position: fixed;
    bottom: 60px;
    right: 60px;
    padding: 20px 10px;
    display: none;
}

#game_start:hover {
    background-color: #882222;
    border-bottom: 3px solid #AAA;
    border-right: 3px solid #AAA;
}

#game_stop:hover {
    background-color: #882222;
    border-bottom: 3px solid #AAA;
    border-right: 3px solid #AAA;
}

#sound_toggle {
    cursor: pointer;
    font-size: 10pt;
    background-color: #AA3333;
    color: white;
    border-radius: 50%;
    border-bottom: 3px solid #555;
    border-right: 3px solid #555;
    position: fixed;
    bottom: 60px;
    left: 60px;
    padding: 20px 10px;
    display: none;
}

#sound_toggle:hover {
    background-color: #882222;
    border-bottom: 3px solid #AAA;
    border-right: 3px solid #AAA;
}

#game_ui {
    display: none;
    position: fixed;
    bottom: 20px;
    width: inherit;
}

#game_ui .buttons {
     display: flex;
}

#game_intro {
    position: fixed;
    bottom: 80px;
    background-color: #635;
    width: inherit;
    border: 4px solid #867;
    color: #A89;
    font-weight: bold;
    font-size: 20pt;
}

#game_intro div {
    margin: 20px;
}

#store {
    display: none;
}

#game_over {
    display: none;
    background-color: #635;
    border: 4px solid #867;
    color: #A89;
    position: fixed;
    top: 30%;
    width: inherit;
}

#game_over .about {
    margin-top: 50px;
    width: 70%;
    margin: 20px auto 0 auto;
}

#game_over .game_over {
    font-size:52pt;
    font-weight: bold;
    text-align:center;
    text-decoration: underline #A89;
}

#game_over .score_label {
    font-size: 32pt;
    text-align: center;
}

.player_score {
    font-size: 38pt;
    font-weight: bold;
}

.thanks {
    font-size: 32pt;
    text-align: center;
    /* position: absolute; */
    /* bottom: 30px; */
}

.game_button {
    background-color: #635;
    padding: 15px;
    border: 4px solid #867;
    color: #A89;
    flex-grow: 1;
    text-align: center;
    margin: 5%;
    box-sizing: content-box;
    display: inline-block;
    font-weight: bold;
    font-size: 16pt;
}

.store_item {
    background-color: #635;
    padding: 8px;
    border: 4px solid #867;
    color: #A89;
    text-align: center;
    margin: 10px;
    box-sizing: content-box;
    font-weight: bold;
    font-size: 14pt;
}

.store_item:hover {
    background-color: #A89;
    border: 4px solid #635;
    color: #635;
    cursor: pointer;
}

.store_item.disabled {
    opacity: 0.6;
    cursor: auto;
}

.store_item.disabled:hover {
}

.game_button:hover {
    background-color: #A89;
    border: 4px solid #635;
    color: #635;
    cursor: pointer;
}

#pause_menu {
    display: none;
    position: fixed;
    top: 25%;
    left: 0;
    margin: 0 20%;
    width: 60%;
}

#volume_buttons {
    display:flex;
    justify-content: center;
}

#volume_percent {
    width: 60px;
    padding: 3px;
}

#volume_up, #volume_down {
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    padding: 3px;
}

#volume_up:hover, #volume_down:hover {
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    color: #635;
    background-color: #A89;
}

#paused_label {
    color: #A89;
    font-weight: bold;
    text-align: center;
    font-size: 24pt;
}

#slider_bg {
    width: 30%;
    height: 20px;
    background-color: #512;
}

#slider_fg {
    width: 30%;
    height: 20px;
    position: relative;
    background-color: #A89;
    top: -20px
}

#slider_handle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: relative;
    top: -40px;
    background-color: #A89;
    border: 3px solid #512;
}

.menu_item {
    background-color: #635;
    padding: 8px;
    border: 4px solid #867;
    color: #A89;
    text-align: center;
    margin: 10px;
    box-sizing: content-box;
    font-weight: bold;
    font-size: 14pt;
}

#credits {
    display: none;
}

.credits_section {
    text-align: center;
    margin:15px;
}

#high_score {
    font-size: 20pt;
    font-weight: bold;
    color: #A89;
    text-align: right;
}

#run_stats {
    margin: 0 25%;
    font-weight: bold;
    font-size: 1.5rem;
}

#tweet_link {
    text-align: center;
    font-weight: bold;
    font-size: 1.25rem;
}

a:link,a:visited {
    color: #468;
}

#loading {
    z-index: 100;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    background-color: #412;
    font-weight: bold;
    font-size:2rem;
    color: #A89;
}

#loading span {
    dispay: inline-block;
    position: relative;
    top: 45%;
}

@keyframes start_button_fade {
    0% {opacity: 0;}
    90% {opacity: 0;}
    100% {opacity: 1;}
}
