@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

body {
    margin: 0;
    min-height: 100vh;
     background:
        radial-gradient(
            circle at 50% 100%,
            #271a74 0%,
            #2e2647 35%,
            #090b1f 75%,
            #050611 100%
        );
    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;
}

#game-container {
    position: relative;

    width: 500px;
    height: 500px;

    z-index: 1;
}

#CanvasJeu {
    position: absolute;

    top: 0;
    left: 0;

    width: 500px;
    height: 500px;
}

#game-container {
    position: relative;
    width: 500px;
    height: 500px;
    overflow: hidden;
    margin: 0 auto;

}

#backgroundGif {
    position: absolute;
    width: 500px;
    height: 500px;
    object-fit: cover;
    object-position: center;
    top: 0;
    left: 0;
}

#CanvasJeu {
    position: absolute;
    width: 500px;
    height: 500px;
    top: 0;
    left: 0;
}

#restartButton {
    display: none;
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);

    font-family: "Press Start 2P";
    font-size: 14px;
    padding: 10px 15px;
    cursor: pointer;
}