body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #0e0e0e;
    color: aliceblue;
    font-family: basic-font;
    font-size: 12px;
    align-items: center;
    height: 98vh;
    margin: 0;
}

main {
    display: flex;
}


#score-table {
    text-align: right;
}

#game-border {
    background-color: black;
    border: solid #D50000 10px;
    border-radius: 20px;
    width: 98vw;
    max-width: 566px;
    height: min-content;
    max-height:  626px;
    margin: 20px 0;
    position: relative;
}

#game-space {
    border-radius: 20px;
    width: 98vw;
    max-width: 566px;
    height: min-content;
    max-height:  626px;
}

#start-screen, #how-to-play {
    position: absolute;
    background-color: black;
    color: aliceblue;
    border-radius: 20px;
    width: 100%;
    height: 100%;
    bottom: 0;
    z-index: 2;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#start-screen {
    display: flex;
}

#how-to-play {
    display: none;
}

#start-button {
    font-family: basic-font;
    font-size: 18px;
    border: none;
    background-color: black;
    color:aliceblue;
    cursor: pointer;
}

#start-button:hover {
    color:#D50000;
}

#game-over-text, #final-score-text {
    display: none;
}

#game-keys {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    margin: 0;
}

#up-key {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 0;
    margin: 0;
}

#other-keys {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.game-key {
    height: 50px;
    width: 50px;
    padding: 0;
    margin: 8px;
}

.htp-img {
    height: 10px;
}

#play-desktop, #play-mobile {
    margin: auto;
    display: flex;
    justify-content: center;
}

@media all and (max-width: 480px) {
    .game-text {
        display: none;
    }

    #start-screen, #how-to-play {
        font-size: 8px;
    }

    #logo-tall-screen, #play-mobile {
        display:flex;
        width:98vw;
        padding: 0;
        margin: 0;
    }

    #logo-short-screen, #play-desktop {
        display: none;
    }
}

@media all and (min-width: 480px) {
    .game-text {
        display: block;
        width: 300px;
        margin: 20px;
    }

    #game-keys {
        display: none;
    }

    #logo-short-screen, #play-desktop {
        display: flex;
        width:100%;
        padding: 0;
        margin: 0;
    }

    #logo-tall-screen, #play-mobile {
        display: none;
    }
}

@font-face {
    font-family: "basic-font";
    src: url("../media/fonts/emulogic-font/Emulogic-zrEw.ttf") format("truetype");
}