
html,
body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: rgb(34, 34, 34);
    background-image: url("./Assets/Style/background.png");
    background-repeat: repeat;
    background-size: 400px;
}

#placer {
    display: grid;
    place-items: center;
    width: 100vw;
    height: 100vh;
    background-image: url("./Assets/Style/trackpattern.png");
    background-repeat: repeat;
    background-size: 200px;
    animation: animateBackground 20s linear infinite;
}

canvas {
    width: 800px;
    height: 800px;
}

#frame {
    position: relative;
    width: 800px;
    height: 800px;

}

#frame img {
    position: absolute;
    top: -50px;
    left: -50px;
    pointer-events: none;
}



/* Instructions */
#instructions {
    position: absolute;
    width: 1400px;
    height: 900px;
    pointer-events: none;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 1px;
    display: grid;
}

#enter {
    display: flex;
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 40px;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
}

#enter div {
    display: grid;
    width: 320px;
    height: 25px;
    background-image: url("./Assets/Style/textframe.png");
    color: white;
    border-radius: 5px;
    align-items: center;
}

#fuel-counter-div {
    pointer-events: none;
    font-family: Arial, Helvetica, sans-serif;
    display: grid;
    position: absolute;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    left: -60px;
    top: -40px;
    background-image: url("./Assets/Style/fuel.png");
    background-size: 90px;
    background-repeat: no-repeat;
}

#fuel-counter-span {
    font-size: 58px;
    color: white;
}

/* Animation for Background */
@keyframes animateBackground {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 200px 200px;
    }
}