* {
    overflow-y: hidden;
    font-family: 'Courier New', Courier, monospace
}

body {
    margin: 0;
    background-color: black;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
}

canvas {
    background-color: gray;
}

#overlay {
    background-color: rgba(0, 0, 0, .5);
    color: white;

    position: fixed;
    display: flex;
    justify-content: center;
    align-content: center;
    height: 100vh;
    width: 100vw;
    flex-wrap: wrap;
}

#gameover {
    background-color: rgba(0, 0, 0, .5);
    color: white;

    position: fixed;
    display: none;
    justify-content: center;
    align-content: center;
    height: 100vh;
    width: 100vw;
    flex-wrap: wrap;
}

#myCanvas {
    height: 99vh;
    width: 99vh;
}
@media only screen and (max-width: 600px) {
    #myCanvas {
        height: 99vw;
        width: 99vw;
    }
}

#score {
    color: greenyellow;
    position: absolute;
    top: 0;
    text-align: center;
    width: 100%;
    margin: 10px 0;
    font-size: 50px;
}

.w-full {
    width: 100%;
    text-align: center;
}

.control-tip {
    color: lightblue;
}

#mobileControls {
    width: 100vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#mobileControls :first-child {
    margin: 5px 25%;
}

.mobileButtons {
    height: 25vw;
    width: 25vw;
    background-color: rgba(255, 255, 255, .5);
    margin: 5px;
    font-size: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 5px;
}

.mobileButtons:active {
    background-color: rgba(255, 255, 255, .1);
}