@media (max-width: 1366px) {
    .controls {
        display: none;
    }

    .move_buttons_direction {
        gap: 60px;
    }

    .move_buttons_direction button {
        font-size: 10px;
        font-weight: 600;
        height: 40px;
        width: 80px;
        opacity: 100%;
    }

    .buttons_jump_throw button {
        width: 72px;
        height: 35px;
        padding: 0;
        font-size: 16px;
        opacity: 100%;
    }
}

@media (max-width: 830px) {
    #btnFullscreen {
        height: 24px;
        width: 24px;
        opacity: 100%;
    }
}

@media only screen and (max-width: 770px) {
    .mobile_instruktion {
        display: block;
        padding-top: 100px;
        text-align: center;
        font-size: 32px;
        font-weight: 700;
    }
    
    canvas {
        width: 100vw;
        height: auto;
    }

    #fullScreen {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .page_wrapper {
        position: relative;
    }

    .HUD {
        width: 100%;
        height: 100%;
    }
    .buttons {
        width: 100%;
        height: 100%;
    }
    
    h1 {
        display: none;
    }

    .controls {
        display: none;
    }

    #startButton {
        font-size: 16px;
        width: 50px;
        padding: 0;
        opacity: 70%;
    }

    #restartButton {
        font-size: 16px;
        width: 70px;
        padding: 0;
        opacity: 70%;
    }

    #infoButton {
        font-size: 16px;
        width: 50px;
        padding: 0;
        opacity: 70%;
    }

    #impressumBtn {
        display: block;
        opacity: 70%;
        font-size: 16px;
        padding: 0;
        width: 95px;
}

    .info-content {
        font-size: 16px;
        padding: 8px;
    }

    .info-content h2 {
        font-size: 18px;
        margin-top: 8px;
        margin-bottom: 8px;
    }

    .info-content p {
        margin-top: 2px;
        margin-bottom: 2px;
    }

    .game_controls {
        padding-bottom: 8px;
    }

    .game_controls img {
        width: 20px;
        height: 20px;
    }

    .soundbar img {
        height: 20px;
        width: 20px;
    }

    #pauseButton {
        width: 20px;
        height: 20px 
    }

    .move_buttons_direction {
        gap: 60px;
    }

    .move_buttons_direction button {
        font-size: 10px;
        font-weight: 600;
        height: 40px;
        width: 80px;
        opacity: 100%;
    }

    .buttons_jump_throw button {
        width: 72px;
        height: 35px;
        padding: 0;
        font-size: 16px;
        opacity: 100%;
    }

    #pauseButton {
        height: 24px !important;
        width: 24px !important;
    }
}

@media only screen and (max-height: 480px) {
    canvas {
        height: 100vh;
        width: 100%;
        
    }

    #fullscreen {
        height: 100vh;
        width: auto;
    }

    .HUD {
        height: 100vh;
        width: 100%;
    }
    
    h1 {
        display: none;
    }

    .controls {
        display: none;
    }
}

@media only screen and (max-height: 500px) {
    .footer {
        display: block;
    }
}

@media(max-width: 430px) {  
    .game_controls {
        gap: 4px;
        padding-bottom: 0px !important;
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
    
    .move_buttons_direction {
        gap: 8px;
    }

    .move_buttons_direction button {
        font-size: 10px;
        font-weight: 600;
        height: 24px;
        width: 32px;
        opacity: 100%;
    }

    .buttons_jump_throw {
        gap: 8px;
    }

    .buttons_jump_throw button {
        width: 40px;
        height: 24px;
        padding: 0;
        font-size: 10px;
        opacity: 100%;
    }

    .game_controls {
        padding-bottom: 2px;
    }


}